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 2D arrays.

Description

Matrix Representation

Consider the following 2D array: [[1, 2, 3], [4, 5, 6], [7, 8, 9]].

  1. a

    Explain how to access the element in the second row and first column of the array.

    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 Manipulation

Consider the following 1D array: [5, 10, 15, 20, 25].

  1. a

    State the value of the third element in the array.

    Aim for approximately 1 distinct marking point.

    [1]