• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 80 pages
Exam (elaborations)

A-Level OCR Computer Science Paper 2 / OCR A Level Computer Science Paper 2

Document preview thumbnail
Preview 4 out of 80 pages

A-Level OCR Computer Science Paper 2 / OCR A Level Computer Science Paper 2

Content preview

A-Level OCR
Computer Science Paper 2 /
OCR A Level Computer
Science Paper 2

,Give an example of a switch/case branch with the use of a
default statement - ANS-switch Month: case "Jan": print("1")
case "Feb": print("2") default:
print("invalid month")
end switch


What is computational thinking? - ANS-The ability to think
logically about a problem in a way a computer can execute it and
apply techniques for solving it using a set of problem solving
methods.


Why is computational thinking important? - ANS-As many
overarching problems are very difficult to understand


What is the aim of computational thinking? - ANS-To be able to
make an overarching problem understood and then formally
represented and solved

What does computational thinking require? - ANS-
Computational thinking requires algorithmic thinking

,What stages does algorithmic thinking require? - ANS-
Understanding the problem
- Formulate the problem

- Design an algorithm

- Implement the algorithm

- Run the code and solve the original problem



What does formulating the problem entail? - ANS-Producing a
concise representation of the problem using abstraction and/or
mathematical notation


What is abstraction? - ANS-Abstraction is the process of
removing the unnecessary details and leaving only the key
elements of a problem to allow focus on the essential features
making an overarching problem easier and potentially faster to
solve giving an alternate representation of reality


Give examples of abstraction - ANS-- Variables
- Objects

- Layers

, - Data models

- Data structures

- entity-relationship diagrams



What is data abstraction? - ANS-Data abstraction is using a
data structure without being concerned how it's implemented


Give an example of data abstraction - ANS-creating a stack in a
subroutine without having to know how they will be implemented


What is generalisation? - ANS-Generalisation is a part of the
abstraction process by grouping together items with similar
features that are relevant to the problem (i.e. ignoring irrelevant
features).


What can sometimes be deduced from generalisation? - ANS-
From generalisation a common approach that may already exist
or can be created can be discovered which can then be reused
to solve similar problems

Document information

Uploaded on
November 3, 2026
Number of pages
80
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$21.19

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
12
Followers
0
Items
1143
Last sold
3 weeks ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions