WorksheetsAQA GCSE Computer Science Paper 1
Total questions: 193
Worksheet time: 2hrs 37mins
What is the result of 7 MOD 5?
1.5
2
1
1.4
What is the result of 10 DIV 3 ?
3
3.33
4
4.0
10 > 3 AND 6 < 8
TRUE
FALSE
5 == 6 OR 10 > 5
TRUE
FALSE
By designing the user interface
You can program without functions and procedures
Subroutines will only be called when they're needed and they can be called multiple times
Better use of advanced programming techniques
Better use of global variables
The focus is only on the relevant details that will be useful for modules/users
Listing the variables to avoid global variables
Subroutines will only be called when they're needed
Decomposes the problem into smaller sub-problems
Global and local variables
13. Which of the following situations is structured programming essential?
When implementing a large project that will be edited by one or more people, ensuring all modules are interfaced correctly
When doing a project that will span over a long period of time
For making code in a team and sharing snippets of code to each other to make different programs
15. Which of the following is untrue about Structured programming?
It can be difficult for people to collaborate as each person might use different variables
Structured Programming uses many subroutines
By using Structured Programming, people can easily find the root of problems in the code
You go into the Structured Store and press install
First you need to install the programming language then check if the Structured UIL is compatible with it
Rust
18. What will this code do? for item in reversed(s)
Iterate over all the items of s returning an index
19. What is an alternative method to structured programming?
Object-Orientated Programming
Fantasy Programming
Item-Approach Programming
Sensible Programming
The length of the code
Whether to use flowcharts of pseudocode
Removing unnecessary details from a problem is...
An algorithm
Abstraction
Decomposition
A program
Breaking a problem down into smaller sub-problems that can be solved is...
An algorithm
Abstraction
Decomposition
A program
To display text on screen using Python would use the code
enter
output
input
To allow the user to enter some code in Python would use
enter
output
input
Which type of sorting algorithm uses a 'divide and conquer' technique?
Bubble
Merge
Linear
Binary
Which searching algorithm requires the list to be 'in order'?
Bubble
Merge
Linear
Binary
Which data type allows you to store numbers with decimal places?
integer
string
boolean
real
Which data type allows only true or false values to be stored?
integer
string
boolean
real
What is the name given to a place that you can store a single piece of data that has a fixed value that cannot be changed in the program?
variable
constant
assignment
array
What is the name given to the act of giving a value to a variable or constant?
assignment
identifier
abstraction
instantiation
What is the term used to describe the execution of statements one after the other?
iteration
selection
sequence
order
What is the term used to describe repeating sections of code?
iteration
selection
sequence
order
What is the term used to describe making decisions in a program?
iteration
selection
sequence
order
What type of loop would you use in Python if you want to keep asking a question until the correct answer is given?
for
while
repeat
What number do we begin counting at in an array when using Python?
0
1
2
3
What data structure do we use to store multiple items of data under a single identifier?
file
variable
array
index
What word means to join multiple strings together?
substring
instantiation
adding
concatenation
What is the name of a sub-routine that does NOT return a value?
structured
function
procedure
parameter
What type of test data is one that is of the wrong data type or is outside the expected values?
normal
erroneous
boundary
extreme
What is the short form of "Integer"?
INT
CHAR
STR
BOOL
What are the numerical values of the 2 boolean values?
1 and 0
-1 and 1
1 and 2
Any numbers
How much memory is taken up by a Character?
1 byte
1 bit
4 bits
8 bits
What's another name for a float?
Real
There isn't
Nybble
Byte
Which one is a boolean?
False
while
and
if
Which of these isn't an integer?
66.6
69
0
-999
Which of these will take up more memory
all numbers from 1 to 5
10 Boolean questions
3.141
The alphabet
Logic errors in programs are...
...errors in program statements that mean the outcome is unexpected, even though the program will run
...errors in the algorithm that means the outcome is expected, even though the program will run
...errors in the algorithm that means the outcome is unexpected, even though the program will run
...errors in the algorithm that means the outcome returns nothing as the program will not run
Syntax is a set of rules that defines how program statements must be written in order for the translator to understand them. A syntax error is...
...an error in the spelling of program statements
...an error in the format of the program statements such as missing keywords
...an error in the format of the program statements such as missing semi-colons or keywords spelt incorrectly
...an error in the punctuation of program statements
An assembler translator...
...converts assembly language programs into machine code
...converts programs created in any language into machine code
...converts programs created in any high level language into machine code
An interpreter is a translator that converts high level languages into machine code. It does this by...
...working three lines at a time, checking syntax, converting to machine code and executing the code
...working one line at a time, converting to machine code, checking syntax and executing the code
...working one line at a time, checking syntax, converting to machine code and executing the code
...working three lines at a time, converting to machine code, checking syntax and executing the code
