BETA

NCERT Archive is currently in BETA — content is being added continuously. New books and solutions are published regularly, so please check back soon.

Cover of the NCERT Computer Science textbook for Class 12

Class 12 · Computer Science · Old NCERT

Computer Science

Chapter 5: Sorting

My Library

In this chapter

"Sorting" covers bubble sort, selection sort and insertion sort and time complexity.

Chapter
5 of 13
Textbook
Computer Science
Class
Class 12 · Computer Science
Edition
Old NCERT
Topics
4

Topics covered

  • Bubble sort
  • Selection sort
  • Insertion sort
  • Time complexity

How to study this chapter

For "Sorting", read each concept and immediately try the example code or commands on a computer.

  • Practise the exercise programs yourself, trace outputs by hand, and keep notes on syntax and common errors.

Exam focus

For the Class 12 board exam and practicals, "Sorting" is best prepared at a computer: type and run the examples, then write the programs or queries in the exercises yourself.

  • Short-answer questions often ask for definitions and outputs, so practise tracing code by hand as well.

Where this chapter fits

This is Chapter 5 of 13 in the old-edition NCERT Computer Science textbook for Class 12.

  • It comes after Chapter 4, "Queue", and is followed by Chapter 6, "Searching".

Using this page

Use the buttons on this page to download the Chapter 5 PDF and the NCERT Archive solution PDF for "Sorting" side by side.

  • The complete Computer Science book PDF for Class 12 is available on the book page.

Looking for the whole textbook? Open the complete book PDF.

Related resources