Search Header Logo

Variables & Lists

Computers

9th - 12th Grade

Used 13+ times

Variables & Lists
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

You assign a VARIABLE by using 

=
" " or ' ' 
[ ]
>

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which statement is NOT correct about variables?

Variables provide a way to label data with a descriptive name
Variables are used to store information that you can refer to and manipulate
Variables are containers that hold values that can change
Variables cannot be displayed

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which statement is NOT correct about variable types

A 'string ' is a group of characters
A 'integer' is a WHOLE number
A 'float' is a DECIMAL number
A 'name' is a proper noun

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

You create a LIST by using 

= __
= [ ]
" " or ' '
List_

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which statement lets you ADD items to a LIST

ListName.append( )
ListName.add( )
ListName.pineapple
ListName + apple

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Lists can be FIXED (once created CONTENTS DO NOT CHANGE) or VARIABLE (CONTENTS CHANGE and can be added anytime in the computer program).

TRUE
FALSE

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The correct way to print 
mystring = 'tomato soup' 
mystring is the variable name
'tomato soup' is the value of the variable

Print tomato soup
print = tomato soup
print (mystring)
PRINT mystring

Access all questions and much more by creating a free account

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

Already have an account?