Thinking Abstractly (OCR A Level Computer Science): Exam Questions

32 mins8 questions
13 marks

A text-based computer game allows a user to dig for treasure on an island. The island is designed as a grid with 10 rows and 20 columns to store the treasure. Each square is given an x and y coordinate. Some of the squares in the grid store the name of a treasure object. Each treasure object has a value, e.g. 100 and a level, e.g. "Bronze."

The computer game makes use of abstraction.

Give three benefits of using abstraction when writing a program.

Did this page help you?

23 marks

A programmer is developing an aeroplane simulator. The user will sit in a cockpit and the simulated environment will be displayed on screens around them.

The programmer uses computational methods to design a solution for the program.

Give three potential differences between the abstracted aeroplane simulator and reality

Did this page help you?

33 marks

Taylor is creating an online multiplayer game where users can create accounts and build their own circus. Each circus will contain characters such as clowns, animals, magicians and dancers.

Users can set up a new circus in the online world, purchase new characters and visit other users’ circuses.

Taylor uses computational methods to analyse the problem including abstraction.

Describe how Taylor could use abstraction in the design of his online circus game.

Did this page help you?

43 marks

A text-based computer game allows a user to dig for treasure on an island. The island is designed as a grid with 10 rows and 20 columns to store the treasure. Each square is given an x and y coordinate. Some of the squares in the grid store the name of a treasure object. Each treasure object has a value, e.g. 100 and a level, e.g. "Bronze."

The computer game makes use of abstraction

Describe what is meant by the term abstraction and give an example of how abstraction can be used in the treasure game.

Did this page help you?

5a2 marks

A programmer is developing an aeroplane simulator. The user will sit in a cockpit and the simulated environment will be displayed on screens around them.

The programmer uses computational methods to design a solution for the program.

Complete the table by writing a definition for each computational method.

Computational Method

Definition

Abstraction

Decomposition

5b2 marks

Identify two reasons why abstraction is used when designing a solution to the problem.

Did this page help you?

63 marks

Kira is creating a computer game where the user can play against the computer.

In each turn, each character can make one move from a selection of possible moves.

Kira uses a tree data structure shown in Fig. 1 to identify the range of possible moves the computer can make from starting position A. Each connection is a move, with each node representing the result of the move.

Diagram of a tree structure with node A as the root, branching to B, C, and E. Further branches connect B to D and I, C to F and G, E to H, and G to J.

State what is meant by the term ‘abstraction’ and describe how Kira has used abstraction in her design of the tree.

Did this page help you?

74 marks

OCR-Tickets wants to sell tickets for their concerts, plays and other events online. A customer should be able to create an account and then be able to log into their account. Once logged in, customers should be able to carry out actions such as setting their preferences and purchase tickets.

OCR-Tickets have hired a software development company to create the system for them.

The system requirements have a number of features that mean they are solvable by computational methods, such as decomposition.

Explain why decomposition can help the development of the program.

Did this page help you?

89 marks

Discuss the importance of abstraction in solving computational problems, using examples from different domains.

Evaluate its impact on both the:

  • developer

  • end-user experience

Did this page help you?