Download pdf - CS-16

Transcript
  • I CS-16 INo. of Printed Pages : 3

    cN1 ADCA/MCA (III Yr)

    O Term-End ExaminationJune, 2010

    CS-16 : OBJECT ORIENTED SYSTEMS

    Time : 3 hours Maximum Marks : 75

    Note : Question number 1 is compulsory. Answer any threequestions from the rest.

    1. (a) Draw a class diagram with two classes, 10Student and Course. Add atleast 4attributes and 2 operations for both theclasses. Explain the classes and associations,if any. Assume that a student can enrol inmany courses, and that a course can enrolmany students. Further, assume that acourse can enrol a minimum of zero and amaximum of many students, but a studentmust enrol in atleast one, but possibly manycourses.

    (b) Explain the following terms, with an 9example of each :

    State DiagramsGeneralization

    (iii) Abstract Classes

    CS-16 1 P.T.O.

  • (c) What is Data flow ? What is control flow ? 11Write any 5 differences between them.

    (a) What is Recursive aggregate ? Explain with 5an example.

    (b) What is Polymorphism ? Explain the 10different types of polymorphism with anexample of each.

    (a) For each of the following systems, identify 10the relative importance of the three aspectsof modelling, namely, Object, Dynamic andFunctional Modelling :

    InterpreterWord Processing Software

    (b) Define a Scenario. Give an example of a

    5scenario. Also, define an Event trace andgive an example of it.

    4. (a) Draw an E-R diagram and show the 10relationships between various entities likeStudent, College, Teacher, Hostel, Libraryof a "University Information System". Thediagram should also include attributes.Make assumptions, wherever necessary.

    (b) What is aggregation ? Describe with an 5

    example.

    CS-16 2

  • 5. (a) What is meant by an internal action and 5

    automatic transition ? Explain with the helpof an example.

    Explain the process of identifying 5

    concurrency in objects.Differentiate between activity and action 5with the help of an example.

    CS-16 3

    Page 1Page 2Page 3