Electronics and Communication Engineering - Microprocessors
Exercise : Microprocessors - Section 3
- Microprocessors - Section 1
- Microprocessors - Section 2
- Microprocessors - Section 3
- Microprocessors - Section 4
- Microprocessors - Section 5
- Microprocessors - Section 6
- Microprocessors - Section 7
- Microprocessors - Section 8
- Microprocessors - Section 9
- Microprocessors - Section 10
- Microprocessors - Section 11
- Microprocessors - Section 12
11.
Consider the following statements about expressing real constants in exponential form in C
- The mantissa and exponent are separated either by e or E.
- The mantissa and exponent may have positive or negative sign.
- Default sign of mantissa is positive.
- Default sign of exponent is negative.
Answer: Option
Explanation:
E is not allowed and default sign of exponent is positive.
12.
If F = 95.0 what will be the result of following FORTRAN 77 program?
REAL F , C
READ * , F
C = (5. / 9.) * (F - 32.)
Answer: Option
Explanation:
(95 - 32) and decimal must be added.
13.
Consider the following library functions
- EXP (i.e., ex)
- ARCTAN (i.e. tan-1 x)
- SQRT (i.e., x)
- AES (i.e. |x|)
Which of the above are allowed in Pascal?Answer: Option
Explanation:
All are allowed in Pascal.
14.
Consider the following program in Basic
The output will be
10 READ X, Y, Z
15 DATA 20, 30, 10
20 S = X + Y + Z
30 A = S/3
35 PRINT S, A, X, Y, Z
40 END
The output will be
Answer: Option
Explanation:
.
15.
Let the initial contents of
ACC and CY
in 8085 be - CY = 1
- ACC = 10000001
After the instruction RAL
is executed twice the contents of CY and ACC
respectively will beAnswer: Option
Explanation:
RAL means 'rotate left through carry'.
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers