
CS 1 - Unit 4
Authored by Karen Kikuchi
Computers
9th - 11th Grade
Used 40+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
About
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).
Content View
Student View
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
Access all questions and much more by creating a free account
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
21 questions
CPA MS-Office Hotkeys Quiz
Quiz
•
8th Grade - Professio...
20 questions
Interactive Media
Quiz
•
10th Grade
21 questions
AQA 4.6.4 Logic Gates and Circuits
Quiz
•
11th Grade
21 questions
GarageBand / Logic Shortcuts
Quiz
•
11th Grade
20 questions
4Q Q1 RR L5 Comp 9
Quiz
•
9th Grade
20 questions
G11 ITGS Test 1 Revision
Quiz
•
11th - 12th Grade
20 questions
Online Platform Block Q
Quiz
•
11th - 12th Grade
20 questions
Keyboard Quiz
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade