Q1 Briefly define the term Waterfall model And list the phas
Q1: Briefly define the term Waterfall model? And list the phases of the development process in order they are done? (5 points)
Q2: Fill in the table below by drawing the correct arrow that represent the relationship between classes? And Indicate Type of relationship: if it is an “IS-A” or “HAS-A”, or “USES” relationship if applicable(5 points)
Relationship Draw Type of relationship
Inheritance
Interface Implementation
Aggregation
Dependency
.
Q4: Write and run the java program that computes the Factorial of a given number using a Recursive method. ( 20 points )
Submit your program files as .java file that can be run. And submit in the document sample run for example given the value 4 the factorial is 24
Q5. What is the advantage and disadvantage of using recursion? ( 5 points )
Q6. Briefly explain what is infinite recursion, and what causes it to happen? ( 5 points )
Solution
Solution:
Note: The table is not provided to answer question 2, please post questions from 2 separately.
Q1.
The phases of the development process are.
