Python -- Inputs

Python -- Inputs

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

6 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is an input?

Back

A function that allows us to ask the user to enter some data.

2.

FLASHCARD QUESTION

Front

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

Back

Your name is Bob

3.

FLASHCARD QUESTION

Front

What, if anything, is wrong with the following block of code?
input("Type your password: ")

Back

There is no variable

4.

FLASHCARD QUESTION

Front

What, if anything, is wrong with the following block of code?
input = x("Type your password: ")
print(x)

Back

The variable x is never defined

5.

FLASHCARD QUESTION

Front

What, if anything, is wrong with the following block of code?
x = input("Type your password: ")
print("You typed", x)

Back

Nothing is wrong

6.

FLASHCARD QUESTION

Front

What, if anything, is wrong with the following block of code?
x = input("Type your password: ")
print("You typed " + x)

Back

Nothing is wrong