Search Header Logo

Input, Output, Variables and Operators

Computers

5th Grade

Used 205+ times

Input, Output, Variables and Operators
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these stores a piece of data, and gives it a specific name?

variable

whitespace

interpreter

modulo

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type than can have one of two values: True or False?

boolean

variable

modulo

interpreter

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which example is the correct way to write a variable in Python and and assign it a value?

my_variable = 10

my variable = 10

my_variable is 10

my_variable: 10

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type can store numbers, letters and symbols?

String

Integer

Float

Boolean

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is the most suitable to store a whole number?

String

Integer

Boolean

Float

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the print function do in python?

It's a variable.
It can input data.
It displays something like a string or integer
It loops the code.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello world!")

SyntaxError
Hello world!
"Hello world!"
print(Hello world!)

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?