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 operator gives highest precedence in decision making?

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

3. What is the output of:

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

5. Can a switch statement handle strings?

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

7. Which is the default return type of a condition?

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

9. Which decision construct is used for true/false evaluation?

10. Which of the following is a compound condition?

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

12. What is the purpose of the else block?

13. Can you nest switch statements?

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

15. What is the output of this code?

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

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

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

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

20. What will this code print?

21. What will be the output of:

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

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

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

25. Which of the following can be nested?


 

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: