Brand Logo

Class 9

Class 9 - English
Moments (9 Chapters)|
Beehive (18 Chapters)|
Words and Expressions - I (9 Chapters)
Class 9 - Health and Physical Education
Health and Physical Education (14 Chapters)
Class 9 - Hindi
Sanchayan (4 Chapters)|
Sparsh (10 Chapters)|
Kshitij (13 Chapters)|
Kritika (4 Chapters)
Class 9 - ICT
Information and Communication Technology (8 Chapters)
Class 9 - Mathematics
Mathematics (12 Chapters)
Class 9 - Sanskrit
Shemushi Prathmo Bhag (10 Chapters)|
Vyakaranavithi (20 Chapters)|
Abhyaswaan Bhav (15 Chapters)
Class 9 - Science
Science (12 Chapters)
Class 9 - Social Science
Contemporary India (6 Chapters)|
Democratic Politics (5 Chapters)|
Economics (4 Chapters)|
India and the Contemporary World - I (5 Chapters)

Class 10

Class 10 - English
First Flight (22 Chapters)|
Foot Prints Without feet (9 Chapters)|
Words and Expressions - II (9 Chapters)
Class 10 - Health and Physical Education
Health and Physical Education (13 Chapters)
Class 10 - Hindi
Kshitij - II (13 Chapters)|
Sparsh (14 Chapters)|
Sanchayan - II (3 Chapters)|
Kritika (3 Chapters)
Class 10 - Mathematics
Mathematics (14 Chapters)
Class 10 - Sanskrit
Vyakaranavithi (14 Chapters)|
Shemushi - II (12 Chapters)|
Abhyaswaan Bhav - II (14 Chapters)
Class 10 - Science
Science (13 Chapters)
Class 10 - Social Science
Contemporary India (7 Chapters)|
Democratic Politics (5 Chapters)|
India and the Contemporary World - II (5 Chapters)|
Understanding Economic Development (5 Chapters)
Class 10 - Urdu
Nawa-e-urdu (15 Chapters)

Class 11

Class 11 - Accountancy
Accountancy - II (2 Chapters)|
Financial Accounting - I (7 Chapters)
Class 11 - Biology
Biology (19 Chapters)
Class 11 - Biotechnology
Biotechnology (12 Chapters)
Class 11 - Business Studies
Business Studies (11 Chapters)
Class 11 - Chemistry
Chemistry Part - I (6 Chapters)|
Chemistry Part - II (3 Chapters)
Class 11 - Computer Science
Computer Science (11 Chapters)
Class 11 - Creative Writing and Translation
Srijan (4 Chapters)
Class 11 - Economics
Statistics for Economics (8 Chapters)|
Indian Economic Development (8 Chapters)
Class 11 - English
Hornbill (11 Chapters)|
Snapshots (5 Chapters)|
Woven Words (27 Chapters)
Class 11 - Fine Art
An Introduction to Indian Art Part - I (8 Chapters)
Class 11 - Geography
Fundamentals of Physical Geography (14 Chapters)|
India Physical Environment (6 Chapters)|
Practical Work in Geography (6 Chapters)
Class 11 - Health and Physical Education
Health and Physical Education (11 Chapters)
Class 11 - History
Themes in World History (13 Chapters)
Class 11 - Home Science
Human Ecology and Family Sciences - I (7 Chapters)|
Human Ecology and Family Sciences - II (4 Chapters)
Class 11 - Informatics Practices
Informatics Practices (8 Chapters)
Class 11 - Knowledge Traditions Practices of India
Knowledge Traditions Practices of India (9 Chapters)
Class 11 - Mathematics
Mathematics (14 Chapters)
Class 11 - Physics
Physics Part - I (7 Chapters)|
Physics Part - II (7 Chapters)
Class 11 - Political Science
Indian Constitution at Work (10 Chapters)|
Political Theory (8 Chapters)
Class 11 - Psychology
Introduction to Psychology (8 Chapters)
Class 11 - Sangeet
Tabla evam Pakhawaj (8 Chapters)|
Hindustani Sangeet Gayan Evam Vadan (10 Chapters)
Class 11 - Sociology
Understanding Society (5 Chapters)|
Introducing Sociology (5 Chapters)

Class 12

Class 12 - Accountancy
Accountancy Part - I (4 Chapters)|
Accountancy Part - II (6 Chapters)
Class 12 - Biology
Biology (13 Chapters)
Class 12 - Biotechnology
Biotechnology (13 Chapters)
Class 12 - Business Studies
Business Studies - II (3 Chapters)|
Business Studies - I (8 Chapters)
Class 12 - Chemistry
Chemistry - II (5 Chapters)|
Chemistry - I (5 Chapters)
Class 12 - Computer Science
Computer Science (13 Chapters)
Class 12 - Economics
Introductory Microeconomics (5 Chapters)|
Introductory Macroeconomics (6 Chapters)
Class 12 - English
Flamingo (14 Chapters)|
Vistas (7 Chapters)|
Kaliedoscope (21 Chapters)
Class 12 - Fine Art
An Introduction to Indian Art Part - II (8 Chapters)
Class 12 - Geography
Practical Work in Geography - Part II (4 Chapters)|
Fundamentals of Human Geography (8 Chapters)|
India - People and Economy (9 Chapters)
Class 12 - Hindi
Aroh (15 Chapters)|
Antra (23 Chapters)|
Antral Bhag - II (3 Chapters)|
Vitan (3 Chapters)
Class 12 - History
Themes in Indian History - III (4 Chapters)|
Themes in Indian History - I (4 Chapters)|
Themes in Indian History - II (4 Chapters)
Class 12 - Home Science
Human Ecology and Family Sciences Part I (7 Chapters)|
Human Ecology and Family Sciences Part II (7 Chapters)
Class 12 - Informatics Practices
Informatics Practices (7 Chapters)
Class 12 - Mathematics
Mathematics Part - I (6 Chapters)|
Mathematics Part - II (7 Chapters)
Class 12 - Physics
Physics Part - I (8 Chapters)|
Physics Part - II (6 Chapters)
Class 12 - Political Science
Politics in India Since Independence (8 Chapters)|
Contemporary World Politics (7 Chapters)
Class 12 - Psychology
Psychology (7 Chapters)
Class 12 - Sangeet
Hindustani Sangeet Gayan Evam Vadan (9 Chapters)|
Tabla evam Pakhawaj (7 Chapters)
Class 12 - Sociology
Social Change and Development in India (8 Chapters)|
Indian Society (7 Chapters)

About Edzy - Gamified Learning Platform

Edzy is India's premier gamified AI tutor platform for CBSE and State Board students in classes 6-12. Our platform transforms traditional studying with AI-powered study plans, interactive practice sessions, and personalized learning pathways. Students using Edzy experience unmatched learning efficiency through our immersive educational environment that combines advanced technology with curriculum-aligned content.

Why Choose Edzy for CBSE and State Board Preparation

Edzy offers an adaptive AI educational experience tailored to each student's learning style and pace. We integrate gamification with proven educational strategies to create an engaging environment that students love. Our micro-content approach breaks down complex CBSE and State Board topics into manageable lessons, building confidence through mastery-based progression and real-time feedback.

CBSE and State Board Focus Areas

Edzy specializes in transforming online education for classes 6-12 with AI-powered tutoring. We provide comprehensive NCERT-aligned content and engaging lessons across Mathematics, Science, English, Social Studies, and IT. Our system helps students master fundamental concepts and excel in board exams through AI-generated study plans, personalized learning timelines, and dynamic practice sessions.

Edzy's Unique Approach to Online Learning

Unlike traditional online coaching platforms, Edzy converts CBSE and State Board syllabus content into interactive learning adventures. Our AI tutor provides timely assistance while adapting to student progress. The platform features instant feedback, gamified practice sessions, and achievement badges to motivate continuous learning and concept mastery.

Brand Logo

Edzy | Largest Online Learning Platform for Classes 6–12

Study smarter with Edzy – India’s leading gamified AI tutor for CBSE and State Boards. Designed for Classes 6–12, Edzy offers interactive lessons, AI-powered study plans, and rewarding practice tools for every subject.

Find us on Social Media

Links

About EdzyFAQsContact UsCBSE CoursesDuelsRumblesEdzy App

Parents & Teachers

Search EdzyParent DashboardCreator PlatformEducation BlogCBSE & NCERT News

Policies

Terms and ConditionsRefund PolicyPrivacy PolicyCookie Policy

© 2026 Edzy | Largest Online Learning Platform for Classes 6–12. All rights reserved.

