Computer Science (AS & A Level) · May / June 2025 · Paper 42 · Question 3
9618
As printed in the paper
The question as text
A program stores data about animals using Object‑Oriented Programming (OOP). The class Animal stores the data about animals. Animal Name : String Sound : String Size : Integer Intelligence : Integer stores the name of the animal stores the sound the animal makes stores the size of the animal as an integer between 1 (smallest) and 10 (largest) stores the intelligence of the animal as an integer between 1 (least) and 10 (most) Constructor() Description() initialises all attributes to its parameter values returns a string message that contains the data from the attributes
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
3(a)(i)[4]
3(a)(ii)[3]
3(b)(i)[4]
3(b)(ii)[2]
3(c)(i)[4]
3(c)(ii)[2]
3(d)(i)[2]
3(d)(ii)[3]
3(d)(iii)[2]
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

