Python Basics Quiz

Python Basics Quiz

7th Grade

20 Qs

quiz-placeholder

Similar activities

MAGNITUDES FÍSICAS

MAGNITUDES FÍSICAS

1st - 10th Grade

18 Qs

Cromliniau hydoddedd / Solubility curves

Cromliniau hydoddedd / Solubility curves

7th - 12th Grade

16 Qs

DRILL #1

DRILL #1

7th Grade

20 Qs

Lessons 1-3

Lessons 1-3

6th - 8th Grade

15 Qs

Matter

Matter

5th - 8th Grade

15 Qs

Unit 5: Periodic Table

Unit 5: Periodic Table

KG - University

17 Qs

Unit 6 lesson 5-7 Review

Unit 6 lesson 5-7 Review

7th - 9th Grade

17 Qs

Python Basics Quiz

Python Basics Quiz

Assessment

Quiz

Chemistry

7th Grade

Practice Problem

Hard

Created by

Kathleen Mitchell

Used 53+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an Integer in Python?

Values that can be either True or False.

Numbers with a decimal point.

Whole numbers without a decimal point.

A sequence of characters enclosed in quotes.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a Floating-Point Number?

Alice

3.14

True

5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a String in Python?

Values that can be either True or False.

Whole numbers without a decimal point.

A sequence of characters enclosed in quotes.

Numbers with a decimal point.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Boolean in Python?

Whole numbers without a decimal point.

A sequence of characters enclosed in quotes.

Numbers with a decimal point.

Values that can be either True or False.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in Python?

A fun way to draw pictures and shapes using code.

A command in Python that tells the computer to display text.

A container for storing data.

A block of code that performs a specific task.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct way to create a variable?

5 = length

if = 10

name = 'Alice'

print = 'Hello'

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a rule for naming variables?

Start with a letter or an underscore.

Use letters, numbers, and underscores.

Variable names are case-sensitive.

Use Python's reserved words as variable names.

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?