Edzy is an AI tutor for CBSE and State Board students, offering interactive lessons and personalized learning for Classes 6–12.

SitemapNews SitemapBlog SitemapSchool SitemapAccessibility
CBSE
Class 12
Computer Science
Computer Science
Sorting

Question Bank

Question Bank: Sorting

This chapter covers different sorting algorithms, including bubble sort, selection sort, and insertion sort. Understanding these concepts is essential for efficient data organization in computer science.

Question Bank - Sorting

View all (68)
Q1.

What is the primary goal of sorting?

Single Answer MCQ
Q-00094892
Q2.

Which sorting method repeatedly compares adjacent elements and swaps them if they are out of order?

Single Answer MCQ
Q-00094893
Q3.

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

Single Answer MCQ
Q-00094894
Q4.

What is a common use case for sorting algorithms?

Single Answer MCQ
Q-00094895
Q5.

Which of the following is NOT a valid sorting order?

Single Answer MCQ
Q-00094896
Q6.

In which type of sorting algorithm are elements swapped in each pass regardless of their position?

Single Answer MCQ
Q-00094897
Q7.

What is a key disadvantage of Bubble Sort compared to more advanced algorithms?

Single Answer MCQ
Q-00094898
Q8.

What happens after each complete pass in Bubble Sort?

Single Answer MCQ
Q-00094899
Q9.

When sorting strings, which of the following is a valid method of ordering?

Single Answer MCQ
Q-00094900
Q10.

Which sorting algorithm is generally more efficient than Bubble Sort for large datasets?

Single Answer MCQ
Q-00094901
Q11.

In the context of data organization, why is sorting important?

Single Answer MCQ
Q-00094902
Q12.

Which sorting algorithm builds the final sorted array one item at a time?

Single Answer MCQ
Q-00094903
Q13.

When comparing Quick Sort to other algorithms, what is an advantage it has?

Single Answer MCQ
Q-00094904
Q14.

What is a key characteristic of the Selection Sort algorithm?

Single Answer MCQ
Q-00094905
Q15.

What is the worst-case time complexity of Bubble Sort?

Single Answer MCQ
Q-00094925
Q16.

Which of the following statements about Bubble Sort is true?

Single Answer MCQ
Q-00094926
Q17.

How does Bubble Sort determine when to stop sorting?

Single Answer MCQ
Q-00094927
Q18.

In Bubble Sort, what happens in the 'inner' loop?

Single Answer MCQ
Q-00094928
Q19.

What type of data structure is commonly used to implement Bubble Sort?

Single Answer MCQ
Q-00094929
Q20.

What is the best-case time complexity of Bubble Sort?

Single Answer MCQ
Q-00094930
Q21.

Which of the following is not an advantage of Bubble Sort?

Single Answer MCQ
Q-00094931
Q22.

Which modification can improve the efficiency of Bubble Sort?

Single Answer MCQ
Q-00094932
Q23.

How does Bubble Sort correctly handle equal elements?

Single Answer MCQ
Q-00094933
Q24.

What is the first step in the Selection Sort algorithm?

Single Answer MCQ
Q-00094934
Q25.

If the Bubble Sort algorithm is optimized to stop early when no swaps are made in a pass, what is this optimization called?

Single Answer MCQ
Q-00094935
Q26.

During which pass of the Selection Sort is the smallest element identified and swapped to the sorted list?

Single Answer MCQ
Q-00094936
Q27.

How many total comparisons would be performed in the worst-case scenario for an array of size n using Bubble Sort?

Single Answer MCQ
Q-00094937
Q28.

In Selection Sort, how many total passes through the list are required?

Single Answer MCQ
Q-00094938
Q29.

If we were to modify Bubble Sort to sort in descending order, what change needs to be made in the conditional statement?

Single Answer MCQ
Q-00094939
Q30.

Which of the following statements about Selection Sort is true?

Single Answer MCQ
Q-00094940
Q31.

What is the time complexity of the Selection Sort algorithm?

Single Answer MCQ
Q-00094941
Q32.

After 3 passes of Selection Sort on the list [64, 25, 12, 22, 11], what will the partially sorted list look like?

Single Answer MCQ
Q-00094942
Q33.

If given a list of elements, what is the first value to swap in Selection Sort with the list [9, 4, 6, 2, 5]?

