Electronics and Communication Engineering - Microprocessors
Exercise : Microprocessors - Section 2
- 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
36.
If J = 12 and X = 24.4 the result of the following FORTRAN 77 program will be
READ *, J, X
K = J ** 2
Z = 3 * X
Print *, J, K, Z
Answer: Option
Explanation:
J = 12, K = 122 = 144, Z = 3 x 24.4 = 73.2 In the result J and K will be without decimal point.
37.
Consider the following about 'arrays' in C
- An array is a collection of similar elements.
- An array can not have 10 numbers 5 of which are ints and 5 are floats.
- An array can have ints and chars in the same array.
Answer: Option
Explanation:
An array can have all int or all floats or all chars.
38.
A computer program is used to read M and print the sum 2 + 4 + 6 + 8 +.........+ 2M. If M = 9 , the print out will show the number
Answer: Option
Explanation:
SUM = 2 + 4 + 6 + 8 + 10 + 12 + 14 + 16 + 18 = 90.
39.
Read the following rules for scanning Boolean expressions in Pascal
- The expressions are scanned from left to right.
- The operations are scanned in the order NOT, AND, OR.
- All operators (i.e., NOT, AND and OR) are scanned together.
- In one scanning all the operators of only one type are scanned.
Answer: Option
Explanation:
All Boolean operators are not scanned together. The order is NOT, AND, OR.
40.
IC 74181 performs arithmetic operations when M = 1.
Answer: Option
Explanation:
When M = 1, IC 74181 performs logic operations.
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers