Exam 5: Boolean Logic in Programming

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

The conditions that exist in branching and looping routines are a form of ____.

(Multiple Choice)
4.7/5
(34)

In 1854, George Boole, the first Professor of Mathematics at Queen's College in Cork, Ireland, published a book titled An Investigation into the Laws of Thought, on Which are Founded the Mathematical Theories of Logic and Probabilities.

(True/False)
4.7/5
(34)

The symbol "____" in stands for "is less than."

(Multiple Choice)
4.9/5
(39)

The AND and OR operations are ____ operations, meaning that they need two operands.

(Multiple Choice)
4.8/5
(30)

A ____ returns a value based on the distance from one object to another.

(Multiple Choice)
5.0/5
(31)

In Boolean algebra, the symbol ____ stands for greater than or equal to.

(Multiple Choice)
4.7/5
(37)

The ____ code is based on the English language.

(Multiple Choice)
4.8/5
(40)

The ____ operation is a unary operation.

(Multiple Choice)
5.0/5
(44)

In 1858, George Boole's original book was republished as An Investigation of the Laws of Thought.

(True/False)
4.9/5
(33)

In Alice, ____ are used to mark the beginning and end of the block of code within the loop.

(Multiple Choice)
4.8/5
(30)

Alice has math comparison functions that can be found on world's functions tab, along with the AND, OR, and NOT functions.

(True/False)
4.9/5
(33)

The following Boolean expression is correct: not false = false.

(True/False)
4.8/5
(28)

A ____ returns a value of true or false.

(Multiple Choice)
4.8/5
(39)

Branching and looping routines contain conditions that are either true or false.

(True/False)
4.8/5
(39)

Unicode can be used as collating sequences for character string values.

(True/False)
4.9/5
(35)

When testing an Alice world, the speed slider control, in the playing world window, can be used to speed things up a bit.

(True/False)
4.9/5
(35)

A ____ is a function that returns a true or false value instead of a numeric value.

(Multiple Choice)
4.8/5
(32)

In Boolean algebra, the symbol ____ stands for less than.

(Multiple Choice)
4.8/5
(42)

Which of the pseudocode statements below best expresses the following warning message? The passenger-side air bag may cause injury to children who are under the age of 12 or who weigh less than 48 pounds. They should not sit in the front passenger seat of this car.

(Multiple Choice)
5.0/5
(35)

In Boolean algebra, the symbol ____ stands for not equal.

(Multiple Choice)
4.7/5
(38)
Showing 21 - 40 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)