Understanding Variables and Constants Quiz

Understanding Variables and Constants Quiz

9th Grade

20 Qs

quiz-placeholder

Similar activities

Microsoft Word Basics Quiz

Microsoft Word Basics Quiz

9th Grade

16 Qs

Quiz 1-15

Quiz 1-15

9th - 12th Grade

15 Qs

Diagnostic Test Computer Science

Diagnostic Test Computer Science

9th Grade

20 Qs

ETECH 2ND QUARTER QUIZ

ETECH 2ND QUARTER QUIZ

9th - 12th Grade

20 Qs

Database Concepts and MS Access Assessment

Database Concepts and MS Access Assessment

8th Grade - University

15 Qs

NPA Business Methods of Production

NPA Business Methods of Production

8th Grade - University

15 Qs

Video Game Programming and Design Questions

Video Game Programming and Design Questions

9th - 12th Grade

20 Qs

Activity - Task Completion and Safety

Activity - Task Completion and Safety

9th Grade - University

20 Qs

Understanding Variables and Constants Quiz

Understanding Variables and Constants Quiz

Assessment

Quiz

Information Technology (IT)

9th Grade

Medium

Created by

John Heatley

Used 3+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in programming?

A value that never changes

A value that can change

A type of computer

A kind of keyboard

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a constant?

The number of days in a week

The score in a game that keeps changing

The name of a player that can be changed

The temperature outside

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of using variables in a program?

To store changing information

To make the computer look nice

To print out the same thing every time

To slow down the program

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an example of selection in programming?

Adding two numbers together

Printing a message only if a condition is true

Storing a value in a variable

Writing your name

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you want to store the number of apples in a basket, which would you use?

Variable

Constant

Keyboard

Monitor

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a good example of a constant in a school programme?

The number of months in a year

The number of students in a class

The score in a football match

The temperature in the classroom

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does selection allow a program to do?

Repeat the same thing over and over

Make decisions based on conditions

Store information

Draw pictures

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?