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

2

Marks

Topic

P rogramming concepts

Exam-style question

Try this first

Paper 2Algorithms, Programming and Logic2 marks

Understanding library routines in programming.

Description

Library Routine Functions

The following functions are used in programming: MOD, DIV, ROUND, RANDOM. Explain their purposes.

  1. a

    Explain Explain the purpose of the ROUND function.

    Aim for approximately 2 distinct marking points.

    [2]

0 of 1 part answered

Answer every part before opening the mark scheme.

Concise answer preview

Concise answer

ROUND rounds a number to the nearest whole number, making it easier to read and use in calculations.

Why this is correct

The ROUND function is essential for converting decimal numbers into whole numbers, which is often necessary in programming tasks.

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