CS-16 Object Oriented Systems June-2002
Qus 3(a) Write code, including class declarations and methods, to implement One-to-Many association, which is traversed in the direction from One-to-Many. The association is considered unordered. Use any Object Oriented Programming Language.
Qus 3(b) Using the quadratic formula as a starting point, prepare a data flow diagram for computing the roots of the quadratic equation ax1 + bx +c = 0- Real numbers a, b and c are inputs. Outputs are values of x = Rl and x = R2, which satisfy the equation. Remember, Rl and R2 may be real or complex, depending on the values of a, band c. The quadratic formula for Rl and R2 is

