COMPSCI 1MD3 Lecture Notes - Lecture 4: Operand, Flowchart, Ipython

36 views3 pages

Document Summary

Evaluates the left operand if the condition b, a boolean expression is true, otherwise the right operand e if b is false. A and b true if a and b are true,false otherwise. True if either or both are true,false otherwise. Exclusive or, true if either b or c are true, but not both, false otherwise not a. If a is true, returns false, if a is false, returns true. Not(b and c) =(not b) or (not c) Z = not(not(x and not (y)) or y) not(not(true and not (false)) or false) not(not(true and true) or false) not(not(true) or false) not(false or false) Used to count the number of permutations n! I, f = 0, 1 while i

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions