A language L is a subset of Pascal with the following constructs: (a) Expressions involving the operators ‘+’ and ‘<‘ only (b) Assignment statements (c) ‘while’ […]
Consider the following program fragment in Pascal: Program Main; var X : integer; procedure A: var Y : integer; procedure B: var Z : integer; procedure […]
Following is a state table for some finite state machine. (a) Find the equivalence partition on the states of the machine. (b) Give the state table […]
Let f = (w’+y)(x’+y)(w+x’+z)(w’+z)(x’+z) (a) Express f as the minimal sum of products. Write only the answer. (b) If the output line is stuck at 0, […]