Skip to main content
Chapter 5 of 13
Practice Quiz

Sorting

Haryana Board · Class 12 · Computer Science

Practice quiz for Sorting — Haryana Board Class 12 Computer Science. MCQs and questions with answers to test your preparation.

45 questions22 flashcards5 concepts

Interactive on Super Tutor

Studying Sorting? Get the full interactive chapter.

Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for practice quiz and more.

1,000+ Class 12 students started this chapter today

A concept map illustrating the definition of sorting, its purpose (e.g., ease of searching), and examples of different sorting orders (ascending, descending, alphabetical, by length).
Super Tutor

This is just one of 9+ visuals inside Super Tutor's Sorting chapter

Explore the full set

Quick Quiz: Sorting

0/4

Tap an answer to check it instantly. No sign-up needed for these 4.

1

What is sorting in computer science?

2

In Bubble Sort, how many passes are required to sort n elements?

3

What is the time complexity of all three sorting algorithms discussed (Bubble, Selection, Insertion)?

4

In Insertion Sort, where is the unsorted element inserted?

45 Questions·
multiple choicemultiple correct

Sample Questions

1multiple correct

Which of the following are characteristics of Selection Sort? (Select all correct answers)

Show answer

Finds the smallest element in each pass, Divides list into sorted and unsorted parts, Requires n-1 passes for n elements

Selection sort finds the minimum element in each pass, maintains sorted and unsorted portions, and needs n-1 passes. It doesn't only compare adjacent elements like bubble sort.

2multiple correct

Which sorting algorithms use swapping of elements? (Select all correct answers)

Show answer

Bubble Sort, Selection Sort

All three sorting algorithms use swapping. Bubble sort swaps adjacent elements, selection sort swaps minimum with first unsorted element, and insertion sort shifts elements to make space.

3multiple choice

Why is Bubble Sort called 'Bubble' Sort?

Show answer

Because large elements 'bubble up' to their correct position

It's called bubble sort because the largest elements gradually 'bubble up' to the end of the list in each pass, similar to air bubbles rising to the surface in water.

4multiple choice

What type of time complexity do algorithms with nested loops have?

Show answer

Quadratic time

Algorithms with nested loops have quadratic time complexity because the inner loop runs n times for each of the n iterations of the outer loop, giving n² operations.

+41 more questions available

Practice All

Frequently Asked Questions

What are the important topics in Sorting for Haryana Board Class 12 Computer Science?
Sorting covers several key topics that are frequently asked in Haryana Board Class 12 board exams. Focus on the core concepts listed on this page and practise related questions to build confidence.
How to score full marks in Sorting — Haryana Board Class 12 Computer Science?
Understand the core concepts first, then work through the 45 practice questions available for this chapter. Revise formulas and definitions regularly, and use flashcards for quick recall before the exam.

Sources & Official References

Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.

For serious students

Get the full Sorting chapter — for free.

Quizzes, flashcards, AI doubt-solver and a step-by-step study plan for Haryana Board Class 12 Computer Science.