Past-paper question · 2023 October-November · Paper 23 · Q2(a)
Question 2(a) 2023 · October-November · Paper 23 · 5 marks
Reveal official mark-scheme answer
Official answer for Question 2
Part (a)
Question 5
✓
MP1 Initialise Min to first value in Data and MinIndex to 1
✓
MP2 Loop through 29 more values (or 30 values in total)
✓
MP3 Compare element from Data[] with Min
✓
MP4 Set new Min AND save MinIndex when element value < Min in a loop
✓
MP5 Output MinIndex
Show text version of question
Question 2
Part (a)
Question 2
Data is a 1D array of integers, containing 30 elements. All element values are unique.
Part (a)
An algorithm will output the index of the element with the smallest value.
Draw a program flowchart to represent the algorithm.
START
END
[5]
Question 5
Topic relevance
Why this question appears here
71% assigned-topic match · Algorithm design and problem-solving › Algorithms
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 9618_w23_qp_23.pdf
Keep practising this topic
Related searches for this question
Computer Science For First Examination In 2021 9618 topical past papers
Computer Science For First Examination In 2021 9618 topical questions with answers
AS & A Level Computer Science For First Examination In 2021 topical past papers
Computer Science For First Examination In 2021 9618 Algorithm design and problem-solving topical questions
Algorithms past paper questions
Computer Science For First Examination In 2021 9618 2023 October-November question
