C# Quiz for Beginners

C# Quiz for Beginners

10th Grade

20 Qs

quiz-placeholder

Similar activities

LO13_Python Lesson 2

LO13_Python Lesson 2

10th Grade

15 Qs

Python Quiz 1

Python Quiz 1

9th - 12th Grade

22 Qs

Unit 2 Lesson 4 Python Basics Quiz

Unit 2 Lesson 4 Python Basics Quiz

9th - 12th Grade

15 Qs

CSP Python Review

CSP Python Review

9th - 12th Grade

25 Qs

Endless Runner Check-In [Parts 1 - 5]

Endless Runner Check-In [Parts 1 - 5]

9th - 12th Grade

20 Qs

Основы C#. часть1 (Переменные, операторы)

Основы C#. часть1 (Переменные, операторы)

8th Grade - University

25 Qs

Python Programming 1: print, strings, variables, casting

Python Programming 1: print, strings, variables, casting

9th Grade - University

15 Qs

X-Flowchart, Variabel, dan Tipe Data

X-Flowchart, Variabel, dan Tipe Data

10th Grade

20 Qs

C# Quiz for Beginners

C# Quiz for Beginners

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Aiden Rappoport

Used 5+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which one is the correct way to write a if statement using a Boolean.

if(myBool == true)

//code

if(myBool)

{

//code

}

if(myBool = true)

{

//code

}

if(myBool)

//code

2.

FILL IN THE BLANK QUESTION

1 min • 5 pts

You must use a double _____ ____ when you want to write an if statement using a float that equals 1.

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What type of Variable supports decimals?

float

boolean

interger

string

4.

FILL IN THE BLANK QUESTION

1 min • 5 pts

_____ variable = 1.5f;

5.

FILL IN THE BLANK QUESTION

1 min • 5 pts

______ variable = "Text";

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What would this code do?
if (myFloat == 5)

{

myFloat = 0;

}

If myFloat is equal to 5, then make myFloat equal 0.

If myFloat is greater than or equal to 5, then make myFloat equal 0.

When myFloat is equal to 5, then make myFloat equal 0.

When myFloat is greater than or equal to 5, then make myFloat equal 0.

7.

FILL IN THE BLANK QUESTION

1 min • 5 pts

____ variable = true;

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?