GCSE Computer Science Paper 2: Topic 2.2

Interactive Video
•
Computers
•
10th Grade
•
Medium

Matthew Kelsall
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
AP Computer Science A Review 1

Quiz
•
10th - 12th Grade
15 questions
IF and Vlookup Function

Quiz
•
9th - 10th Grade
15 questions
Javascript

Quiz
•
10th - 12th Grade
8 questions
Numpy Revision Test

Quiz
•
10th Grade
16 questions
Introduction to Programming (Ch2)

Quiz
•
9th - 12th Grade
10 questions
python

Quiz
•
10th Grade
10 questions
Programming - Arrays

Quiz
•
2nd - 12th Grade
10 questions
Reshaping & vStack&hstack( )

Quiz
•
9th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade