Unit 7: B3 Object-oriented programming
Topic 7.1: Object-oriented programming Questions
Practice 20 exam-style questions for IB Computer Science Topic 7.1. Review the question stems below, then unlock the full Question Bank to access markschemes, model answers, and AI grading.
1Determine3 marks
2026
Determine the methods a Seat class in a cinema system should offer.
Markscheme and model answer locked
Unlock Question2Explain4 marks
2026
Explain why a well-designed interface makes a class easier to change.
Markscheme and model answer locked
Unlock Question3Determine3 marks
2026
Determine whether a Car and an Engine should be related by inheritance or association, and justify your answer.
Markscheme and model answer locked
Unlock Question4Suggest4 marks
2026
Suggest how a class called StudentManager that stores students, prints reports and sends emails should be redesigned.
Markscheme and model answer locked
Unlock Question5Choose1 mark
2026
Choose what a static attribute belongs to.
Markscheme and model answer locked
Unlock Question6Explain2 marks
2026
Explain why two objects of the same class can hold different values.
Markscheme and model answer locked
Unlock Question7Outline2 marks
2026
Outline what accessor and mutator methods are.
Markscheme and model answer locked
Unlock Question8Explain4 marks
2026
Explain why passing an object to a method is different from passing a number.
Markscheme and model answer locked
Unlock Question9Determine3 marks
2026
Determine what happens when a method sets an object parameter to a new object.
Markscheme and model answer locked
Unlock Question10Explain3 marks
2026
Explain what a null reference is and why it causes errors.
Markscheme and model answer locked
Unlock Question11Explain4 marks
2026
Explain why encapsulation is not primarily a security measure.
Markscheme and model answer locked
Unlock Question12Suggest4 marks
2026
Suggest why creating very large numbers of small objects can affect performance.
Markscheme and model answer locked
Unlock Question13Explain4 marks
2026
Explain how encapsulation helps when a class's internal representation changes.
Markscheme and model answer locked
Unlock Question14Choose1 mark
2026
Choose what happens when one object reference is assigned to another variable.
Markscheme and model answer locked
Unlock Question15Choose1 mark
2026
Choose the problem with making an attribute public.
Markscheme and model answer locked
Unlock Question16Choose1 mark
2026
Choose the relationship between a Library and the Books it holds.
Markscheme and model answer locked
Unlock Question17Outline2 marks
2026
Outline the purpose of a constructor.
Markscheme and model answer locked
Unlock Question18Explain4 marks
2026
Explain two benefits of the object-oriented approach.
Markscheme and model answer locked
Unlock Question20Define1 mark
2026
Define object-oriented programming.
Markscheme and model answer locked
Unlock QuestionReady to practice Topic 7.1?
Get instant AI feedback on your answers, view detailed markschemes, and track your progress across all IB Computer Science topics.
Start Practising Now