¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

comp ch5

David Berman 12 preguntas

Hacer el test

Preguntas del test (12)

  1. 1Which of the following is not a valid value for a boolean?
    1. Atrue
    2. Bfalse
    3. Cyes
    4. DThe above are all valid
  2. 2What symbol represents the and operator in JavaScript?
    1. AAND
    2. Band
    3. C&
    4. D&&
  3. 3What symbol represents the or operator in JavaScript?
    1. AOR
    2. Bor
    3. C|
    4. D| |
  4. 4After the following code runs, what is the value of isWeekend?

    var isSaturday = true;
    var isSunday = false;
    var isWeekend = isSaturday || isSunday;
    1. Atrue
    2. Bfalse
    3. C"isWeekend"
    4. D"isSaturday || isSunday"
  5. 5What is the proper way to compare if two values are equal in a boolean expression in JavaScript?
    1. A=
    2. B==
    3. CEQUALS
    4. DIS
  6. 6What is the proper operator for “not equals” in JavaScript?
    1. A=!
    2. B!=
    3. C~=
    4. DNOT EQUALS
  7. 7Determine whether the following expression would evaluate to true or false?

    7 = 6 OR 8 ≥ 4
    1. AVerdadero
    2. BFalso
  8. 8Determine whether the following expression would evaluate to true or false?

    (9 ≠ 13 AND 12 < 4) OR 15 < 9
    1. AVerdadero
    2. BFalso
  9. 9Which of the following Boolean expressions is equivalent to the expression?

    a AND (b OR c)
    1. A(a AND b) OR c
    2. B(a AND b) AND (a AND c)
    3. C(a AND b) OR (a AND c)
    4. D(b AND c) OR a
  10. 10Which of the following Boolean expressions is equivalent to the expression

    (a OR b) AND NOT (c OR d)
    1. A(a OR b) AND ((NOT c) OR (NOT d))
    2. B(a AND NOT (c OR d)) OR b
    3. C(a OR b) AND (NOT c) AND (NOT d)
    4. DNOT (a AND b) AND NOT (c OR d)

Información

Descripción
Test sobre comp ch5, creado por David Berman el 02/12/2019.
Idioma
English
Visitas
0
Etiquetas
12th grade
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?