Quiz
Conditionals
Dieses Quiz enthält Fragetypen, die sich im gewohnten Player öffnen.
Fragen in diesem Quiz (5)
1A [blank_start]boolean[blank_end] expression can evaluate to one of two values: a true or a false.
- Aboolean
2Which of the following are examples of comparison operators?
- A>=
- B===
- C>>
- D<
3Which of the following is the logical operator meaning `OR`?
- A!==
- B||
- C<>
- D!
4If 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.
- ARichtig
- BFalsch
5What are some style best practices when it comes to if/else statements?
- AWrapping your condition in parentheses
- BIndenting the body of your if/else statement (the stuff between the {})
- CEnding your if/else statement with a semicolon
- DPutting your whole if/else statement on one line
Informationen
- Beschreibung
- Quiz am Conditionals, erstellt von Code Ramp am 12/04/2018.
- Autor
- Code Ramp
- Sprache
- English
- Aufrufe
- 513
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz