MCQOPTIONS
Saved Bookmarks
This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your Data Structure knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Using the evaluation of infix expression, evaluate a^b+c and choose the correct answer. (a=2, b=2, c=2) |
| A. | 12 |
| B. | 8 |
| C. | 10 |
| D. | 6 |
| Answer» E. | |
| 2. |
Evaluate the following statement using infix evaluation algorithm and choose the correct answer. 4*2+3-5/5 |
| A. | 10 |
| B. | 11 |
| C. | 16 |
| D. | 12 |
| Answer» B. 11 | |
| 3. |
Evaluate the following and choose the correct answer.a/b+c*d where a=4, b=2, c=2, d=1. |
| A. | 1 |
| B. | 4 |
| C. | 5 |
| D. | 2 |
| Answer» C. 5 | |
| 4. |
Of the following choices, which operator has the lowest precedence? |
| A. | ^ |
| B. | + |
| C. | / |
| D. | # |
| Answer» E. | |