100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Lecture notes

GCSE OCR Computer Science Paper 2 Revision Notes

Rating
-
Sold
-
Pages
17
Uploaded on
09-02-2025
Written in
2023/2024

Revision notes created by Grade 9 students upon the entire paper 2 content, which is summarised yet provides concise insights to the hardest parts of the spec

Institution
GCSE










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Document information

Uploaded on
February 9, 2025
Number of pages
17
Written in
2023/2024
Type
Lecture notes
Professor(s)
N/a
Contains
All classes

Content preview

Matilda Baines GCSE Computer Science Year 11




GCSE COMPUTER
SCIENCE REVISION
Paper 2 – Programming & Logic




0

,Matilda Baines GCSE Computer Science Year 11


Computational Thinking
Algorithms are sets of instructions for solving a problem or completing a task. To solve a
problem, you would use algorithmic thinking to come up with steps to accomplish the task,
some of the ways in which we make it easier to solve the issue include:
Abstraction involves removing unnecessary detail from a problem so that you can focus on
the essential components.
Decomposition involves breaking down a large problem into
smaller sub-problems. This can then be broken down
further to make it more manageable. You can use a
structure diagram to illustrate this dividing of
problems.




Sequence & Selection
Within programming, there are basic program structures such as sequence, selection and
iteration.
Variable = a memory location that stores a value or data and it can change, depending on
conditions or on information passed into the program.
Constant = a memory location that stores a value or data and it cannot change throughout
the program. It will be always equal to this one value.
All programs follow a series of steps to be followed in a sequence. A basic example of this is:
score1 = int(input(“Enter a score for Round 1: ”)) Basically, sequence is just
score2 = int(input(“Enter a score for Round 2: ”)) following the program in a
chronological way, unless there
print(“The average score is” , (score1+score2)/2) are subroutines
Selection is where a section of code will only if a condition is met. Examples of this in
programming are IF statements. A data type that selects is Boolean: something is either
True or False.
if answer == “a” then
print (“Apple”)
elseif answer == “b” then
print (“Banana”)
else
print (“Nope”)




1

, Matilda Baines GCSE Computer Science Year 11


Iteration
Iteration means the repetition of a section of code, with there being three main types
including:
 for … next
 while … endwhile
 do … until

Iteration enables programmers to greatly simplify a program. Instead of writing out the
same lines of code again and again, a programmer can write a section of code once, and ask
the program to execute it again and again until it is no longer needed.




Flowcharts




A flowchart is a diagram that shows an overview of a program. Flowcharts normally use
standard symbols to represent the different types of instructions. These symbols are used to
construct the flowchart and show the step-by-step solution to the problem. Flowcharts are
sometimes known as flow diagrams.




2
£3.79
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
matildabaines

Also available in package deal

Thumbnail
Package deal
J277 OCR GCSE Notes
-
2 2025
£ 8.28 More info

Get to know the seller

Seller avatar
matildabaines London School of Business and Finance
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
10 months
Number of followers
0
Documents
26
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

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

Frequently asked questions