Search Header Logo

CMU CS Academy Unit 2 Function Call

Authored by Joan Goldberg

Computers

9th Grade

Used 240+ times

CMU CS Academy Unit 2 Function Call
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

About

This quiz focuses on computer programming fundamentals, specifically function calls and code execution in a visual programming environment. Designed for 9th grade computer science students, the questions assess students' ability to trace through code and predict visual outputs when functions are called to draw shapes on screen. Students must understand how function calls work, the sequence of code execution, and how multiple function calls create layered visual elements. The core concepts required include recognizing function syntax, understanding that each function call executes independently, counting the total number of shapes generated by multiple calls, and predicting the visual layering effects when shapes overlap. Students need logical reasoning skills to mentally execute code line by line and spatial reasoning to visualize how shapes will appear when drawn in sequence, particularly understanding that later-drawn shapes appear on top of earlier ones. Created by Joan Goldberg, a Computers teacher in US who teaches grade 9. This quiz serves as an excellent formative assessment tool to gauge students' comprehension of function calls before moving to more complex programming concepts. Teachers can use it as a warm-up activity to activate prior knowledge about functions, as guided practice during instruction on code tracing, or as homework to reinforce lesson concepts about program execution flow. The visual nature of the questions makes abstract programming concepts more concrete and accessible for students who are new to coding. This assessment effectively supports classroom instruction by identifying students who may need additional support with function call syntax or code execution order, allowing teachers to provide targeted interventions. The quiz aligns with CSTA K-12 Computer Science Standards, particularly 1A-AP-10 (developing programs with sequences), 1A-AP-14 (observing intellectual property rights), and 1A-AP-15 (creating programs using variables to store and manipulate data).

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many shapes are drawn according to the code below?

2

3

5

6

8

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many shapes are drawn according to the code below?

2

3

5

6

8

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many shapes are drawn according to the code below?

1

2

3

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many shapes are drawn according to the code below?

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following is drawn when the mouse is released?

Two non-touching circles

red circle covering part of the blue circle

blue circle covering part of the red circle

blue circle covering the red circle

red circle covering the blue circle

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following is drawn when the mouse is released?

Two non-touching circles

red circle covering part of the blue circle

blue circle covering part of the red circle

blue circle covering the red circle

red circle covering the blue circle

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?