Skip to main content
Chapter 5 of 13
Formula Sheet

Sorting — Formula Sheet

Tripura Board · Class 12 · Computer Science

3 formulas from Sorting (Tripura Board Class 12 Computer Science) on one page, grouped by topic. Covers Core idea of sorting, Bubble Sort and Selection.

44 questions60 flashcards3 formulas & key relations5 concepts

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 formula sheet and more.

Free trial, no card needed.

A concept map illustrating the definition of sorting, its purpose (e.g., ease of searching), and examples of different sorting orders (ascending, descending, alphabetical, by length).
Super Tutor

Learn better with visuals Super Tutor pairs illustrations like this with notes and quizzes for Sorting.

3 Entries · 3 Sections

Formulas and Key Relations

Bubble Sort

WHILE i < n REPEAT STEPS 3 to 8; WHILE j < n - i - 1, REPEAT STEPS 5 to 7; IF numList[j] > numList[j+1] THEN swap(numList[j], numList[j+1])

Selection Sort

SET min = i, flag = 0; WHILE j < n: IF numList[j] < numList[min] THEN min = j, flag = 1; IF flag = 1 THEN swap(numList[i], numList[min])

Insertion Sort

temp = numList[i]; SET j = i-1; WHILE j > 0 and numList[j] > temp: numList[j+1] = numList[j]; SET j=j-1; numList[j+1] = temp

Full sheet with units and worked examples

View All

Frequently Asked Questions

What are the important topics in Sorting for Tripura Board Class 12 Computer Science?
Key topics in Sorting include Core idea of sorting, Bubble Sort, Selection Sort, Insertion Sort. Study these first, then practise questions on each for the Tripura Board Class 12 board exam.
How many formulas are in Sorting?
This sheet lists 3 formulas from Sorting, grouped by topic. Learn what each symbol stands for so you can apply the formula, not just recall it.
How should I revise Sorting for the Tripura Board Class 12 board exam?
Learn the core ideas first, then work through the 44 practice questions on Sorting. Revise definitions regularly and use flashcards for quick recall before the exam.

Sources & Official References

Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.

For serious students

Get the full Sorting chapter — start free.

Quizzes, flashcards, an AI doubt solver and a study plan for Tripura Board Class 12 Computer Science. Free to start, no card needed.