Write Boolean expressions that represent the given English expressions. Assume any variables used have been declared and initialized.
a) alpha is greater than 1
b) x is odd
c) x and y are odd
d) ch is an upper case alphabetic character (between 'A' and 'Z').
e) digit, which is f type char, has value that is indeed a digit.
a. alpha > 1
b. (x%2==1)
c. (x % 2==1) && (y % 2==1)
d. ('A' <= ch) && (ch <= 'Z')
e. ('0' <= digit) && (digit <= '9')
You might also like to view...
Which of the following is not true about modifying the slide master theme?
A) A theme adds color and font consistency to a normal presentation. B) By setting up the colors and fonts in Slide Master view, you customize the template. C) Anything you put on the slide master can also be changed after closing the slide master and returning to the presentation. D) You can add background colors, textures, or pictures to all of the slide layouts or to individual slide layouts.
Bloom's Taxonomy is divided into six sections
Indicate whether the statement is true or false