100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
College aantekeningen

GCSE OCR Computer Science Paper 2 Revision Notes

Beoordeling
-
Verkocht
-
Pagina's
17
Geüpload op
09-02-2025
Geschreven 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

Instelling
Vak

Voorbeeld van de inhoud

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

Geschreven voor

Instelling
Studie
Vak
School jaar
1

Documentinformatie

Geüpload op
9 februari 2025
Aantal pagina's
17
Geschreven in
2023/2024
Type
College aantekeningen
Docent(en)
N/a
Bevat
Alle colleges

Onderwerpen

€5,09
Krijg toegang tot het volledige document:

100% tevredenheidsgarantie
Direct beschikbaar na je betaling
Lees online óf als PDF
Geen vaste maandelijkse kosten

Maak kennis met de verkoper
Seller avatar
matildabaines

Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
matildabaines London School of Business and Finance
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
0
Lid sinds
1 jaar
Aantal volgers
0
Documenten
26
Laatst verkocht
-

0,0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen