GCSE COMPUTER SCIENCE OCR LATEST ACTUAL EXAM
QUESTIONS AND ANSWERS SURE A+
✔✔Iteration - ✔✔Also known as repetition, or looping.
A section of code repeats until a condition is no longer met.
Eg. FOR Loop or WHILE Loop
✔✔FOR Loop - ✔✔A section of code repeats for a set number of iterations
✔✔WHILE Loop - ✔✔A section of code repeats forever until a condition is no longer
met
✔✔IF Statement - ✔✔A section of code will only be run if a condition is true
✔✔Python - ✔✔A High Level Programming language that allows humans to create
programs using code that is closer to natural language than machine code (binary)
✔✔JavaScript - ✔✔A High Level Programming Language that is generally used on web
pages. This is called Client Side Scripting
✔✔Abstraction - ✔✔Removing details from a solution so that it can work for many
problems
✔✔Decomposition - ✔✔A technique used for dividing and subdividing the project scope
and project deliverables into smaller, more manageable parts.
✔✔ String - ✔✔A word or phrase
✔✔Concatenation - ✔✔taking separate strings & sticking them together into one string
✔✔Integer - ✔✔A data type which is a whole number
✔✔int() - ✔✔The Python function which takes a string & casts it to an integer
✔✔Real / Float - ✔✔A decimal number
✔✔float() - ✔✔The Python function which takes a string or integer & casts it to a
decimal number
✔✔Input - ✔✔The name given to the user typing into the screen
✔✔x=input() - ✔✔Python code : The variable called x will now hold the value of what
the user types
QUESTIONS AND ANSWERS SURE A+
✔✔Iteration - ✔✔Also known as repetition, or looping.
A section of code repeats until a condition is no longer met.
Eg. FOR Loop or WHILE Loop
✔✔FOR Loop - ✔✔A section of code repeats for a set number of iterations
✔✔WHILE Loop - ✔✔A section of code repeats forever until a condition is no longer
met
✔✔IF Statement - ✔✔A section of code will only be run if a condition is true
✔✔Python - ✔✔A High Level Programming language that allows humans to create
programs using code that is closer to natural language than machine code (binary)
✔✔JavaScript - ✔✔A High Level Programming Language that is generally used on web
pages. This is called Client Side Scripting
✔✔Abstraction - ✔✔Removing details from a solution so that it can work for many
problems
✔✔Decomposition - ✔✔A technique used for dividing and subdividing the project scope
and project deliverables into smaller, more manageable parts.
✔✔ String - ✔✔A word or phrase
✔✔Concatenation - ✔✔taking separate strings & sticking them together into one string
✔✔Integer - ✔✔A data type which is a whole number
✔✔int() - ✔✔The Python function which takes a string & casts it to an integer
✔✔Real / Float - ✔✔A decimal number
✔✔float() - ✔✔The Python function which takes a string or integer & casts it to a
decimal number
✔✔Input - ✔✔The name given to the user typing into the screen
✔✔x=input() - ✔✔Python code : The variable called x will now hold the value of what
the user types