Skip to content
πŸ“š Free notes, MCQ tests & past papers β€” FBISE & BISE Rawalpindi
πŸ“’ Latest Updates

ECAT Computer Science (ICS) Chapter 6: Algorithms and Problem Solving MCQs Online Test 2027

Reviewed by Sadia Shahid, Senior Science teacher (Maths, Physics, Chemistry, Biology, Computer Science)

For ICS students taking UET ECAT with Computer Science in place of Chemistry: this free test covers Algorithms and Problem Solving with 25 MCQs, written by our teachers to the FSc (ICS) Computer Science syllabus, with answers and explanations.

Choose Practice mode to see each answer and explanation straight away, or Exam mode for a timed attempt (one minute per question). Questions and options are shuffled on every attempt, and after submitting you can review only the questions you got wrong.

Last reviewed: 24 November 2026 Β· Syllabus: FSc Part I and II (Punjab Textbook Board), the base for UET ECAT and the NUST NET engineering stream.

Computer Science in ECAT

UET offers combinations such as Mathematics, Physics and Computer Science, and Mathematics, Statistics and Computer Science. Computer Science then carries the same share as Chemistry: 30 of the 100 MCQs. NUST NET (Engineering and Computing) does not have a separate Computer Science section.

Algorithms and Problem Solving: 25 MCQs

0/25 answered

Practice mode shows the answer as soon as you choose. Exam mode gives one minute per question and shows results at the end.

1. A variable is:

βœ” e.g. int age.
Report a mistake

2. The output of the algorithm β€œx = 5; x = x + 3; print x” is:

βœ” 5 + 3.
Report a mistake

3. A process (calculation) in a flowchart is shown by a:

βœ” e.g. Sum = A + B.
Report a mistake

4. Pseudocode is:

βœ” It is not executed directly.
Report a mistake

5. A trace table is used to:

βœ” Each row shows a step.
Report a mistake

6. The maximum number of comparisons for binary search on 1024 sorted items is about:

βœ” logβ‚‚ 1024 = 10.
Report a mistake

7. The worst-case time of linear search on n items is proportional to:

βœ” It may check every item.
Report a mistake

8. A constant is a value that:

βœ” e.g. PI = 3.14.
Report a mistake

9. Debugging is the process of:

βœ” Errors are called bugs.
Report a mistake

10. A loop that never ends is called a(n):

βœ” Its condition never becomes false.
Report a mistake

11. In bubble sort, adjacent elements are:

βœ” Larger elements β€œbubble” to the end.
Report a mistake

12. A dry run of an algorithm means:

βœ” Used to find logical errors.
Report a mistake

13. The sum of numbers 1 to 5 found by a loop β€œs = 0; for i = 1 to 5: s = s + i” is:

βœ” 1 + 2 + 3 + 4 + 5.
Report a mistake

14. In a flowchart, a decision is shown by a:

βœ” It has yes/no branches.
Report a mistake

15. The three basic control structures are:

βœ” All algorithms use these.
Report a mistake

16. Binary search works only on:

βœ” It halves the search space each time.
Report a mistake

17. The start and end of a flowchart are shown by an:

βœ” Terminal symbol.
Report a mistake

18. Linear search checks elements:

βœ” Works on unsorted lists.
Report a mistake

19. Breaking a large problem into smaller sub-problems is called:

βœ” Each part is easier to solve.
Report a mistake

20. If A = 4 and B = 7, the algorithm β€œif A β€Ί B print A else print B” prints:

βœ” 7 is larger.
Report a mistake

21. An algorithm is:

βœ” It must be finite and unambiguous.
Report a mistake

22. The correct order of steps in problem solving is:

βœ” Understand the problem first.
Report a mistake

23. An algorithm to find the largest of three numbers needs mainly:

βœ” Compare the numbers.
Report a mistake

24. In a flowchart, input and output are shown by a:

βœ” e.g. β€œRead A”, β€œPrint B”.
Report a mistake

25. Which characteristic must every algorithm have?

βœ” It must terminate.
Report a mistake

More practice: all Computer Science tests Β· all ECAT and NUST NET tests

Please confirm all dates and figures on the official websites: ecat.uet.edu.pk and ugadmissions.nust.edu.pk

Preparing for ECAT or NUST NET 2027? Join our live online classes for FSc Mathematics, Physics and Chemistry. Book a free demo class.

πŸ“Œ Struggling with this chapter? Join our live online tuition β€” one-to-one or small group classes with experienced teachers. Book a free demo class β†’

Ask a question about this topic

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