← March 2025 questions

MARCH 2025 / BEGINNER / LEVEL 2 · QUESTION 1

Level 2 · Question 1

Archived question

Try the question in your own editor, then check your output below.

THE QUESTION

Text from the official booklet. Refer to the PDF for original mathematical notation, formatting, and linked input files. Printed samples and inputs are reproduced as published.

Give only the answer and no other words.
Count how many numbers in the list are a multiple of 4.
numbers = [12, 45, 8, 23, 16, 89, 4, 64, 72, 31, 50, 28, 90, 37, 48, 55, 76, 99, 20, 32,
60, 17, 80, 7, 40, 52, 88, 33, 24, 97, 36, 19, 44, 2, 96, 25, 84, 13, 68, 56, 3, 92, 75, 39,
29, 100, 21, 66, 70, 6, 14, 18, 9, 63, 47, 27, 22, 79, 30, 53, 26, 11, 54, 35, 58, 43, 62,
15, 95, 46, 59, 10, 85, 5, 41, 98, 34, 1, 42, 49, 82, 86, 67, 91, 38, 77, 51, 61, 81, 87,
83, 78, 57, 71, 74, 93, 94, 65, 73, 59]

CHECK YOUR ANSWER

Try your answer.

Run your program in your own editor, then paste its output below. This checks the stated output; it does not assess your full program. Practice attempts do not affect competition scores.

Use the corresponding input from the question. For lists, brackets and commas are optional for numeric answers; text lists may also be entered one item per line.

Reveal worked answer

Your output

25

Count entries whose remainder on division by 4 is zero.

Reveal supplied answer

From the supplied Beginner answer key. Outputs are reproduced as provided.

Expected output

25

Source: GIC 2025 Beginner Questions and the supplied Beginner answer key, March 2025 archive.