Quiz: Controlling Logical Flow
Try this self-check quiz to test your knowledge!
Which operator indicates "OR" in a conditional?
||
&&
!==
||
symbol indicates "OR" in a conditional.Which are valid comparison operators in a conditional assertion?
==
===
!=
@@
==
, ===
, and !=
are valid comparison operators.What are the three parts of a standard for
loop declaration?
for
loop declaration are: Initializer, Exit Condition, Final Expression.What is the preferred way to loop through an Array?
for
loopwhile
looplist
loopfor ... of
loopfor ... of
loop is preferred for iterating through an Array.True or False: Conditionals can be nested?
Visit Quiz Online
The quiz on this page has been removed from your PDF or ebook format. You may take the quiz by visiting this book online.