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