CS1 Python Midterm

CS1 Python Midterm

Assessment

Flashcard

•

Computers

•

KG - 8th Grade

•

Practice Problem

•

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

41 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Write the line of code that will call the function.

Media Image

Back

draw_circle()

2.

FLASHCARD QUESTION

Front

Write the line of code that will define the function, draw_coin

Back

def draw_coin():

3.

FLASHCARD QUESTION

Front

Do you call or define a function first?

Back

define

4.

FLASHCARD QUESTION

Front

Rewrite this line of code correctly! Options: def draw_heart():

Media Image

Back

def draw_heart():

5.

FLASHCARD QUESTION

Front

Rewrite this line of code correctly! (Hint: combine the words 'draw' and 'shape' into one word)

Media Image

Back

def drawShape():

6.

FLASHCARD QUESTION

Front

Rewrite this line of code correctly! Options: def draw_nose():

Media Image

Back

def draw_nose():

7.

FLASHCARD QUESTION

Front

Which is the proper way to call a function?

Back

Media Image

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?