Variables and Booleans Quiz

Variables and Booleans Quiz

14 Qs

quiz-placeholder

Similar activities

8th Grade Unit 4 Lesson 02 Quiz

8th Grade Unit 4 Lesson 02 Quiz

KG - University

13 Qs

Lesson six - Sensing

Lesson six - Sensing

KG - University

17 Qs

UNIT 1 - Grade 4. Know Your Computer

UNIT 1 - Grade 4. Know Your Computer

KG - University

15 Qs

Computer Assesment 1

Computer Assesment 1

4th Grade

15 Qs

CSP Unit 4 Review

CSP Unit 4 Review

KG - University

15 Qs

Review 1

Review 1

KG - University

17 Qs

Light and Matter

Light and Matter

KG - University

18 Qs

Variables and Booleans Quiz

Variables and Booleans Quiz

Assessment

Quiz

others

Medium

Created by

Dadre Rudolph

Used 1+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is a variable called a 'variable'?
Because it can store multiple types of data
Because its value can change
Because it is stored in memory
Because it is unique to the program

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using unique variable names in a program?
To store different types of data
To make the code easier to read and debug
To ensure the variable can change its value
To store data in computer memory

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a type of variable?
Boolean
String
Sprite
Memory

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a Boolean variable represent?
A number
A word or sentence
A true or false value
An object

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do Boolean operators affect decision-making in computers?
They allow computers to store data
They enable computers to perform calculations
They help computers make logical decisions
They allow computers to display information

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Boolean operator would you use to check if both conditions are true?
AND
OR
NOT
PLUS

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the expression '5 < 3'?
True
False
5
3

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?