Computer Science · May / June 2025 · Paper 2 TZ3 SL · Question 11
Adapt for 2027Data types, the advantages of inheritance and looping through an array of objects are all taught in 2027 (B3.1, B3.2.1, B2.1). Includes Higher Level only content, which Standard Level students do not study.
IBCS
As printed in the paper
The question as text
11. The owner of the art shop would like the artworks separated into three different categories: paintings, sculptures, and performances. Three classes, Painting, Sculpture, and Performance, are created for the three different categories of artwork. The variable typeOfPaint belongs to Painting. It holds the name of the type of paint used. The variable weight belongs to Sculpture. It holds the weight of a sculpture. The variable needForSound belongs to Performance. It states whether sound is needed for the performance. The other variables are common to all three classes.
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
11(a)(i)[1]
11(a)(ii)[1]
11(a)(iii)[1]
11(b)(i)[4]
11(b)(ii)[3]
11(c)[6]
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

