CS1: Unit 3 Review

Quiz
•
Computers
•
10th Grade
•
Medium
Linda Pchelka
Used 15+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
During a computer science class, Jackson, Ethan, and Scarlett are learning about mouse events in Python. They come across the onMouseMove(x, y) function. What would this function do if they were to use it in their code?
A) It would be called when the mouse is pressed and moved
B) It would run code only if a certain condition is true
C) It would be called every time the mouse is moved, regardless of whether it's pressed or not
D) It would define a helper function for handling mouse events
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Zoe is playing a video game and she wants to move her character. When will the onMouseDrag(x, y) function be called in her game controller?
A) When Zoe clicks a button on the controller
B) When Zoe releases a button on the controller
C) When Zoe presses a button and moves the joystick
D) When Zoe's controller is stationary
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Harper, Mia, and Emma are working on a group project. They want to display a message only when a certain condition is met. Which programming concept should they use?
A) Defining helper functions
B) Using an if statement
C) Handling mouse events
D) Running code regardless of any condition
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Kai is writing a program and he comes across an 'if' statement. He notices some code indented after the 'if' statement. Aria and Maya are discussing what this indented code might do. What do you think is the purpose of this indented code?
A) It helps Kai define a helper function
B) It runs regardless of the condition of the 'if' statement
C) It is called the body and runs only if the condition in the 'if' statement is true
D) It is used for handling mouse events in Kai's program
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Anika has 5 apples and Liam gives her some more. Which test checks if the total number of apples Anika has now is less than or equal to the number of apples William has?
A) (Anika's apples < William's apples)
B) (Anika's apples <= William's apples)
C) (Anika's apples == William's apples)
D) (Anika's apples >= William's apples)
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Avery, Charlotte, and Anika are working on a coding project. They are using an 'if-else' statement. What happens to the code in the 'else' body of their program?
A) It runs only if the condition in the previous 'if' statement is false
B) It runs regardless of the condition in the previous 'if' statement
C) It defines a helper function
D) It handles mouse events
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
David is writing a program to automate his home's lighting system. He wants the lights to turn on only if it's dark outside. Which programming concept should he use to achieve this?
A) Defining helper functions
B) Testing multiple conditions in a row
C) Running code only if the mouse is pressed
D) Handling mouse events
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Computer Concepts Vocabulary

Quiz
•
8th - 12th Grade
13 questions
2.5 Translators & Facilities - OCR GCSE Computer Science

Quiz
•
7th - 12th Grade
14 questions
GCSE Computing Low & High Level Languages/IDE's

Quiz
•
10th - 11th Grade
12 questions
CodeHS Unit 1

Quiz
•
9th - 12th Grade
20 questions
Python Basics & Syntax

Quiz
•
10th - 12th Grade
10 questions
Flowcharting

Quiz
•
6th - 11th Grade
15 questions
Unit3 JavaScript Basics Quiz

Quiz
•
10th Grade
10 questions
Primary Storage

Quiz
•
4th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade