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