Electronics and Communication Engineering - Microprocessors

46.
Which of the following is not a valid real constant?
-73.1
10251,3
10.23
-5.7381
Answer: Option
Explanation:

Comma is not allowed in real constant.


47.
Consider the expression b = acd (xz). The correct C statement for above expression is
a c d (x * z)
a* c* d* (x z)
a * c * d (x * z)
None of the above
Answer: Option
Explanation:

All operators must be written explicity in C.


48.
Which is a valid Java variable?
1 a b
56 a
a 56
5 a 6
Answer: Option
Explanation:

In all others first letter is not lower case.


49.
When we use RRC instruction once in 8085, the number is
multiplied by 2
divided by 2
multiplied by 4
divided by 4
Answer: Option
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?
All
1, 2 and 3 only
2 and 3 only
1 and 4 only
Answer: Option
Explanation:

All are correct.