Search Header Logo

CSP - Units 3 & 4

Authored by Justin Loomis

Computers

9th - 12th Grade

Used 10+ times

CSP - Units 3 & 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In C#, which symbol means "and"?

||

!!

%%

&&

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In C#, which symbol means "or"?

||

&&

!!

##

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In C#, which symbol means "not"?

&

|

!

%

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type can be either True or False?

int

float

bool

String

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these code segments adds 1 to the variable X and stores the result as the new value?

X + 1

X = 1

X += 1

X = X

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code segment correctly access the game object's collider?

GetComponent<Collider>()

GetCollider()

gameObject.Collider

Collider.Get()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these variables is visible to other classes?

public float speed

private int players

private bool isAlive

private String name

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?