Computer Science Concept Notes for Class 11: Sorting
Review targeted revision notes for Class 11 Computer Science with the CBSE Class 11 Computer Science Sorting Notes. Built according to official educational guidelines for the 2026-27 academic year, these downloadable summaries for Sorting support daily study and last-minute exam readiness.
Download Sorting Revision Notes PDF
View or download the dedicated Sorting revision resource below. Engaging with these structured concept notes daily ensures continuous academic progress and mastery of the 2026-27 curriculum for Computer Science.
10.1 DEFINITION:
To arrange the elements in ascending or descending order.
In this chapter we shall discuss two sorting techniques:
Bubble Sort
Insertion Sort
1. BUBBLE SORT: Bubble sort is a simple sorting algorithm. It is based on comparisons, in which each element is compared to its adjacent element and the elements are swapped if they are not in proper order.

PROGRAM:
L=eval(input(“Enter the elements:”))
n=len(L)
for p in range(0,n-1):
for i in range(0,n-1):
if L[i]>L[i+1]:
L[i], L[i+1] = L[i+1],L[i]
print(“The sorted list is : “, L)
OUTPUT:
Enter the elements:[60, 24, 8, 90, 45, 87, 12, 77]
The sorted list is : [8, 12, 24, 45, 60, 77, 87, 90]
Calculating Number of Operations (Bubble sort):

2. INSERTION SORT: Sorts the elements by shifting them one by one and inserting the element at right position.

PROGRAM:
L=eval(input(“Enter the elements: “))
n=len(L)
for j in range(1,n):
temp=L[j]
prev=j-1
while prev>=0 and L[prev]>temp: # comparison the elements
L[prev+1]=L[prev] # shift the element forward
prev=prev-1
L[prev+1]=temp #inserting the element at proper position
print(“The sorted list is :”,L)
OUTPUT:
Enter the elements: [45, 11, 78, 2, 56, 34, 90, 19]
The sorted list is : [2, 11, 19, 34, 45, 56, 78, 90]
Calculating Number of Operations (Insertion Sort):

10.2 How insertion sort is better than bubble sort?

Sorting Concepts and Summary for Class 11 Computer Science
Quick Revision Notes: Sorting (CBSE)
Review targeted chapter notes for Class 11 Computer Science Sorting. Built according to official CBSE guidelines, these summaries highlight high-yield topics frequently tested in school evaluations.
Expert Study Material for Class 11 Computer Science
Each chapter summary is structured around standard CBSE textbooks, allowing students to check their understanding and clarify complex ideas early in their revision.
Complete Your Chapter Revision
Wrap up your chapter revision by testing your knowledge against standard question formats. Everything on our platform is provided free of charge.
FAQs
You can download the teacher prepared revision notes for CBSE Class 11 Computer Science Sorting Notes from StudiesToday.com. These notes are designed as per 2026-27 academic session to help Class 11 students get the best study material for Computer Science.
Yes, our CBSE Class 11 Computer Science Sorting Notes include 50% competency-based questions with focus on core logic, keyword definitions, and the practical application of Computer Science principles which is important for getting more marks in 2026 CBSE exams.
Yes, our CBSE Class 11 Computer Science Sorting Notes provide a detailed, topic wise breakdown of the chapter. Fundamental definitions, complex numerical formulas and all topics of CBSE syllabus in Class 11 is covered.
These notes for Computer Science are organized into bullet points and easy-to-read charts. By using CBSE Class 11 Computer Science Sorting Notes, Class 11 students fast revise formulas, key definitions before the exams.
No, all study resources on StudiesToday, including CBSE Class 11 Computer Science Sorting Notes, are available for immediate free download. Class 11 Computer Science study material is available in PDF and can be downloaded on mobile.