Differentiate between the following terms/concepts:

1.1 Structured programming and Object-oriented programming(4)

1.2 Class and Methods (4)

1.3 Counter-controlled loop and Sentinel controlled loop (4)

1.4 Primitive type variable and a Reference variable (4)

1.5 Boolean expression and an Identifier (4)

QUESTION 2 (20)

2.1 Explain the terms unambiguous, deterministic, complete andfinite as applied to algorithms. (12)

2.2 Define the term control structure. (2)

2.3 List and explain the three controls structures used inprogramming. (6)

QUESTION 3 (20)

3.1 Write pseudocode that inputs 2 values from the user andprints out the larger. (5)

3.2 Write a complete Java program called FindLarge for thepseudocode in 3.1. (15)

Question 4

Write a program using called Stars1 that calls a method calledStars() which uses a nested loop to produce the followingoutput:

*

* * *

* * * * *

* * * * * * *

* * * * * * * * *