Past-paper question · 2018 October-November · Paper 22 · Q3(c)

Question 3(c) 2018 · October-November · Paper 22 · 4 marks

Original past-paper question for 3(C)
Original past-paper question for 3(C)
Original past-paper question for 3(C)
Original past-paper question for 3(C)
Reveal official mark-scheme answer Official mark-scheme answer for 3(C)

Official answer for Question 3

Part (c)

✓
Key points:

Question 4

✓
•
✓
A loop / repetition / iteration to check every element
✓
•
✓
Compare the array element with the value being searched
✓
•
✓
Exit loop / stop search when value found or end of array reached
✓
•
✓
If value is found then output the index position, otherwise output “Not
✓
found”
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_w18_ms_22.pdf →

Show text version of question

Question 3

Part (c)

Part (c)

A program needs to search through 1000 elements of an unsorted array to find a given value.

The program will output:

  • either the position in the array of the value
  • or the message “Not Found”

Outline the steps the program needs to follow.

Do not write pseudocode or program code.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...............................................................................................................................................[4]

Question 9

Question 4 begins on the next page.

Question 10

Topic relevance

Why this question appears here

71% assigned-topic match · Hardware › Logic gates and logic circuits

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9608_w18_qp_22.pdf

Keep practising this topic