null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
13251885
Conditionals
Description
Quiz on Conditionals, created by Code Ramp on 12/04/2018.
No tags specified
toefl
Quiz by
Code Ramp
, updated more than 1 year ago
More
Less
Created by
Code Ramp
over 6 years ago
479
0
0
Resource summary
Question 1
Question
A [blank_start]boolean[blank_end] expression can evaluate to one of two values: a true or a false.
Answer
boolean
Question 2
Question
Which of the following are examples of comparison operators?
Answer
>=
===
>>
<
Question 3
Question
Which of the following is the logical operator meaning `OR`?
Answer
!==
||
<>
!
Question 4
Question
If you want to include a catchall block of code that would run anytime your `if` condition did not pass, you would use an `else if` block.
Answer
True
False
Question 5
Question
What are some style best practices when it comes to if/else statements?
Answer
Wrapping your condition in parentheses
Indenting the body of your if/else statement (the stuff between the {})
Ending your if/else statement with a semicolon
Putting your whole if/else statement on one line
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
B1 Conditionals recap
Esther Alabart
Conditional Sentences Quiz .
Ricky Rutledge
CONDITIONAL SENTENCES
Amaia García
Conditionals
Luis Alcaraz
JavaScript Fundamentals
Andrew Watters
Second Conditional
Oscar Alonso Baquero Gutierrez
Conditionals
Maria Campos
Mixed conditionals (2nd & 3rd)
Jessica Viviana Toledo
Mixed conditionals
marcommtz17
If clauses conditionals Test
Evelina Gorobet
Chapter 2: If Then Statements and Converses
Lila del Risco
Browse Library