Search Header Logo

Basic Python and Console Interaction

Authored by Bradley Vogel

Computers

9th Grade

CCSS covered

Used 39+ times

Basic Python and Console Interaction
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 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

45 sec • 1 pt

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

equals =
plus + 
forward slash /
asterisk *

Tags

CCSS.6.EE.B.6

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these would work as a piece of code?

IF answer == "Yes":
if answer == "Yes"
if answer == "Yes":
if answer = "yes":

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

How would you assign an integer to a variable?

new_var = 4
new_var == 4
new_var = "4"
new var "4"

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which symbol do we use if we want to add a comment to our code?

@
#
*
&

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

How would would you print a text string?

output "Hello!"

print "Hello!"

print (Hello!)

output (Hello!)

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

To create a variable named new_var and assign it a value of 81 divided by 9, which statement would you use?

new_var = 81 \ 9
new_var = "81 / 9"
new_var = "81 \ 9"
new_var = 81 / 9

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?