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')
```

Computer Science & Information Technology

You might also like to view...

__________ prevents either sender or receiver from denying a transmitted message. Thus, when a message is sent, the receiver can prove that the alleged sender in fact sent the message and when a message is received, the sender can prove that the alleged receiver in fact received the message.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What feature of SQL Server 2012 means that it can use AD DS to provide a scalable and integrated security model?

A. user-account control B. network authentication C. security enhanced D. directory-enabled

Computer Science & Information Technology

Answer the following questions below.

1. What is the name pickAFile anyway? 2. What do you get if you print pickAFile? 3. How about print makePicture?

Computer Science & Information Technology

Match the following terms to their meanings:

I. spreadsheet II. Title bar III. worksheet IV. workbook V. Ribbon A. electronic file that contains a grid of columns and rows B. contains file name and software name C. commands organized into groups D. file containing related worksheets E. spreadsheet that contains formulas, functions, values, etc.

Computer Science & Information Technology