Exercise: Microprocessors

Questions for: Microprocessors

Which of the following is not a key word in C?
A:
pop
B:
for
C:
if
D:
union
Answer: A

pop is not a keyword in C.

Read the following statements about Excel
  1. It supports many arithmetic functions like SUM, ABS, EXP, INT, MOD etc.
  2. It supports many trigonometric functions.
  3. It supports IRR function to calculate interest rate.
  4. It supports PV function to calculate the present value of future receipts.
Which of the above are correct?
A:
All
B:
1, 2 and 3 only
C:
1, and 2 only
D:
1 only
Answer: A

MS Excel has all these features.

The expression A2 + B2 - 3 AB when written is Pascal should be written as
A:
A * A + B * B - 3 A * B
B:
A * A + B * B - 3.0 A * B
C:
A * A + B * B - 3.0 * A * B
D:
A * A + B * A - 3 * A * B
Answer: C

Operators must be written.

Read the following statements about Java
  1. It is well suited to design software which works in conjunction with internet.
  2. It is cross platform language.
  3. Java is close to programming language C, C ++ etc.
  4. It is an object oriented.
Which of the above are correct?
A:
All
B:
1, 2 and 3 only
C:
1, 2 and 4 only
D:
2, 3, 4 only
Answer: A

All these statements are correct for Java.

Assume that x = 5 and y = 2. Then in Java operation x + = y, the result is
A:
x = 7
B:
x = 2
C:
x = 3
D:
x = 2
Answer: A

The operator + = means add and assign.

Ad Slot (Above Pagination)
Quiz