Exercise: Microprocessors

Questions for: Microprocessors

Which of the following DO statements is invalid in FORTRAN 77?
A:
DO 161 = 1, 15
B:
DO 16 1 = 1, 10, 1
C:
DO 16 I = - 5, 5, 2
D:
none of the above
Answer: D

All are valid.

Which of the following is a computer language?
A:
MS WORD
B:
Page maker
C:
MS EXCEL
D:
LISP
Answer: D

LISP is a computer language. The remaining are software packages.

If A = 20 and B = - 7 in PASCAL, A mod B =
A:
6
B:
2
C:
- 1
D:
3
Answer: A

It gives remainder in division operation.

Which of the following is invalid in Basic?
A:
A ** B + - C
B:
A ** B - C
C:
A * B - C
D:
A * B - C ** D
Answer: A

Two operators cannot exist together.

Which is not a valid Java variable
A:
lot
B:
c 1t
C:
s $ 2
D:
2 s $
Answer: D

The first letter of variable name should be lower case.

Ad Slot (Above Pagination)
Quiz