Microprocessors

Q1: Read the following rules for scanning Boolean expressions in Pascal
  1. The expressions are scanned from left to right.
  2. The operations are scanned in the order NOT, AND, OR.
  3. All operators (i.e., NOT, AND and OR) are scanned together.
  4. In one scanning all the operators of only one type are scanned.
Which of the above are correct?

A All

B 1, 2 and 3 only

C 1, 2 and 4 only

D 2, 3 and 4 only

ANS:C - 1, 2 and 4 only

All Boolean operators are not scanned together. The order is NOT, AND, OR.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.