Lesson 04 Number Wizard UI
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Thomas Maher
Used 15+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
When using Random.Range(min, max) where min is an integer of 1 and max is an integer of 5, what are are the possible values we can return?
1, 2, 3, 4
0, 1, 2, 3, 4
0, 1, 2, 3, 4, 5
1, 2, 3, 4, 5
2.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
When creating standalone PC/Mac builds it's always good manners to provide players with an easily accessible way to quit the game.
True
False
3.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Using "Application.Quit() pretty much does nothing when used in the editor.
True
False
4.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Application.Quit() always needs to be connected to a button and this is done using a public method.
True
False
5.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
The following function call will return random values in what range?int result = Random.Range(0, 7);
1, 2, 3, 4, 5, 6
0, 1, 2, 3, 4, 5, 6
1, 2, 3, 4, 5, 6, 7
1 or 7 only
6.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
When using Random.Range() with integers, min is inclusive and max is exclusive.
True
False
7.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
When displaying our guess to the player, why do we need to use ToString() and not just display our integer as it is?
To avoid the issue where our number has too many decimal places to display within our text box.
Because we are presenting both words and numbers in our guess box and need a way to combine those values.
We are using a text field so we can make our guess font look pretty, and our text field requires data as a string.
So that we can confuse the player, keep them guessing.
Create a free account and access millions of resources
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
25 questions
PTS ASJ
Quiz
•
11th Grade
35 questions
Quiz 1 EmpTech
Quiz
•
11th Grade
25 questions
Basis Data
Quiz
•
11th Grade
28 questions
Data Representation 1
Quiz
•
10th Grade
25 questions
Legal and Ethical Computing Quiz
Quiz
•
9th Grade
25 questions
Year 9 Hardware Assessment
Quiz
•
9th Grade
25 questions
2.3 Robust Programs
Quiz
•
9th - 11th Grade
25 questions
Komputer Akuntansi Manufaktur
Quiz
•
12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
