MCQOPTIONS
Saved Bookmarks
This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Basic C knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What will be in text, if Intid contains 6? |
| A. | Jannet |
| B. | Mark |
| C. | Jerry |
| D. | SueView Answer |
| Answer» E. | |
| 2. |
What will be in text, if Intid contains 3? |
| A. | Jannet |
| B. | Mark |
| C. | Jerry |
| D. | SueView Answer |
| Answer» C. Jerry | |
| 3. |
What will be in text, if Intid contains 2? |
| A. | Jannet |
| B. | Mark |
| C. | Jerry |
| D. | SueView Answer |
| Answer» C. Jerry | |
| 4. |
__________ must be the last clause in the Select Case statement. |
| A. | Case Else |
| B. | Case expnumber |
| C. | Case seletorExpression |
| D. | Case default |
| Answer» B. Case expnumber | |
| 5. |
Which of the following Case clauses is invalid in a Select Case statement whose selectorExpression is an Integer variable named intCode? |
| A. | Case Is>7 |
| B. | Case 3,5 |
| C. | Case 1 to 4 |
| D. | Case “A” |
| Answer» E. | |
| 6. |
The select case statement ends with __________ |
| A. | Select End clause |
| B. | End Select clause |
| C. | End clause |
| D. | Select clause |
| Answer» C. End clause | |
| 7. |
Which is an easier alternative of multiple-alternative selection structure? |
| A. | Single-alternative selection structure |
| B. | Multipath selection structure |
| C. | Select case Statement |
| D. | Multiway-alternative selection structure |
| Answer» D. Multiway-alternative selection structure | |
| 8. |
What will be contained in Msg if grade entered by user is ‘d’? |
| A. | Fair |
| B. | Fail |
| C. | Good |
| D. | ExcellentView Answer |
| Answer» C. Good | |
| 9. |
Selection structures that can select from many alternatives are known as __________ |
| A. | Selection structures |
| B. | Multiple-alternative selection structures |
| C. | Multiway selection structures |
| D. | Multipath selection structures |
| Answer» C. Multiway selection structures | |