Exercise: Microprocessors

Questions for: Microprocessors

The correct form of expression B3 -2 A C in FORTRAN 77 is
A:
B * * 3 - 2 * A * C
B:
B * 3 - 2 * A AC
C:
B * * 3 - 2 ** A * C
D:
B *** 3 - 2 * A * C
Answer: A

It is the only expression with correct symbols for exponential and product.

The two orientations of worksheet page are called
A:
portrait and landscape
B:
auto text and auto correct
C:
font and footer
D:
header and footer
Answer: A

Portrait and worksheet are two orientations of worksheet page.

The instruction MVI A, 20 in 8085 means
A:
contents of memory location 20 are brought into the accumulator
B:
the value 20 is brought into accumulator
C:
either (a) or (b)
D:
neither (a) nor (b)
Answer: B
No answer description is available. Let's discuss.
Which of the following real expressions is incorrect in Pascal?
A:
Y - X
B:
(A + B) (C + D)
C:
X / Y - Z
D:
P * Z - 5.0
Answer: B

Operator is missing.

Consider the following DO statement in Fortran 77

DO 12 A = 1.0, 5.5, 0.5

The number of DO loop executions in the above statement is
A:
1
B:
11
C:
10
D:
4
Answer: C

Do loop executations are for A = 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0, 5.5 or a total of 10 times.

Ad Slot (Above Pagination)
Quiz