Test
Conditionals
Este test tiene tipos de pregunta que se abren en el reproductor de siempre.
Preguntas del test (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.
- AVerdadero
- 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
Información
- Descripción
- Test sobre Conditionals, creado por Code Ramp el 12/04/2018.
- Autor
- Code Ramp
- Idioma
- English
- Visitas
- 513
- Etiquetas
- Valoración
- Aún sin valoraciones Valora este test