Class 8 Computer & AI Chapter 4: Algorithms: Searching, Sorting and Flowcharts — practice questions with answers
Free practice for Class 8 Computer & AI, Chapter 4: Algorithms: Searching, Sorting and Flowcharts. Try the solved questions below, then take a free test with instant marking and explanations.
43 questions18 easy, 17 medium, 8 hardNCERT · CBSE · State boards
Sample questions with solutions
Q1. What is an algorithm?
- A clear, step-by-step set of instructions to solve a problem
- A type of computer
- A programming error
- A website
Show answer
Answer: A. A clear, step-by-step set of instructions to solve a problem
Why: A recipe is an everyday algorithm. [NAL syllabus, Class 8 Unit 4]
Why: A recipe is an everyday algorithm. [NAL syllabus, Class 8 Unit 4]
Q2. Which is an example of an everyday algorithm?
- A recipe for making tea
- A photograph
- A song’s tune
- A mountain
Show answer
Answer: A. A recipe for making tea
Why: It gives ordered steps. [NAL syllabus, Class 8 Unit 4]
Why: It gives ordered steps. [NAL syllabus, Class 8 Unit 4]
Q3. In a flowchart, which shape shows a decision (yes/no question)?
- Diamond
- Rectangle
- Oval
- Parallelogram
Show answer
Answer: A. Diamond
Why: Decision boxes have two exits: Yes and No. [NAL syllabus, Class 8 Unit 4]
Why: Decision boxes have two exits: Yes and No. [NAL syllabus, Class 8 Unit 4]
Q4. In a flowchart, which shape shows Start or Stop?
- Oval (rounded rectangle)
- Diamond
- Rectangle
- Circle with a cross
Show answer
Answer: A. Oval (rounded rectangle)
Why: Terminal symbols are ovals. [NAL syllabus, Class 8 Unit 4]
Why: Terminal symbols are ovals. [NAL syllabus, Class 8 Unit 4]
Q5. In a flowchart, which shape shows a process or action, like ‘add 5’?
- Rectangle
- Diamond
- Oval
- Arrow
Show answer
Answer: A. Rectangle
Why: Processes go in rectangles. [NAL syllabus, Class 8 Unit 4]
Why: Processes go in rectangles. [NAL syllabus, Class 8 Unit 4]
Q6. Linear search looks for an item by ______.
- checking each item one by one from the start
- jumping to the middle each time
- sorting first
- guessing
Show answer
Answer: A. checking each item one by one from the start
Why: It works on any list, sorted or not. [NAL syllabus, Class 8 Unit 4]
Why: It works on any list, sorted or not. [NAL syllabus, Class 8 Unit 4]
Practise all 43 questions free
Timed test, marked instantly, with the correct answer and explanation for every question and a chapter-wise report.
Start the free testFrequently asked questions
How many practice questions are there for Class 8 Computer & AI Chapter 4: Algorithms: Searching, Sorting and Flowcharts?
43 questions (18 easy, 17 medium, 8 hard). A few are solved on this page; the free test shows the answer and explanation for every question after you submit.
Is this chapter from the NCERT book?
Yes — it follows the NCERT Class 8 Computer & AI syllabus, used by CBSE and many state boards.