

MCQOPTIONS
Saved Bookmarks
This section includes 8 Mcqs, each offering curated multiple-choice questions to sharpen your Analog Electronic Circuits knowledge and support exam preparation. Choose a topic below to get started.
1. |
Assume that x = 5 and y = 2. Then in Java operation x + = y , the result is |
A. | x = 7 |
B. | x = 2 |
C. | x = 3 |
D. | x = 2 |
Answer» B. x = 2 | |
2. |
Let JCOKE = 98 and LPEPSI = 42 Consider the statement IF (JCOKE - 3 * LPEPSI) 5, 6, 7 5 JCOKE = JCOKE + 5 6 JCOKE = JCOKE + 8 7 JCOKE = JCOKE + 11 The value of JCOKE after the execution of above statement will be |
A. | 103 |
B. | 106 |
C. | 109 |
D. | none of the above |
Answer» B. 106 | |
3. |
Consider the following C program int ram float alpha, gamma ram = 6400 alpha = 0.562 gamma = alpha * ram + 1 Now consider the following statements about this program |
A. | All |
B. | 1, 2, 3 only |
C. | 2, 3, 4 only |
D. | 1, 2, 4 only |
Answer» C. 2, 3, 4 only | |
4. |
Read the following statements about files in Pascal |
A. | All |
B. | 1 and 2 only |
C. | 2 and 3 only |
D. | 1 and 3 only |
Answer» B. 1 and 2 only | |
5. |
In Java it is possible to have |
A. | All |
B. | 1, 2 and 3 only |
C. | 1 and 2 only |
D. | 1, 3 and 4 only |
Answer» C. 1 and 2 only | |
6. |
Consider the following program in Pascal X = 2.57 X = (X + 0.06) * 10 I = TRUNC (X) X = I X = X / 10.0 The final value of X would be |
A. | 2 |
B. | 2.6 |
C. | 2.63 |
D. | 26.3 |
Answer» C. 2.63 | |
7. |
Expression ++ i is equivalent to |
A. | i = i + 2 |
B. | i = i + 1 |
C. | i = i - 1 |
D. | i = i + i + i |
Answer» C. i = i - 1 | |
8. |
JCOKE = 3 JCOKE = JCOKE + 1 GO TO (5, 8, 9, 11, 15, 16 18, 20) JCOKE. After the execution of above statement, the control is transferred to statement number |
A. | 8 |
B. | 11 |
C. | 16 |
D. | 20 |
Answer» C. 16 | |