Lesson 04 Number Wizard UI

Lesson 04 Number Wizard UI

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

PTS PKWU 6

PTS PKWU 6

12th Grade

25 Qs

TLJ.xii

TLJ.xii

12th Grade

25 Qs

2ND QTR-QUIZ 5-Feedback Using Google Form-12-7-2022

2ND QTR-QUIZ 5-Feedback Using Google Form-12-7-2022

11th Grade

25 Qs

Java Review

Java Review

9th Grade - University

25 Qs

Quiz Jaringan Komputer

Quiz Jaringan Komputer

11th Grade

25 Qs

Kelas 11-TIK7-Corel Draw

Kelas 11-TIK7-Corel Draw

11th Grade

25 Qs

PENILAIAN AKHIR SEMESTER KELAS 9 MAPEL TIK

PENILAIAN AKHIR SEMESTER KELAS 9 MAPEL TIK

9th Grade

25 Qs

HTML Fundamentals

HTML Fundamentals

10th - 12th Grade

25 Qs

Lesson 04 Number Wizard UI

Lesson 04 Number Wizard UI

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Thomas Maher

Used 15+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?