Algorithm
CIS · Quiz · Fall 26
Paper 2 of 2Section A · Batch 24 · Md Shahinur Rahman (স জি ব) (2)Switch
Section A · Batch 24
Paper 2 of 2
Read the questions as text
Read off the PDF by AI, so it may have mistakes. The PDF is the original.
Class Test (2) Examination: Fall-2026
Course Code: CIS 132
Course Title: Algorithms
Date: 18/11/2026
Section: 24_A
Time: 30 Minutes
Total Marks: 15
1. Apply the Selection Sort algorithm to sort the following array in ascending order. Show the array after each iteration. [5]
Array:
45, 18, 34, 12, 30, 23
2. Apply the Merge Sort algorithm to sort the following array in ascending order. Show the array after each level. [5]
Array:
48, 16, 80, 34, 64, 22, 11
3. Apply the Quick Sort algorithm to sort the following array in ascending order using the last element as the pivot. Show the partitioning process at each step until the array is completely sorted. [5]
Array:
33, 12, 26, 5, 20, 16, 19