Python Basics

Python Basics

6th - 8th Grade

35 Qs

quiz-placeholder

Similar activities

Python Programming

Python Programming

5th - 9th Grade

37 Qs

Python and ML Basics

Python and ML Basics

6th Grade - University

30 Qs

Year 8 CAT

Year 8 CAT

8th Grade

40 Qs

Program Development - Python: Code Tracing

Program Development - Python: Code Tracing

8th - 10th Grade

35 Qs

Python Beginner

Python Beginner

6th - 12th Grade

30 Qs

Python Review 2

Python Review 2

8th - 9th Grade

30 Qs

Programming Basic 1

Programming Basic 1

8th Grade

30 Qs

Python Exam

Python Exam

6th - 8th 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?