Search Header Logo

Python Programming Basics

Authored by Philip Tall

Computers

7th - 11th Grade

CCSS covered

Used 688+ times

Python Programming Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the word (command) used to display output within Python?

print

input

output

display

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?

A box(memory location) where you store values

A box(memory location) where you store multiple values

Data type

A static memory value

3.

MULTIPLE CHOICE QUESTION

30 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

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?
name = 'Dave'
print (name)

Dave
'Dave'
name
(name)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these would work as a piece of code in Python?

IF answer == "Yes":

if answer == "Yes"

if answer == "Yes":

if answer = "yes":

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to output a message in python?

print ("")

print = ("")

print

Print ("")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What syntax would you use to create a name variable in Python?

name=input()

input=name

name=input{}

name=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?