Input, Output, Variables and Operators

Input, Output, Variables and Operators

5th Grade

20 Qs

quiz-placeholder

Similar activities

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

python_1

python_1

5th - 12th Grade

22 Qs

Pyhton Input and Output Basics

Pyhton Input and Output Basics

5th Grade

20 Qs

Python : Codeathon Competition

Python : Codeathon Competition

5th - 8th Grade

15 Qs

Python Quiz For Starters

Python Quiz For Starters

3rd Grade - Professional Development

17 Qs

Aahaan : Python Live Assessment

Aahaan : Python Live Assessment

5th - 7th Grade

20 Qs

Basic Python Quiz for Beginners

Basic Python Quiz for Beginners

3rd - 6th Grade

20 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?