
Target Clear Game - Part 1
Authored by David Copeland
Computers
12th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'CheckIfUserInputEvaluationIsATarget' function?
To update the targets
To evaluate if the user's input matches a target
To display the score
To remove used numbers.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which library is NOT imported in the code?
re
random
math
sys
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank: The 'Main' function initializes the variable 'TrainingGame' to ____.
A) True
B) False
C) None
D) 0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank: The 'DisplayScore' function is called at the end of the ____ function.
A) Main
B) PlayGame
C) CheckIfUserInputEvaluationIsATarget
D) RemoveNumbersUsed
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the function 'CheckNumbersUsedAreAllInNumbersAllowed', what happens if an item is not found in 'Temp'?
The function returns True
The function returns False
The item is added to 'Temp'
The item is removed from 'Temp'
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the 'ConvertToRPN' function, what is the initial value of 'Position'?
1
0
2
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'EvaluateRPN' function in the code?
To parse user input
To evaluate a mathematical expression in Reverse Polish Notation
To check if user input is valid
To get the target number.
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
15 questions
QUIZZ ACCURATE V5 KELAS XI AKL
Quiz
•
9th - 12th Grade
10 questions
Sociālie tīkli un drošība
Quiz
•
1st - 12th Grade
15 questions
1.1 Computer Systems Essential Knowledge
Quiz
•
9th - 12th Grade
12 questions
ICT Computer Basics pt1
Quiz
•
10th - 12th Grade
10 questions
ระบบทางเทคโนโลยี ม.4
Quiz
•
10th Grade - University
10 questions
Interfejsy USB i bezprzewodowe oraz urządzenia wskazujące i
Quiz
•
9th - 12th Grade
10 questions
ICT as Social Change
Quiz
•
12th Grade
11 questions
Arduino - Contador
Quiz
•
9th 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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade