Toggle Navigation
Games
Blog
News
Class PIN
Join for Free
Sign in
Toggle Navigation
Games
PIN
Join for Free
Blog
Pricing
News
Contact us
Help center
Sign in
Study
C# Conditionals Review
0
%
0
0
0
Back
Restart
What is the data type?
double (or float)
Oops!
Okay!
True or False?
False
Oops!
Okay!
True or False?
True
Oops!
Okay!
What is the data type for a condition?
boolean
Oops!
Okay!
True or False?
False
Oops!
Okay!
What will be printed to the console?
"Not sure"
Oops!
Okay!
When will the program enter the else clause?
When the if condition is false
Oops!
Okay!
What is the data type?
bool
Oops!
Okay!
What is the data type?
int
Oops!
Okay!
What is the data type?
string
Oops!
Okay!
What will be printed to the console?
"Hold"
Oops!
Okay!
What characters go around the body of an if statement?
Curly brackets
Oops!
Okay!
What is the first keyword needed to create a conditional?
if
Oops!
Okay!
How can a developer check if two things are equal?
==
Oops!
Okay!
What will be printed to the console?
"It is not a great sledding day."
Oops!
Okay!
True or False?
Trick question - neither! Should have two equals signs
Oops!
Okay!
What are the two possible values a boolean can be?
true, false
Oops!
Okay!
What will be printed to the console?
"Good"
Oops!
Okay!
Your experience on this site will be improved by allowing cookies.
Allow cookies