Search Header Logo

variable

Authored by Kanika yadav

Education, Life Skills, Computers

KG - 5th Grade

Used 10+ times

variable
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What do we use variables for?

for storing data.

for printing commands.

for comment

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

what will be the answer of this question

Num = 90

Num = 20

print(Num)

110

100

20

80

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which statement correctly assigns the string "Tanner" to the variable name?

name  = print( "Tanner")
input("Tanner")
name = "Tanner"

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In the following code, what type of variable is being created?

foo = 3.5

Integer

Float

String

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

which one of these variable is wrong?

_what = 'hello world'

1what = 'hello world'

what = 'hello world'

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

what is a variable?

a box(container) in which we store values and information.

something we use to print a block of code

a comment

an error

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

x = 5

y = 6

print(x*y)

what will be the answer of the following

11

30

1

0

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?