ECAT Computer Decision Constructs Test Online

ECAT Computer Science Decision Constructs Test

ECAT Computer Science Chapter 21 Decision Constructs Online Test

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

ECAT Decision Constructs Test Online MCQs

Page 1 of 2

Uncategorized

1. Which of these expressions is evaluated first?

2. Can a switch statement handle strings?

3. Which of the following is a compound condition?

4. Can the default label appear anywhere in a switch block?

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

6. Which construct is used for multi-way branching?

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

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

9. What is the purpose of default in a switch?

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

11. What is the output of this code?

12. What will be the output of:

13. What is the output of:

14. What is the correct syntax for a switch statement?

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

16. Which of the following is used for decision-making in C?

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

18. What is the use of the default case in a switch?

19. How many else if clauses can be used after an if?

20. Can you nest switch statements?

21. Which operator is used in ternary condition?

22. Which of the following cannot be used in a switch case label?

23. Which operator is used for logical OR in C?

24. Which operator gives highest precedence in decision making?

25. Which data type is allowed in switch expression?


 

You Can Learn and Gain more Knowledge through our Online Quiz and Testing system Just Search your desired Preparation subject at Gotest.

Mustansar Khan

Hey Exam Warriors! I'm Mustansar Khan, your ally in conquering tests. Uncover strategies, real-time experiences, and expert advice to turn your study sessions into victories. Let's gear up for success!

Your Related

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button
error: