Python Basics

Python Basics

6th - 8th Grade

35 Qs

quiz-placeholder

Similar activities

Year 8 Python

Year 8 Python

6th Grade

30 Qs

Scratch and Python

Scratch and Python

7th Grade

30 Qs

Programming Techniques

Programming Techniques

8th - 10th Grade

30 Qs

Variables, Arrays, For Loops, and Functions Review

Variables, Arrays, For Loops, and Functions Review

6th - 8th Grade

35 Qs

Swift Playgrounds Test

Swift Playgrounds Test

7th Grade

35 Qs

Programming Basic 1

Programming Basic 1

8th Grade

30 Qs

Year 8 CAT

Year 8 CAT

8th Grade

40 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?