logo

Cambridge IGCSE Computer Science practice

Paper 2 structured question: P rogramming concepts

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

At a glance

2

Paper

1

Marks

Topic

P rogramming concepts

Exam-style question

Try this first

Paper 2Algorithms, Programming and Logic1 marks

Using library routines in programming.

Description

Library Routine Example

Consider the following operations using library routines: MOD(10, 3), DIV(10, 3), ROUND(2.5), RANDOM(1, 100).

  1. a

    State What does the MOD function return when applied to 10 and 3?

    Aim for approximately 1 distinct marking point.

    [1]

0 of 1 part answered

Answer every part before opening the mark scheme.

Concise answer preview

Concise answer

1

Why this is correct

MOD(10, 3) gives the remainder of 10 divided by 3, which is 1. Credited working: The answer is 1.

Complete every part above to unlock the full mark scheme through the existing protected review flow.

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