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.
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
25 questions
Unions in C Programming
Quiz
•
10th Grade
25 questions
Повторение файлы и устройства ПК 7 класс
Quiz
•
7th Grade - University
25 questions
Topic 1: Computational thinking, level 2
Quiz
•
9th Grade
25 questions
Kiến thức về hiệu ứng trình chiếu
Quiz
•
9th Grade - University
27 questions
ONE 6th FORM U3 Social Media - Canva
Quiz
•
11th Grade
26 questions
Hardware Komputer
Quiz
•
10th Grade - University
25 questions
DDPK - Ulangan
Quiz
•
10th Grade
25 questions
Keamanan Jaringan 1
Quiz
•
11th Grade
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
