Introduction to Python - Input, Output and Math

Introduction to Python - Input, Output and Math

1st - 6th Grade

10 Qs

quiz-placeholder

Similar activities

Entering Text

Entering Text

3rd Grade

10 Qs

Online safety

Online safety

5th Grade

8 Qs

Grade 2- PA1

Grade 2- PA1

2nd Grade

10 Qs

Sheet lesson 3

Sheet lesson 3

4th Grade

10 Qs

KSK2023 ulangkaji v1.1 (1-6)

KSK2023 ulangkaji v1.1 (1-6)

KG - University

15 Qs

MS Word (G4)

MS Word (G4)

4th Grade

10 Qs

ICT Quiz 1

ICT Quiz 1

3rd Grade

10 Qs

Computer Software

Computer Software

1st - 2nd Grade

15 Qs

Introduction to Python - Input, Output and Math

Introduction to Python - Input, Output and Math

Assessment

Quiz

Computers

1st - 6th Grade

Practice Problem

Easy

Created by

Khadeeja Haji

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To get user input in Python you use the command ..................

insert

input

add

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is the right way to get input from the user?

print("Type your name: ")

int("Type your name: ")

name = input("Type your name: ")

"Type your name: "

Answer explanation

To get information from the user, the command we use is called INPUT

The right way to use the input command is:

yourVariableName = input("Tell the user what you want them to type in these quotations: ")

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = "Dave"

print (name)

Dave

'Dave'

name

(name)

4.

FILL IN THE BLANK QUESTION

3 mins • 2 pts

What can you put in the blank to output 5?

variable = 5

print(___________)

5.

OPEN ENDED QUESTION

3 mins • 2 pts

Make a variable called num that has the value 500

Evaluate responses using AI:

OFF

Answer explanation

To make a variable, we need to write the name of the variable, in this case num then an = and then what we want to put in it:

num = 500

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What's the output for this code:

a = 5

b = 3

print(a+b)

8

2

4

1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output for this code?

a = 2

b = 3

print(a**b)

5
6

a**b

8

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?