Navigation Menu
Home Blog Latest Notices
ECAT 2026 Practice Test Computer Science Decision Constructs Free Quiz 3
General
ECAT 2026 Practice Test Computer Science Decision Constructs Free Quiz 3
Practice ECAT 2026 Practice Test Computer Science MCQs from Decision Constructs. Get instant results with Explanation.
Practice Quiz 3 for "Decision Constructs" (Computer Science). Total 30 MCQs available, split into 3 quizzes. Challenge yourself with advanced application-based questions. This area is highly tested in ECAT. Practice these MCQs repeatedly to ensure you don't lose valuable marks on exam day.
General5 MCQs
21. Which statement is used for multiple independent conditions?
22. In an if-else if ladder, what happens if no condition is true?
23. The switch statement is preferred over if-else if when:
24. In a switch, can you use strings as cases in C?
25. What is the output: int x = 2; switch(x) { case 1: print("One"); break; case 2: print("Two"); break; default: print("Default"); }
General5 MCQs
26. What is the output: int x = 5; switch(x) { case 1: print("One"); case 2: print("Two"); default: print("Default"); } (no break)
27. Which logical operator has the highest precedence?
28. What is the result of: (5 > 3) && (10 > 20)?
29. What is the result of: (5 > 3) || (10 > 20)?
30. In an if statement, which of the following is considered false?

📋 ECAT - Test Online Practice Quizzes

ECAT

Conducting Body: UET
Frequency: Quarterly | Time: 100 Minutes
Negative Marking: No

⚡ Test Pattern (Total: 100 MCQs):

Merit Formula: Typically, the aggregate is calculated as: (ECAT × 33.33%) + (FSc Part-I × 16.67%) + (Matric × 50%). However, the respective university may revise its merit calculation formula or admission criteria from time to time. Please confirm the official criteria before applying.