# Chapter 7: Composition and Decomposition - Online Test

Q1. Parallelogram boxes represent
Explaination / Solution:
No Explaination.

Q2. After decomposing a problem into smaller subproblems, the next step is
Explaination / Solution:
No Explaination.

Q3. notations for expressing algorithms
Explaination / Solution:
No Explaination.

Q4. The value of a condition is true or false, depending on
Explaination / Solution:
No Explaination.

Q5. A function is like a
Explaination / Solution:
No Explaination.

Q6. Case analysis splits the problem into an exhaustive set of
Explaination / Solution:
No Explaination.

Q7. An iterative process executes
Explaination / Solution:
No Explaination.

Q8.

Suppose u, v = 10 ,5 before the assignment. What are the values of u and v after the sequence of assignments?

1 u := v

2 v := u

Explaination / Solution:
No Explaination.

Q9.

Which of the following properties is true after the assignment (at line 3?

1 -- i+j = 0

2 i, j := i+1, j-1

3 -- ?

Explaination / Solution:
No Explaination.

Q10.

If C1 is false and C2 is true, the compound statement 1 if C1

2 S1

3 else

4 if C2

5 S2

6 else

7 S3

Executes

Explaination / Solution:
No Explaination.