Exercise: Microprocessors

Questions for: Microprocessors

Which of the following is a valid expression in FORTRAN 77?
A:
B * - 3
B:
B * (- 3)
C:
B * * - 3
D:
B * + 2
Answer: B
No answer description is available. Let's discuss.

Assertion (A): In C arithmetic operations are pemiissible on ints, floats and chars.

Reason (R): In C every arithmetic operator must be written explicitly.

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
No answer description is available. Let's discuss.
8 bit data can have 256 numbers ranging from 00000000 to 111 111 11.
A:
True
B:
False
C:
D:
Answer: A
No answer description is available. Let's discuss.
Consider the real expression in Pascal language

((X * Z) + Y/(M * P + K) + X)/Y + Y)

What would be evaluated first
A:
XZ and MP + K
B:
XZ + Y and MP + K
C:
(MP + K + X) / Y
D:
Y / (MP + K)
Answer: A
No answer description is available. Let's discuss.
Java variables are called
A:
instance variables, class variables and global variables
B:
instance variables, class variables and local variables
C:
instance variables, class variables and sector variables
D:
global variables, class variables and local variables
Answer: B
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz