SLR1: Programming Basics (AQA A Level)

SLR1: Programming Basics (AQA A Level)

11th Grade

21 Qs

quiz-placeholder

Similar activities

CPU & LMC

CPU & LMC

7th - 11th Grade

20 Qs

Programming Basics

Programming Basics

9th - 12th Grade

21 Qs

GCSE Computer Science: Programming (Python)

GCSE Computer Science: Programming (Python)

9th - 12th Grade

25 Qs

Javascript Basics Test

Javascript Basics Test

7th - 12th Grade

20 Qs

Fundamentals of Programming (GCSE Computer Science AQA)

Fundamentals of Programming (GCSE Computer Science AQA)

9th - 11th Grade

22 Qs

Python Basics - yr 9

Python Basics - yr 9

9th - 12th Grade

18 Qs

Python year 9

Python year 9

8th - 11th Grade

20 Qs

Computer Science

Computer Science

9th - 12th Grade

20 Qs

SLR1: Programming Basics (AQA A Level)

SLR1: Programming Basics (AQA A Level)

Assessment

Quiz

Computers

11th Grade

Easy

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?