Search Header Logo
Quick Python Review

Quick Python Review

Assessment

Flashcard

Computers

11th Grade

Practice Problem

Hard

Created by

FITRI KARIMAH

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

7 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is a variable in Python?

Back

A variable stores data that can be used later in the program.

2.

FLASHCARD QUESTION

Front

How do you get input from the user?

Back

Use the input() function

3.

FLASHCARD QUESTION

Front

How do you display text or values on the screen?

Back

Use the print() function

4.

FLASHCARD QUESTION

Front

How do you make decisions in Python?

Back

Use if, elif, and else statements

5.

FLASHCARD QUESTION

Front

How do you repeat an action a fixed number of times?

Back

Use a for loop with range()

6.

FLASHCARD QUESTION

Front

How do you create and use a function in Python?

Back

Use def to define a function

7.

FLASHCARD QUESTION

Front

How do you write comments in Python?

Back

Use # for single-line comments

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?

Discover more resources for Computers