Exercise: Microprocessors

Questions for: Microprocessors

Contents of RAM cannot be altered.
A:
True
B:
False
C:
D:
Answer: B

It is read and write memory. Its contents can be changed.

Consider the following DO statement in Fortran 77

DO 23 X = 10.0, 2.0

The number of DO loop executions in the above statement is
A:
10
B:
2
C:
5
D:
zero
Answer: D

Do loop will not be executed since 0 is less than 10.

Consider the following logical IF statement in FORTRAN 77

IF (SALT. EQ. PEPPER) GO TO 11
GOTO 13

The above statement using arithmetic IF statement would be
A:
IF (SALT - PEPPER) 13, 11, 13
B:
IF (SALT - PEPPER) 11, 11, 13
C:
IF (SALT - PEPPER) 11, 13, 13
D:
IF (SALT - PEPPER) 13, 11, 11
Answer: A

The given statement is logical IF statement. The control goes to statement 11 if SALT = PEPPER otherwise control goes to statement 13 Same is true in arithmetic statement (a).

Which has volatile memory?
A:
Magnetic tape
B:
RAM
C:
Diskette
D:
Hard disk
Answer: B

RAM has volatile memory and therefore the matter has to be saved frequently.

If PRIN = 200.0 and BINT = 0.0525 the result of expression INCOME = PRIN * (1 + BINT) will be
A:
210
B:
210.5
C:
210.5000
D:
210.50
Answer: A

The result should not contain decimal.

Ad Slot (Above Pagination)
Quiz