Python   Inputs

Python Inputs

9th - 12th Grade

11 Qs

quiz-placeholder

Similar activities

Python Lesson 1 - Homework

Python Lesson 1 - Homework

8th - 9th Grade

10 Qs

Python Casting and Input

Python Casting and Input

8th - 11th Grade

15 Qs

N5 SDD - Python input and output

N5 SDD - Python input and output

7th - 11th Grade

12 Qs

Python

Python

9th Grade

15 Qs

GCSE Computer Science - Programming Keywords

GCSE Computer Science - Programming Keywords

9th - 12th Grade

15 Qs

1.2 Basic String Manipulation

1.2 Basic String Manipulation

9th Grade

10 Qs

Python Introduction Quiz

Python Introduction Quiz

8th - 9th Grade

12 Qs

Y9 - Module 2 - KT1 Python Basics

Y9 - Module 2 - KT1 Python Basics

9th Grade

14 Qs

Python   Inputs

Python Inputs

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Gustavo Perez

Used 37+ times

FREE Resource

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

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?