Practice Programming Finals
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
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.
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
39 questions
Earth's structure review
Flashcard
•
KG - University
44 questions
Vocabulary Flashcards
Flashcard
•
10th Grade
40 questions
KIMIA - USP 2023/2024
Flashcard
•
12th Grade
55 questions
Financial Terms Flashcards (by ktagara)
Flashcard
•
10th Grade - University
48 questions
Câu Hỏi Ôn Tập Kiểm Tra Giữa Kỳ 1
Flashcard
•
12th Grade
39 questions
113 國二翰林B3U1天氣與日常對話測驗
Flashcard
•
10th Grade
35 questions
DOMINIO Y RANGO DE FUNCIONES ALGEBRAICAS
Flashcard
•
12th Grade
45 questions
Present simple- present continuous
Flashcard
•
6th Grade - University
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade