wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Unity & C-Sharp Quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What type of Variable supports desimals

a)

float

b)

boolean

c)

interger

d)

string

2.

How do you write a Variable in C-Sharp?

a)

var myVariable = 10

b)

var myVariable = 10;

c)

int myVariable = 10;

d)

local myVariable = 10

3.

What game engine mainly uses C-Sharp

a)

Godot

b)

Unreal Engine

c)

Roblox Studio

d)

Unity

4.

How to write if Statements in C-Sharp?

a)

<?php if ($a > $b) { echo "a is bigger than b"; $b = $a; } ?>

b)

if myVariable == 10 then

c)

if(myVarible == 10){ //code here

}

d)

if myVariable == 10:

#code here

5.

(super easy) which one is the C-Sharp logo?

a)
b)
c)
d)
6.

What coding Language is This Quiz about?

a)

C++

b)

Python

c)

C#

d)

LUA

7.

How to make a Loop in C-Sharp

a)

<?php for ($i = 0; $i < 10; $i++) { echo $i."<br>"; } ?>

b)

for i in range(10):

#code here

c)

for (int i = 0; i < 10; i++)

{

//code here

}

d)

for i in pairs(tbl) do

-- code here

end

8.

How to make Functions in C-Sharp?

a)

function myFunction(){

//code here

}

b)

function myFunction()

--code here

end

c)

void myFunction(){

//code here

}

d)

def myFunction(): #code here

9.

Do you like using C-Sharp?

a)

Yes

b)

No

10.

What game was made with Unity?

a)

Minecraft

b)

Piggy

c)

Amongus

d)

Geometry-Dash