Electronics and Communication Engineering - Microprocessors

36. 

For the floating point numbers 1.81 x 10-29 and 0.0152 x 1018 the normalised forms are

A. 0.181 x 10-28 and 0.152 x 1017 respectively
B. 18.1 x 10-30 and 0.152 x 1017 respectively
C. 0.181 x 10-28 and 1.52 x 1016 respectively
D. None of the above

Answer: Option A

Explanation:

In normalised form, the integer part is zero.


37. 

In computers the secondary memory is faster than primary memory.

A. True
B. False

Answer: Option B

Explanation:

Secondary memory is slow.


38. 

Consider the following in C

  1. An arithmetic operation between integer and an integer gives integer as the result.
  2. An arithmetic operation between a real and a real constant gives real constant as the result.
  3. An arithmetic operation between an integer constant and a real constant is not valid.
Which of the above are correct?

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

Answer: Option B

Explanation:

Mixed mode statement is allowed in C.


39. 

Binary storage of decimal number 44 in 8 bits is

A. 00101100
B. 10101100
C. 10101101
D. 00101101

Answer: Option A

Explanation:

Use decimal to binary conversion method.


40. 

LET JCOKE = 11 and LPEPSI = 19. Consider the statement

IF (JCOKE - LPEPSI) 5, 5, 7
5 JCOKE = JCOKE + 2
7 JCOKE = JCOKE + 5

The value of JCOKE after the execution of above statement will be

A. 13
B. 16
C. 9
D. 14

Answer: Option A

Explanation:

(J COKE - L PEPSI) is 11 - 19 = - 8 Since (J COKE - L PEPSI) is negative statement 5 is executed and result is 11 + 2 = 13.