Electronics and Communication Engineering - Microprocessors

6.
Expression ++i is equivalent to
i = i + 2
i = i + 1
i = i - 1
i = i + i + i
Answer: Option
Explanation:

i is incremented by 1.


7.
To multiply a number by 8 in 8085 we have to use RAL instruction
once
twice
thrice
four times
Answer: Option
Explanation:

When RAL instruction is used once the number is doubled.


8.
IC (instruction cycle), FC (fetch cycle) and EC (executive cycle) are related as
IC = FC - EC
IC = FC + EC
IC = FC + 2EC
EC = IC + EC
Answer: Option
Explanation:

Instruction cycle consists of fetch and execute cycles.


9.
Which of the following is not a valid variable name in C?
1 a
a 1 2
a b 123
a b c 123
Answer: Option
Explanation:

First character must be alphabet.


10.
When .4546 E 5 and .5433 E 7 are to be added in normalized floating point mode
none of the numbers is changed to any other form
.4546 E 5 is changed .004546 E 7 and .5433 E 7 is not changed
.5433 E 7 is changed to 54.33 E 5 and .4546 E 5 is not changed
both the numbers are changed and their exponents are made equal to 6
Answer: Option
Explanation:

Exponents are made equal and integer part is made zero.