Navigation Menu
Home
Full Length Papers
News Blog
ECAT Practice Computer Science Decision Constructs MCQs Test 3
General

ECAT Practice Computer Science Decision Constructs MCQs Test 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.
General10 MCQs
1. Which statement is used for multiple independent conditions?
2. In an if-else if ladder, what happens if no condition is true?
3. The switch statement is preferred over if-else if when:
4. In a switch, can you use strings as cases in C?
5. What is the output: int x = 2; switch(x) { case 1: print("One"); break; case 2: print("Two"); break; default: print("Default"); }
General10 MCQs
6. What is the output: int x = 5; switch(x) { case 1: print("One"); case 2: print("Two"); default: print("Default"); } (no break)
7. Which logical operator has the highest precedence?
8. What is the result of: (5 > 3) && (10 > 20)?
9. What is the result of: (5 > 3) || (10 > 20)?
10. 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.