Given program fragment: if A = B then while C=X do X := X-1 else C:= 5. Give the prime program decomposition of this flowgraph. ______

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

P1: X:=X+1
P2: C:=5
P3: While C=X do P1 else P2
P4: If A=B then P3

Computer Science & Information Technology

You might also like to view...

Optical drives use a(n) ________ to store and read data on a CD or DVD

Fill in the blank(s) with correct word

Computer Science & Information Technology

Functions such as isEmpty and isFull that test a condition and return a value that can be interpreted as true or false, are called __________ functions.

a) imperative b) declarative c) predicate d) conditional

Computer Science & Information Technology