Python Basics Flashcard

Python Basics Flashcard

Assessment

Flashcard

Computers

8th Grade

Practice Problem

Easy

Created by

Wayground Content

Used 3+ times

FREE Resource

Student preview

quiz-placeholder

11 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the purpose of using parentheses in a function in Python?

Back

To enclose the arguments of the function

2.

FLASHCARD QUESTION

Front

What does the assignment operator do in Python?

Back

It assigns a value to a variable.

3.

FLASHCARD QUESTION

Front

What is an infinite loop in Python?

Back

A loop that never ends

4.

FLASHCARD QUESTION

Front

How does Python indicate which lines of code are inside a loop?

Back

By using a 4-space indent

5.

FLASHCARD QUESTION

Front

What is a variable in Python?

Back

A holder for a value.

6.

FLASHCARD QUESTION

Front

What is the value in the given example "enemy1 = 'Kratt'"?

Back

Kratt

7.

FLASHCARD QUESTION

Front

Which keyword is used to define a function in Python?

Back

def

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?