Parho

Class 11 Computer Science · Chapter 3

Chapter 3: Algorithms and Problem Solving

Class 11 Computer Science notes for the Punjab textbook: the chapter in short, the points to remember, the definitions and the formulas, with questions and tests.

  • 6 definitions
  • 6 key points
  • 1 formula

Chapter 3

All notes and resources

Pick one; the notes are on this page, the rest open their own page.

SummaryThe chapter in shortWhat the chapter is about, in a few paragraphs.Open Revision6 key pointsThe points to remember before the paper.Open Definitions6 definitionsIn exam wording, numbered for quick revision.Open TextbookRead it in the textbookThis chapter in the Punjab textbook, in the Library.Open Formulas1 formulaEvery formula you need for the numericals.Open TestChapter tests3 tests, marked the moment you finish.Open 2027Smart SyllabusWhat is left out of this chapter for 2027.Open
Coming soonNotes PDFThe whole chapter's notes as a PDF to keep.
Coming soonExercise solutionsThe textbook exercise, solved step by step.
Coming soonShort questionsShort questions with their answers.
Coming soonLong questionsLong questions with full answers.
Coming soonMCQs PDFMultiple-choice questions with the answer key.
Coming soonNumericalsNumerical problems, worked out.

The chapter in short

An algorithm is a finite, precise sequence of steps to solve a problem. The chapter covers how to design, express and analyse algorithms.

It covers flowcharts and pseudocode, linear and binary search, bubble, selection and insertion sort, and comparing algorithms by their time complexity.

AlgorithmPseudocodeLinear searchBinary searchSortingTime complexity

Key points

  • A good algorithm is finite, definite, effective and has input and output.
  • Linear search checks items one by one; it works on any list.
  • Binary search halves a sorted list each step; it is much faster on large lists.
  • Bubble sort repeatedly swaps adjacent items that are out of order.
  • Big-O notation describes how running time grows with input size.
  • Linear search is O(n); binary search is O(log n).

Definitions

  1. 1

    Algorithm

    A finite sequence of well-defined steps that solves a problem.

  2. 2

    Pseudocode

    An informal, structured description of an algorithm in plain language.

  3. 3

    Linear search

    Searching by checking each element in turn.

  4. 4

    Binary search

    Searching a sorted list by repeatedly halving the search range.

  5. 5

    Sorting

    Arranging data in a particular order.

  6. 6

    Time complexity

    How the running time of an algorithm grows with the size of its input.

Formulas

Complexities

linear search O(n); binary search O(log n); bubble sort O(n²)

Ready to test chapter 3?

Answer the chapter's questions and see your marks the moment you finish.

Take the test

Parho for Android is coming

Join early access and be the first to get the app: tests, notes and solutions on your phone.

FAQ

Questions students ask

What is Class 11 Computer Science chapter 3 about?

An algorithm is a finite, precise sequence of steps to solve a problem. The chapter covers how to design, express and analyse algorithms.

Which definitions should I learn?

This chapter has 6 definitions: Algorithm, Pseudocode, Linear search, Binary search, Sorting and Time complexity.

Which formulas are in this chapter?

Complexities: linear search O(n); binary search O(log n); bubble sort O(n²).

How do I practise this chapter?

Read the notes, then answer the chapter's questions without looking, and take the chapter test.

Are these notes free?

Yes. Every notes page, its questions with answers and its tests are free, with no account needed.

Notes written by Parho for the Punjab textbook. Spotted a mistake? Tell us.