Edexcel GCSE Computer Science Exam
Question & Answers
What is a character? - Correct Answers ✅A letter,number or symbol
on a given character set
What is a string? - Correct Answers ✅A sequence of characters
What is casting? - Correct Answers ✅Changing the data type of a
variable
What is a count-controlled loop? - Correct Answers ✅A loop that
repeats a specific number of times (FOR loops)
What is a condition controlled loop? - Correct Answers ✅A loop that
runs until a condition is met (WHILE loops)
When would you use a variable? - Correct Answers ✅When a value
might need to change while the program is running
When would you use a constant? - Correct Answers ✅When a value
would not need to change while while the program is running
Why are constants useful? - Correct Answers ✅Readability and easier
to update
,Edexcel GCSE Computer Science Exam
Question & Answers
What is a subprogram? - Correct Answers ✅A block of code that
performs a specific task
What are libraries? - Correct Answers ✅Collections of pre-written
subprograms for specific purposes
What is a local variable? - Correct Answers ✅A variable that is
declared inside a function or procedure so can be accessed within the
subprogram
What is a global variable? - Correct Answers ✅A variable that can be
accessed from anywhere
Do functions return a value? - Correct Answers ✅Yes
Do procedures return a value? - Correct Answers ✅No
What is an array? - Correct Answers ✅A data structure with one or
more elements of the same type (have a fixed length only contain
elements of the same data type)
What is an index? - Correct Answers ✅A position within an array
, Edexcel GCSE Computer Science Exam
Question & Answers
What is a 1D array? - Correct Answers ✅An array that stores data in
one direction (horizontal)
What is a 2D array? - Correct Answers ✅An array that stores data
horizontally and vertically (indexed with two numbers)
Why is it good to close files after use? - Correct Answers ✅It frees up
resources,prevents corruption and flushes the buffer
What's does MOD do? - Correct Answers ✅Gives remainder
What does DIV do? - Correct Answers ✅Shows how many times x
goes into y (23 DIV 5 = 4)
What does the Boolean operator NOT do? - Correct Answers ✅The
opposite of the input
What does the Boolean operator OR do? - Correct Answers ✅If one
side is true then the output is true
What does the Boolean operator AND do? - Correct Answers ✅Both
sides have to be true for the output to be true
Question & Answers
What is a character? - Correct Answers ✅A letter,number or symbol
on a given character set
What is a string? - Correct Answers ✅A sequence of characters
What is casting? - Correct Answers ✅Changing the data type of a
variable
What is a count-controlled loop? - Correct Answers ✅A loop that
repeats a specific number of times (FOR loops)
What is a condition controlled loop? - Correct Answers ✅A loop that
runs until a condition is met (WHILE loops)
When would you use a variable? - Correct Answers ✅When a value
might need to change while the program is running
When would you use a constant? - Correct Answers ✅When a value
would not need to change while while the program is running
Why are constants useful? - Correct Answers ✅Readability and easier
to update
,Edexcel GCSE Computer Science Exam
Question & Answers
What is a subprogram? - Correct Answers ✅A block of code that
performs a specific task
What are libraries? - Correct Answers ✅Collections of pre-written
subprograms for specific purposes
What is a local variable? - Correct Answers ✅A variable that is
declared inside a function or procedure so can be accessed within the
subprogram
What is a global variable? - Correct Answers ✅A variable that can be
accessed from anywhere
Do functions return a value? - Correct Answers ✅Yes
Do procedures return a value? - Correct Answers ✅No
What is an array? - Correct Answers ✅A data structure with one or
more elements of the same type (have a fixed length only contain
elements of the same data type)
What is an index? - Correct Answers ✅A position within an array
, Edexcel GCSE Computer Science Exam
Question & Answers
What is a 1D array? - Correct Answers ✅An array that stores data in
one direction (horizontal)
What is a 2D array? - Correct Answers ✅An array that stores data
horizontally and vertically (indexed with two numbers)
Why is it good to close files after use? - Correct Answers ✅It frees up
resources,prevents corruption and flushes the buffer
What's does MOD do? - Correct Answers ✅Gives remainder
What does DIV do? - Correct Answers ✅Shows how many times x
goes into y (23 DIV 5 = 4)
What does the Boolean operator NOT do? - Correct Answers ✅The
opposite of the input
What does the Boolean operator OR do? - Correct Answers ✅If one
side is true then the output is true
What does the Boolean operator AND do? - Correct Answers ✅Both
sides have to be true for the output to be true