Electronics and Communication Engineering - Microprocessors

46. 

Which of the following is not a valid real constant?

A. -73.1
B. 10251,3
C. 10.23
D. -5.7381

Answer: Option B

Explanation:

Comma is not allowed in real constant.


47. 

Consider the expression b = acd (xz). The correct C statement for above expression is

A. a c d (x * z)
B. a* c* d* (x z)
C. a * c * d (x * z)
D. None of the above

Answer: Option C

Explanation:

All operators must be written explicity in C.


48. 

Which is a valid Java variable?

A. 1 a b
B. 56 a
C. a 56
D. 5 a 6

Answer: Option C

Explanation:

In all others first letter is not lower case.


49. 

When we use RRC instruction once in 8085, the number is

A. multiplied by 2
B. divided by 2
C. multiplied by 4
D. divided by 4

Answer: Option B

Explanation:

When RRC is used once the number is divided by 2.


50. 

Read the following statements about sets

  1. If A and B are sets then A + B denotes union of sets A and B.
  2. The union of A and B is that set whose elements are in either A or B or both.
  3. If A and B are sets, then difference of sets A and B is denoted by A - B.
  4. A - B in the set obtained by removing elements of A from B.
Which of the above are true?

A. All
B. 1, 2 and 3 only
C. 2 and 3 only
D. 1 and 4 only

Answer: Option A

Explanation:

All are correct.


« Prev   1 2 3 4 5 6 7 8 9 10