Input, Output, Variables and Operators

Input, Output, Variables and Operators

5th Grade

20 Qs

quiz-placeholder

Similar activities

python_1

python_1

5th - 12th Grade

22 Qs

Python Quiz 1

Python Quiz 1

1st - 12th Grade

18 Qs

Python : Codeathon Competition

Python : Codeathon Competition

5th - 8th Grade

15 Qs

Basic Python Quiz for Beginners

Basic Python Quiz for Beginners

3rd - 6th Grade

20 Qs

Print command Quiz Day2

Print command Quiz Day2

5th - 12th Grade

16 Qs

Quiz1_7C

Quiz1_7C

3rd Grade - University

15 Qs

Python Series

Python Series

1st - 5th Grade

15 Qs

Python 101

Python 101

1st - 5th Grade

15 Qs

Input, Output, Variables and Operators

Input, Output, Variables and Operators

Assessment

Quiz

Computers

5th Grade

Medium

Used 183+ times

FREE Resource

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!)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Computers