If initial value of PROD is zero and a program adds X to PROD, Y times we get the result
A:
X + Y
B:
XY
C:
X / Y
D:
X - Y
Answer:B
Adding X to PROD, Y times evidently gives the product XY.
Discuss About this Question.
Assertion (A): Microprocessor 8085 can address 65536 memory locations.
Reason (R): Microprocessor 8085 has 16 address lines.
A:
Both A and R are correct and R is correct explanation of A
B:
Both A and R are correct but R is not correct explanation of A
C:
A is correct R is wrong
D:
A is wrong R is correct
Answer:A
216 = 65536.
Discuss About this Question.
Consider the following logical IF statement in FORTRAN 77
IF (SALT. GE. PEPPER) GOTO 11 GOTO 13
The above statement using arithmetic IF statement would be
A:
IF (SALT - PEPPER) 11, 11, 13
B:
IF (SALT - PEPPER) 13, 11, 13
C:
IF (SALT - PEPPER) 13, 11, 11
D:
IF (SALT - PEPPER) 11, 13, 13
Answer:C
The given statement is logical IF statement. If SALT greater than or equal to PEPPER control goes to statement 11 otherwise control goes to statement 13 Same is true of arithmetic IF statement (c). If (SALT - PEPPER) is negative, control goes to statement 13 and otherwise control goes to statement 11.
Discuss About this Question.
Which of the following is a valid real variable in FORTRAN 77?
A:
KPR
B:
LINE
C:
JOB
D:
RATE
Answer:D
A real variable should not start with I, J, K, L, M, N.
Discuss About this Question.
Assertion (A): Mnemonics are used in assembly level program.
Reason (R): Computer cannot understand mnemonics.
A:
Both A and R are correct and R is correct explanation of A
B:
Both A and R are correct but R is not correct explanation of A
C:
A is correct R is wrong
D:
A is wrong R is correct
Answer:B
Both are correct but independent. Computers work in binary only.
Discuss About this Question.
Ad Slot (Above Pagination)
Install ExamAdept
Fast access — add this app to your device.
To install on iPhone/iPad: tap Share → Add to Home Screen.
Discuss About this Question.