Search Header Logo

Python Inputs

Authored by Gustavo Perez

Computers

9th - 12th Grade

Used 47+ times

Python   Inputs
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

3 mins • 1 pt

What, if anything, is wrong with the following?

x=input("Type your password: ")

print("You typed " + x)

The variable should be switched with the input command

You can't use + in print statements

You can't print x

Nothing is wrong

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What can be used to store information and values so that it can be used later?

Graphic

Variable

print

output

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What, if anything, is wrong with the following?

x=input("Type your password: ")

print("You typed", x)

The variable should be switched with the input command

You can't use commas in print statements

You can't print x

Nothing is wrong

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What, if anything, is wrong with the following?

input=x("Type your password: ")

print(x)

The variable should be switched with the input command

Input commands don't need ( )

You can't print x

Nothing is wrong

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the word (command) used to display numbers and text on the screen?

print

show

output

command

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

name=input("What is your name? ")

print("Your name is " + name)

What will be displayed if the user types in "Bob"?

Your name is name

name

Bob

Your name is Bob

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What would print (10 + 16) produce?

10

16

24

26

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?