Download the latest CBSE Class 11 Computer Science Sorting Notes in PDF format. These Class 11 Computer Science revision notes are carefully designed by expert teachers to align with the 2025-26 syllabus. These notes are great daily learning and last minute exam preparation and they simplify complex topics and highlight important definitions for Class 11 students.
Chapter-wise Revision Notes for Class 11 Computer Science Sorting
To secure a higher rank, students should use these Class 11 Computer Science Sorting notes for quick learning of important concepts. These exam-oriented summaries focus on difficult topics and high-weightage sections helpful in school tests and final examinations.
Sorting Revision Notes for Class 11 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?

| CBSE Class 11 Computer Science Flow of Control Notes |
| CBSE Class 11 Computer Science Functions Notes Set A |
| CBSE Class 11 Computer Science Functions Notes Set B |
| CBSE Class 11 Computer Science Computer Fundamentals Notes |
| CBSE Class 11 Computer Science Online Access And Computer Security Notes |
| CBSE Class 11 Computer Science Computing and Binary Operation Notes |
| CBSE Class 11 Computer Science Functions In C++ Notes |
| CBSE Class 11 Computer Science Introduction To C++ Notes |
| CBSE Class 11 Computer Science Introduction To Python Notes |
| CBSE Class 11 Computer Science List in Python Notes |
| CBSE Class 11 Computer Science Programming In C++ Notes |
| CBSE Class 11 Computer Science Programming Methodology Notes |
| CBSE Class 11 Computer Science Structured Data Types Arrays And Structures Notes |
| CBSE Class 11 Computer Science Using C++ Constructs Notes |
Important Practice Resources for Class 11 Computer Science
CBSE Class 11 Computer Science Sorting Notes
We hope you liked the above notes for topic Sorting which has been designed as per the latest syllabus for Class 11 Computer Science released by CBSE. Students of Class 11 should download and practice the above notes for Class 11 Computer Science regularly. All revision notes have been designed for Computer Science by referring to the most important topics which the students should learn to get better marks in examinations. Our team of expert teachers have referred to the NCERT book for Class 11 Computer Science to design the Computer Science Class 11 notes. After reading the notes which have been developed as per the latest books also refer to the NCERT solutions for Class 11 Computer Science provided by our teachers. We have also provided a lot of MCQ questions for Class 11 Computer Science in the notes so that you can learn the concepts and also solve questions relating to the topics. We have also provided a lot of Worksheets for Class 11 Computer Science which you can use to further make yourself stronger in Computer Science.
You can download notes for Class 11 Computer Science Sorting for latest academic session from StudiesToday.com
Yes, the notes issued for Class 11 Computer Science Sorting have been made available here for latest CBSE session
There is no charge for the notes for CBSE Class 11 Computer Science Sorting, you can download everything free of charge
www.studiestoday.com is the best website from which you can download latest notes for Sorting Computer Science Class 11
Come to StudiesToday.com to get best quality topic wise notes for Class 11 Computer Science Sorting
