O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

comp ch5

David Berman 12 perguntas

Fazer o quiz

Perguntas do quiz (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. AVerdadeiro
    2. BFalso
  8. 8Determine whether the following expression would evaluate to true or false?

    (9 ≠ 13 AND 12 < 4) OR 15 < 9
    1. AVerdadeiro
    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)

Informações

Descrição
Quiz sobre comp ch5, criado por David Berman em 02-12-2019.
Idioma
English
Visualizações
0
Etiquetas
12th grade
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?