logo

Cambridge IGCSE Computer Science practice

Paper 2 structured question: Arrays

Try the question first, then check the answer and practise the same topic again.

At a glance

2

Paper

2

Marks

Topic

Arrays

Exam-style question

Try this first

Paper 2Algorithms, Programming and Logic2 marks

Understanding array indexing.

Description

Array Indexing

Given an array 'fruits' with values ['apple', 'banana', 'cherry'], identify the value at index 1.

  1. a

    Explain what value is stored at index 1 of the array 'fruits'.

    Aim for approximately 2 distinct marking points.

    [2]

0 of 1 part answered

Answer every part before opening the mark scheme.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

Flashcard 1 of 6

Press Space to flip, arrows to move

Related practice questions

Question 1 of 5

Choose an answer, get feedback, then move sideways through the set.

0 of 4 attempted

Paper 2 structured question: Arrays

Paper 2Algorithms, Programming and Logic1 marks

Description

Array Example

Consider an array named 'scores' that holds the following values: [85, 90, 78, 92, 88].

  1. a

    State the index of the third element in the array 'scores'.

    Aim for approximately 1 distinct marking point.

    [1]