CISC 101 Chapter Notes - Chapter 3: Boolean Expression, Operand, Bit Field

22 views17 pages

Document Summary

If the condition does not exist, the action is not performed: the diamond symbol represents a true/false condition. If the condition is true, we follow one path, which leads to an action being performed. If the condition is true, the statements that appear in the block following the if clause are executed. If the condition is false, the statements in the block are skipped. If you type a boolean expression at the >>> prompt, the interpreter will evaluate the expression and display its value as either true or false. The == operator: the == operator determines whether the operand on its left is equal to the operand on its right. The != operator: the != operator is the not-equal-to operator, determines whether the operand on its left is not equal to the operand on its right- the opposite of the == operator.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents

Related Questions