Search Header Logo

1.4 Variables, strings and integers

Authored by Mr Mayer

Computers

9th Grade

Used 20+ times

1.4 Variables, strings and integers
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This code contains variables. What is a variable?

A string

A sentence

A declared storage space

A print command

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Why is a variable called a variable?

It can store letters or symbols

The name of it varies

The value of what ever is stored can not vary

The value of what ever is stored can vary

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What are the names of the two variables in this code?

number & sentenceFinish

number & sentence finish

print

str

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does "int" stand for?

International;

Integer

Internal

Important

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What's the name of the integer variable?

Print

sentenceFinish

number

String

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What's the integer variable storing?

numbers and symbols

text and symbols

The end of a sentence

Number of pupils

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does "str" stand for?

String

integer

Strength

Strategic

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?