Home / ECE / Microprocessors :: Discussion

Discussion :: Microprocessors

  1. 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?

  2. A.
    All
    B.
    1, 2 and 3 only
    C.
    1, 2 and 4 only
    D.
    2, 3 and 4 only

    View Answer

    Workspace

    Answer : Option C

    Explanation :

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


Be The First To Comment