Search Header Logo

Python Test 1

Authored by Sudeep Joshi

Computers

6th - 8th Grade

Used 5+ times

Python Test 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

print
input
output
command

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used in python to assign values to a variable?

equals =
plus + 
forward slash /
asterisk *

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = "Dave"

print (name)

Dave

'Dave'

name

(name)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement correctly assigns the string "Tanner" to the variable name?

name  = print( "Tanner")
input("Tanner")
name = "Tanner"
name = input("Tanner")

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What Python command lets the user enter an answer to a question?

answer()
open()
print()
input()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In the following code, "city" is an example of a what?

List
Loop
Variable
Array

7.

MULTIPLE CHOICE QUESTION

30 sec • 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?