Skip to main content
Contents Index
Dark Mode Prev Up Next
\(\newcommand{\N}{\mathbb N}
\newcommand{\Z}{\mathbb Z}
\newcommand{\Q}{\mathbb Q}
\newcommand{\R}{\mathbb R}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section 9.11 Logical Expressions in English
We use logical expressions in our language every day. But the way we do so may not translate readily into computer-speak without some extra attention. Remember: computers aren’t humans. They cannot interpret what we might mean. They can only follow predefined rules.
Video Description.
How to translate logical statements in English to logical expressions that the computer will interpret in the intended way
For example: in English, "x and y are greater than z" would translate to C as (x>z)&&(y>z)
Check Your Understanding Check Your Understanding
1.
Which of the following is the correct logical expression that corresponds to the statement that
"Neither A nor B is negative" ?
Correct
Not quite. Try again!
Not quite. Try again!
Not quite. Try again!