Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 44 pages
Summary

Summary A Level OCR Computer Science (2.1 & 2.2 Notes)

Document preview thumbnail
Preview 4 out of 44 pages

Boost your exam performance with our top-notch Computer Science Revision Notes, meticulously compiled from official mark schemes of past papers. These concise, exam-focused notes cover all topics in 2.1 & 2.2 of the A Level OCR specification. Save time with clear, organized content that highlights frequently tested areas and common question patterns. Perfect for both quick revisions and in-depth study sessions

Content preview

2.1 Elements of
computational thinking

,Abstraction
Abstraction: The removal of unnecessary detail to simplify a complex
problem.

Need for abstraction:
Abstraction allows programmers to focus on core aspects of the problem and
therefore reduces programming time and complexity of the code.

It also reduces memory and processing requirements.

Difference between abstraction and reality:
Many visual elements such as trees & buildings may be removed or the quality
will be simplified as they are not relevant to the main program.

Instead it will focus on elements which are important / relevant to the program

,Thinking Ahead
Identify Inputs and Outputs:

An input can be any piece of data that an algorithm requires in order to run, usually
passed as a parameter to a subroutine.

An output can be any piece of data returned by the subroutine.

Preconditions for devising a solution:

Preconditions: Requirements that must be met before a program can run

When developing a program:
● Subroutines will need the correct data passed to them
● Input data / actions need to be validated to ensure the program works correctly

, Thinking Ahead: Caching
Caching: When frequently used data is stored so it can be accessed quickly if it's
needed again in the future.

Different parts of the problem can be stored in cache depending on the scenario.

It can speed up retrieval of data, which improves performance / reduces delays.

However, it relies on the same data being searched for, which is not always possible.

Document information

Study Level
Uploaded on
June 21, 2024
Number of pages
44
Written in
2023/2024
Type
Summary
£7.49

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
0
Followers
0
Items
6
Last sold
-




Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed 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