Lesson 4 - Number System Flashcards
Number System
It is a number system that we use in everyday life and has base 10.
Decimal number system
This term comes from the latin word “bi,” meaning two and has base 2.
Binary
This uses base 10 numbering system
Decimal
This uses base 2 numbering system
Binary
In Python, _______ operators are used to combine multiple conditions together and evaluate them as a single boolean expression.
Logical
if A = T and B = T,
T or F?
T
if A = T and B = F,
T or F?
F
if A = F and B = T,
T or F?
F
if A = F or B = T,
T or F?
T
if A = F and B = F,
T or F?
F
if A = T or B = F,
T or F?
T
if A = T or B = T,
T or F?
T
if A = F or B = F,
T or F?
F
The \_\_\_
operator returns True
if both conditions it is evaluating are true, otherwise it returns False
and
In Python, the ‘_______’ operator is used to combine two or more conditions in a logical expression. The resulting expression evaluates to True if at least one of the conditions is True.
or