CS1 Python Midterm

CS1 Python Midterm

Assessment

Flashcard

Computers

KG - 8th Grade

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.

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():

Back

def draw_heart():

5.

FLASHCARD QUESTION

Front

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

Back

def drawShape():

6.

FLASHCARD QUESTION

Front

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

Back

def draw_nose():

7.

FLASHCARD QUESTION

Front

Which is the proper way to call a function?

Back

Media Image

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?