Search Header Logo

Python Basics

Authored by Jorge Nava Gutierrez

Computers, Other

6th - 8th Grade

Used 15+ times

Python Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you define a variable?

var = "string"

def var == "string"

var: 123

var = Hello World

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

integer

output

print

function

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

:

*

=

==

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the end after if statements?

if

elif

else

def

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A line of text that Python won't try to run as code

Integer

Comment

Strings

Input

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correctly-formatted comment?

//Comment

"Comment"

#comment

(comment)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A data type than can have one of two values: True or False

Conditional

Comparator

Function

Boolean

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?