Sorting
Bihar Board · Class 12 · Computer Science
Quick revision notes for Sorting — Bihar Board Class 12 Computer Science. Key concepts, formulas, and definitions for last-minute revision.
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 revision notes and more.
1,000+ Class 12 students started this chapter today

This is just one of 9+ visuals inside Super Tutor's Sorting chapter
Explore the full setKey Topics to Revise
1. Core idea of sorting
- Sorting means arranging a collection of elements in a particular order.
- Numbers can be sorted in ascending or descending order.
- Strings can be sorted alphabetically or by length.
2. Bubble Sort
- Bubble sort compares adjacent elements repeatedly and swaps them if they are unordered.
- For a list with n elements, bubble sort makes n-1 passes.
- After each pass, the largest element reaches its correct position at the end.
3. Selection Sort
- Selection sort divides the list into a sorted left part and an unsorted right part.
- Initially, the left part is empty and the right part contains all elements.
- In each pass, the smallest element in the unsorted part is found.
4. Insertion Sort
- Insertion sort divides the list into sorted and unsorted parts.
- Each unsorted element is inserted into its correct position in the sorted part.
- The sorted list is traversed backward to find the insertion position.
Get complete notes with diagrams and examples
Full NotesKey Concepts
Frequently Asked Questions
What are the important topics in Sorting for Bihar Board Class 12 Computer Science?
How to score full marks in Sorting — Bihar Board Class 12 Computer Science?
Sources & Official References
Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.
More resources for Sorting
Practice Quiz
Test yourself with a quick quiz
Important Questions
Practice with board exam-style questions
Formula Sheet
All formulas in one place
Chapter Summary
Understand the chapter at a glance
Concept Maps
See how topics connect visually
Study Plan
Step-by-step plan to ace this chapter
Flashcards
Quick-fire cards for active recall
Syllabus
What topics to cover
NCERT Solutions
Every textbook question solved step by step
For serious students
Get the full Sorting chapter — for free.
Quizzes, flashcards, AI doubt-solver and a step-by-step study plan for Bihar Board Class 12 Computer Science.