Search Header Logo

C# Unity Logic Quiz

Authored by Ashley Lilly

Computers

10th Grade

Used 6+ times

C# Unity Logic Quiz
AI

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

Is this statement true or false?

!(100<=200)

true

false

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type for whole numbers in C#?

int

string

boolean

float

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the symbol used for equality comparison in C#?

!=

==

<=

>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword used to define a conditional statement in C#?

else

maybe

then

if

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the expression

true && false

false

true || false

false && true

true

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword used to check multiple conditions in C#?

switch-case

while loop

for loop

if-else if-else

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the expression '10 == 10 || 5 > 3' in C#?

10

Error

False

True

Access all questions and much more by creating a free account

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?