Computer Decision Constructs Test Online

Start your preparation for Computer Decision Constructs Test Online. This online test contains important MCQs from past papers. Attempting this test will help you prepare for Annual Exams and Entry Tests. Read the questions carefully and select the correct option below to see your result.

Important Computer Decision Constructs Question and Answer

Total Questions: 37
Time Allowed: 20 Minutes
Total Marks: 37
How to Attempt Test: Please choose the right Option in MCQ-type question.
Test Helpful For: ECAT Entry Test
Computer Online Test
Interview Questions about Computer
All Universities Entrance Test
Recruitments Tests

Decision Constructs Practice Test Online With Explanation

Page 1 of 2

Uncategorized

1. What happens when both if and else are without braces?

2. Which of the following is a relational operator?

3. Can you nest switch statements?

4. Which of these expressions is evaluated first?

5. Which operator is used for logical AND in C?

6. Which of the following keywords is not part of decision-making in C?

7. Which operator is used in ternary condition?

8. Can a switch statement handle strings?

9. What is the purpose of the break statement in a switch case?

10. Which data type is allowed in switch expression?

11. Which of the following is a compound condition?

12. Which is true for a valid if-else block?

13. Which of the following is the correct syntax of an if statement in C?

14. What is the output of:

15. Which of the following is used to evaluate multiple conditions?

16. Which of the following is used to select one option from multiple choices?

17. What is the output of this code?

18. Which of the following must be a constant expression in a switch case?

19. Which keyword can transfer control to a label in C?