C# Quiz for Beginners

Quiz
•
Computers
•
10th Grade
•
Hard
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
Similar Resources on Wayground
24 questions
AGAD: UNIT 4_C# & UNITY

Quiz
•
9th - 12th Grade
20 questions
Programming

Quiz
•
9th - 11th Grade
15 questions
C++ INTRODUCCIÓN

Quiz
•
10th Grade
15 questions
Programming python review

Quiz
•
9th - 12th Grade
15 questions
Grade 8 End of Unit Revision

Quiz
•
8th Grade - University
15 questions
CodeHS - Intro to Python - Conditionals Quiz

Quiz
•
9th Grade - Professio...
20 questions
TEST1.PY

Quiz
•
10th Grade - University
15 questions
Python Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade