
CS 1 - Unit 4
Quiz
•
Computers
•
9th - 11th Grade
•
Practice Problem
•
Medium
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
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
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
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
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
22 questions
Steve Jobs
Quiz
•
6th - 12th Grade
20 questions
Python básico
Quiz
•
9th - 12th Grade
20 questions
HTML QUIZ # 3
Quiz
•
10th Grade
21 questions
Visual Basic Assessment
Quiz
•
11th - 12th Grade
20 questions
CORLANG Week6-7
Quiz
•
10th Grade - University
20 questions
IT Chapter 1-3 Review
Quiz
•
11th Grade
20 questions
GCE CPA Paper 1 Section A 2022-SP
Quiz
•
10th Grade
20 questions
Google SketchUp Tool
Quiz
•
KG - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
