CS 1 - Unit 4

CS 1 - Unit 4

9th - 11th Grade

25 Qs

quiz-placeholder

Similar activities

System Computer : Al-Azhar

System Computer : Al-Azhar

9th - 12th Grade

20 Qs

logic gates lecture question week 5.1

logic gates lecture question week 5.1

10th - 11th Grade

20 Qs

ICT 9 Q3 M2 Quiz

ICT 9 Q3 M2 Quiz

9th Grade

20 Qs

Stage 5E Explorers-Scratch Quiz

Stage 5E Explorers-Scratch Quiz

5th Grade - University

20 Qs

list 6th

list 6th

7th Grade - University

20 Qs

From Binary To Denary Conversion - IGCSE

From Binary To Denary Conversion - IGCSE

7th Grade - Professional Development

20 Qs

Yr7- Understanding computers Lessons 1-3

Yr7- Understanding computers Lessons 1-3

7th - 11th Grade

20 Qs

2nd Monthlly Summative Test Computer 10

2nd Monthlly Summative Test Computer 10

10th Grade

20 Qs

CS 1 - Unit 4

CS 1 - Unit 4

Assessment

Quiz

Computers

9th - 11th Grade

Practice Problem

Medium

Created by

Karen Kikuchi

Used 39+ times

FREE Resource

About this resource

This quiz covers intermediate computer programming concepts with a focus on event-driven programming and graphics manipulation using the CMU Graphics library in Python. The material aligns with a high school level introduction to computer science course, specifically targeting grades 9-11. Students need to understand fundamental programming constructs including conditional statements (if-elif-else), event handlers (onKeyPress, onKeyRelease, onMousePress), object-oriented programming concepts with shape methods and properties, function definitions and calls, variable naming conventions, and global variable declarations. The quiz assesses students' ability to trace through code execution, predict program output, understand method syntax and proper calling conventions, distinguish between built-in and custom properties, and analyze the layering and transparency of graphical objects on a canvas. Created by Karen Kikuchi, a Computers teacher in US who teaches grade 9-11. This comprehensive assessment serves multiple instructional purposes, functioning effectively as a unit review quiz, formative assessment tool, or homework assignment to reinforce key programming concepts from Unit 4. Teachers can deploy this quiz as a warm-up activity to activate prior knowledge before introducing more advanced topics, or use it as a diagnostic tool to identify areas where students need additional support with event handling and graphics programming. The quiz structure makes it ideal for both individual practice and collaborative learning environments where students can discuss their reasoning for different answers. The content directly supports CSTA K-12 Computer Science Standards, particularly 1A-AP-10 (developing programs with sequences and simple loops), 1A-AP-11 (decomposing steps needed to solve a problem), and 1A-AP-15 (creating programs using variables to store and modify data), while also addressing higher-level standards like 1B-AP-13 (using and adapting existing code segments) and 1B-AP-08 (comparing and refining multiple algorithms for the same task).

See more

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which of the following is drawn if we press the right arrow key ?

Purple circle

Green star

Blue rectangle

Nothing

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which of the following is drawn if we press the 'r' key?

Purple circle

Green star

Blue rectangle

Nothing

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which of the following is drawn if we press the up arrow key and then the ' s ' key?

Purple circle and green star

Green star and blue rectangle

Purple circle and blue rectangle

Nothing

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following results in a call to onKeyPress?

pressing the h key

releasing the h key

calling onKeyRelease(‘h’) in a test case

calling onMousePress in a test case

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following shape methods takes in an x and y coordinate as its parameters?

hits

hitsShape

contains

both 'hits' and 'contains'

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is false about custom properties?

They can be added to any shape

Must be named something not used by CMU Graphics already

Custom app properties can also be defined

None of these options.

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is not a valid custom property for a circle called player?

player.count

player.fill

player.score

player.turn

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

Already have an account?