Note AcademyNote Academy

Computer Science · Oct / Nov 2022 · Paper 1 HL · Question 14

Adapt for 2027Loops, functions and 2D arrays are on the syllabus (B2.3, B2.2.2); write the algorithms in Python or Java instead of IB pseudocode.

IBCS

As printed in the paper

The question as text

14. An integer divisor of an integer, N(N>0), is an integer greater than zero that divides N without leaving a remainder. The proper divisors of N are divisors of N other than N itself. For example: y The divisors of 10 are 1, 2, 5 and 10. y The proper divisors of 10 are 1, 2 and 5. X(X>0) and Y(Y>0) are two integers.

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme
  • 14(a)[2]

  • 14(b)[3]

  • 14(c)[10]

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.