
GCSE Computer Science Paper 2: Topic 2.2
Authored by Matthew Kelsall
Computers
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a subroutine in programming?
A specific type of variable
A named block of code designed to perform a specific task
A user interface element
A type of data structure
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between a procedure and a function?
A procedure returns a value, while a function does not
A procedure can use parameters, but a function cannot
A function returns a value, while a procedure does not
A function can only be called once
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of variable is accessible only within the subprogram it is declared in?
Parameter
External variable
Global variable
Local variable
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is it important to use sensible naming conventions in programming?
To comply with legal requirements
To reduce memory usage
To increase processing speed
To enhance code readability and maintainability
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of indentation in programming?
To enhance the visual appeal of the code
To indicate the start of a new function
To show the hierarchy of code blocks
To increase the execution speed of the program
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does indexing in an array refer to?
Increasing the size of the array
Deleting an element from the array
Accessing an element using its position
Changing the value of an element
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'for' loop in array processing typically do?
It reduces the size of the array
It accesses each element of the array sequentially
It shuffles the elements randomly
It deletes elements from the array
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?