Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

C# part 2 en

Total questions: 5

Worksheet time: 3mins

Name
Class
Date
1.

What does this command do?

a)

converts something from one data type to other data type

b)

makes a phrase

c)

converts something to data type 'int'

d)

it's not a command it is a variable

2.

what three kind of "if" are in C#?

a)

if

b)

esle if

c)

else

d)

elif

3.

Which of these "if" commands is writen coretly?

a)

if a<b:

b)

if a < b:

c)

if(a<b):

d)

if(a < b):

4.

In witch kind of brackets will be an operation of the "if" command?

a)

{ }

b)

[ ]

c)

( )

d)

no brackets

5.

What if "if" command will return "False"?

a)

computer will automaticly go to "else" part

b)

computer will do "else if" part

c)

computer will do next operations

d)

the program will stop