Python Basics

Python Basics

6th - 8th Grade

35 Qs

quiz-placeholder

Similar activities

Python Course Selection

Python Course Selection

7th - 11th Grade

31 Qs

Swift Playgrounds Test

Swift Playgrounds Test

7th Grade

35 Qs

Term 3-SAO:Class test #1

Term 3-SAO:Class test #1

7th Grade

30 Qs

Year 8 - Python Quiz

Year 8 - Python Quiz

8th Grade

31 Qs

Python Quiz

Python Quiz

5th - 12th Grade

40 Qs

Beginner Course 1 Final Quiz

Beginner Course 1 Final Quiz

6th - 12th Grade

38 Qs

CH-5

CH-5

7th Grade

30 Qs

Cryptography Quiz

Cryptography Quiz

7th Grade

30 Qs

Python Basics

Python Basics

Assessment

Quiz

Computers, Other

6th - 8th Grade

Hard

Created by

Jorge Nava Gutierrez

Used 14+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?