Single Answer MCQ
Q-00094943
Q34.

What is a primary disadvantage of using Selection Sort?

Single Answer MCQ
Q-00094944
Q35.

How does the Selection Sort algorithm handle duplicate values?

Single Answer MCQ
Q-00094945
Q36.

In Selection Sort, what does the 'flag' variable represent?

Single Answer MCQ
Q-00094946
Q37.

What is a common misconception about Selection Sort compared to Bubble Sort?

Single Answer MCQ
Q-00094947
Q38.

How can Selection Sort be implemented recursively?

Single Answer MCQ
Q-00094948
Q39.

In Selection Sort, if you are sorting in descending order, the largest element is swapped to which position in the first pass?

Single Answer MCQ
Q-00094949
Q40.

What is the time complexity of Bubble Sort in the average case?

Single Answer MCQ
Q-00094950
Q41.

How does the time complexity of Insertion Sort compare to that of Bubble Sort?

Single Answer MCQ
Q-00094951
Q42.

Which of the following algorithms has the best average time complexity?

Single Answer MCQ
Q-00094952
Q43.

If an algorithm has a time complexity of O(n^3), what does it imply?

Single Answer MCQ
Q-00094953
Q44.

Which statement is true regarding time complexity?

Single Answer MCQ
Q-00094954
Q45.

In a nested loop algorithm, how is the time complexity generally determined?

Single Answer MCQ
Q-00094955
Q46.

Why is O(1) referred to as constant time complexity?

Single Answer MCQ
Q-00094956
Q47.

What is the impact of having a better time complexity on an algorithm?

Single Answer MCQ
Q-00094957
Q48.

Which is a characteristic feature of Linear time complexity algorithms?

Single Answer MCQ
Q-00094958
Q49.

Selection Sort typically has a time complexity of?

Single Answer MCQ
Q-00094959
Q50.

Which algorithm is generally preferred for large datasets due to its logarithmic performance?

Single Answer MCQ
Q-00094960
Q51.

The term 'big O notation' is used to describe?

Single Answer MCQ
Q-00094961
Q52.

For which of the following scenarios would O(n^2) complexity be acceptable?

Single Answer MCQ
Q-00094962
Q53.

Which of the following sorting algorithms uses a divide-and-conquer approach?

Single Answer MCQ
Q-00094963
Q54.

What will happen to the time complexity of an algorithm if you halve the input size?

Single Answer MCQ
Q-00094964
Q55.

What is the primary purpose of the Insertion Sort algorithm?

Single Answer MCQ
Q-00094965
Q56.

In Insertion Sort, which part of the list is considered sorted during the algorithm's execution?

Single Answer MCQ
Q-00094966
Q57.

What is the time complexity of the Insertion Sort algorithm in the worst-case scenario?

Single Answer MCQ
Q-00094967
Q58.

If the initial list is [5, 2, 4, 6, 1, 3], what will be the list after the first pass of Insertion Sort?

Single Answer MCQ
Q-00094970
Q59.

Which of the following best describes the stability of the Insertion Sort algorithm?

Single Answer MCQ
Q-00094973
Q60.

What is the best-case scenario for the number of operations in Insertion Sort?

Single Answer MCQ
Q-00094976
Q61.

Which data structure best represents a list when implementing the Insertion Sort algorithm?

Single Answer MCQ
Q-00094978
Q62.

What element is compared first in the second pass of Insertion Sort for the list [8, 4, 3, 7, 5]?

Single Answer MCQ
Q-00094981
Q63.

After how many passes would the list [1, 3, 2] be completely sorted using Insertion Sort?

Single Answer MCQ
Q-00094984
Q64.

What is the average time complexity of Insertion Sort?

Single Answer MCQ
Q-00094987
Q65.

What is a common application of Insertion Sort in real life?

Single Answer MCQ
Q-00094990
Q66.

In which case would Insertion Sort outperform more complex algorithms like Quick Sort?

Single Answer MCQ
Q-00094993
Q67.

What happens if an element smaller than all existing elements in the sorted list is placed in Insertion Sort?

Single Answer MCQ
Q-00094996
Q68.

Which statement is true regarding the space complexity of Insertion Sort?

Single Answer MCQ
Q-00094999

📘 The Ultimate NCERT Companion

From practice to planning, reminders to revisions—Edzy has it all.

Edzy mobile app