Search Header Logo

Python Programming

Authored by Tracy Mayhead

Computers

7th - 9th Grade

Used 1K+ times

Python Programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = "Dave"

print (name)

Dave

name

"Dave"

(name)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a input?

To plug in something

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

Data displayed on a screen

A routine

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable must have been assigned (given) a value before that value is referenced (used).

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The correct way to convert user input is:

birth_year = number(input())

birth_year = int(input())

birth_year = (input(int))

birth_year = int(input)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To display the following on screen Hello World! the following command should be used:

print(Hello World!)

print("Hello World" + !)

print("Hello World!")

print"(Hello World!)"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You assign a value to a variable with which symbol

@

==

=

*

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The code you use to receive and input from the keyboard

enter()

add()

receive()

input()

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?