SLR1: Programming Basics (AQA A Level)

Quiz
•
Computers
•
11th Grade
•
Easy
H Malaney
Used 5+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a data type in programming?
A type of algorithm
A classification of data which tells the compiler or interpreter how the programmer intends to use the data
A type of error
A type of function
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a Boolean data type?
42
"Hello"
True
3.14
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary difference between an integer and a real/float data type?
Integers can store decimal values, while real/float cannot
Real/float can store decimal values, while integers cannot
Both can store decimal values
Neither can store decimal values
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a user-defined data type?
Integer
String
Class
Boolean
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a variable declaration in programming?
To execute a loop
To define a constant value
To allocate memory for a variable and define its data type
To perform arithmetic operations
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a selection statement?
for loop
if-else statement
while loop
function call
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between definite and indefinite iteration?
Definite iteration has a fixed number of repetitions, while indefinite iteration does not
Indefinite iteration has a fixed number of repetitions, while definite iteration does not
Both have a fixed number of repetitions
Neither have a fixed number of repetitions
Create a free account and access millions of resources
Similar Resources on Wayground
23 questions
GCSE Python Programming Basics

Quiz
•
11th Grade
20 questions
Python - lists,loops,basics

Quiz
•
9th - 11th Grade
20 questions
iGCSE Computer Science: Programming Languages

Quiz
•
9th - 12th Grade
25 questions
GCSE Computer Science: Programming (Python)

Quiz
•
9th - 12th Grade
20 questions
Javascript Basics Test

Quiz
•
7th - 12th Grade
18 questions
FOR and WHILE loop in Python

Quiz
•
9th - 12th Grade
20 questions
Python year 9

Quiz
•
8th - 11th Grade
20 questions
CPU & LMC

Quiz
•
7th - 11th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade