Practice Programming Finals

Flashcard
•
Computers
•
9th - 12th Grade
•
Medium
Used 1+ times
FREE Resource
Student preview

50 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is an event in coding?
Back
An action that causes something to happen.
Answer explanation
An event in coding refers to an action that causes something to happen, such as a user clicking a button or a timer expiring. This is the correct definition, distinguishing it from errors or other concepts.
2.
FLASHCARD QUESTION
Front
What will the robot do when Hannah clicks "Run"?
Back
Moves forward 5 times
Answer explanation
The code instructs the robot to move forward a specific number of times. Since it is set to move forward 5 times, when Hannah clicks 'Run', the robot will execute this command and move forward 5 times.
3.
FLASHCARD QUESTION
Front
What do we call a sneaky error in a program that stops it from running as expected?
Back
bug
Answer explanation
The sneaky error in Scarlett and Arjun's program is called a 'bug'. Bugs are common in software development and can cause programs to behave unexpectedly.
4.
FLASHCARD QUESTION
Front
What is the process called when Elijah and Grace work together to find and fix errors in their new computer program?
Back
debugging
Answer explanation
The process of finding and fixing errors in a computer program is called debugging. Elijah and Grace are engaged in this essential task to ensure their program runs smoothly.
5.
FLASHCARD QUESTION
Front
Arjun and David are helping the bird reach the sneaky pig! They’ve written some code, but something’s not quite right. Can you spot what needs to be fixed in their code to help the bird catch the pig? Options: Remove a move forward block, Add a move forward block, Change the first turn block to left, Change the second turn block to left
Back
Change the second turn block to left
Answer explanation
The second turn block needs to be changed to left to correctly direct the bird towards the pig. This adjustment ensures the bird follows the right path to reach its target.
6.
FLASHCARD QUESTION
Front
What kind of loop should Michael use to make sure the robot keeps spinning while the music is on?
Back
while loop
Answer explanation
Michael should use a while loop because it allows the robot to keep spinning as long as a condition is true, in this case, while the music is playing. This ensures continuous action until the music stops.
7.
FLASHCARD QUESTION
Front
Which loop command repeats an action only until a certain condition becomes true?
Back
until loop
Answer explanation
James and Olivia should use an 'until loop' because it repeats an action until a specified condition becomes true, which fits their requirement perfectly.
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
Intro to Anatomy

Flashcard
•
9th - 12th Grade
39 questions
Intro to CS Final Fall 2025

Flashcard
•
9th Grade - University
41 questions
Unit 5: Control Structures Review

Flashcard
•
9th Grade
50 questions
Spring Final Principles 2025

Flashcard
•
10th Grade - University
48 questions
Python Semester Independant Review 2

Flashcard
•
9th - 12th Grade
49 questions
AP CSP Sem 1 Review Dec 2024

Flashcard
•
10th - 12th Grade
50 questions
Computer Science Multiple Choice Review

Flashcard
•
9th - 12th Grade
50 questions
AP Computer Science Big Idea Terms

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade