GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

comp ch5

David Berman 12 Fragen

Quiz starten

Fragen in diesem 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. ARichtig
    2. BFalsch
  8. 8Determine whether the following expression would evaluate to true or false?

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

Informationen

Beschreibung
Quiz am comp ch5, erstellt von David Berman am 02/12/2019.
Sprache
English
Aufrufe
0
Schlagwörter
12th grade
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck