Quiz
Conditionals
Este quiz tem tipos de pergunta que abrem no player de sempre.
Perguntas do 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.
- AVerdadeiro
- BFalso
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
Informações
- Descrição
- Quiz sobre Conditionals, criado por Code Ramp em 12-04-2018.
- Autor
- Code Ramp
- Idioma
- English
- Visualizações
- 513
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz