Course Content
Paper 2 – Problem Solving Approach -Practical
0/102
Past Paper-2 May/June 2025
Past Paper-1 May/June 2025
Download Files
0/1
Olevel : Computer Science 2210 / IGCSE 0478 : Recorded

Read the question carefully and solve it.
Question:

Write a pseudocode to perform a linear search on a one-dimensional array that stores the names of five students.
The program should:

  1. Ask the user to enter the names of five students and store them in an array.

  2. Ask the user to input a name to search for.

  3. Search the array to find a match for the entered name.

  4. Display the message “Student found at position X” if the name exists, or “Student not found” if it does not.

You cannot copy content of this page