3i Infotech Placement: Sample Questions 250 - 251 of 1245

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 250

Edit

Describe in Detail

Essay▾

Why generalization is very strong?

Explanation

  • Even though Generalization satisfies Structural, Interface, Behaviour properties. It is mathematically very strong, as it is Antisymmetric and Transitive.
    • Antisymmetric: Relations like: employee is a person, but not all persons are employees. Mathematically all As ‘are B, but all Bs’ not A.
    • Transitive: A ⩾ B, B ⩾ c then A ⩾ c.
      • A. Salesman
      • B. Employee.
      • C. Person
  • Note: All the other relationships satisfy all the properties like Structural properties, Interface properties, Behavior properties.

Question 251

Edit

Describe in Detail

Essay▾

What do you meant by static and dynamic modeling?

Explanation

  • Static modeling:
    • Static modeling is used to specify structure of the objects that exist in the problem domain.
    • Expressed using class, object and USECASE diagrams.
    • Provide time independent view of the system.
    • E. g. Class has same number of students in an year.
    • Static models includes:
      • CLASS DIAGRAM
      • OBJECT DIAGRAM
      • COMPONENT DIAGRAM
      • DEPLOYMENT DIAGRAM
  • Static Model refers to the model of system not during runtime.
  • More structural than behavioral.
  • Includes classes and it relationships (Class Diagram) , Packages etc.
  • For example, concept of class itself static. At runtime there is no concept of Class, Sub class etc.
  • Dynamic modeling:
    • Dynamic modeling represents object interactions during runtime.
    • Represented by sequence, activity, collaboration, and statechart diagrams.
    • Provide time dependent view of the system
    • E. g. ATM can accept card only when it is in ready state. Thus state of ATM is a dynamic aspect.
    • Dynamic Models include:
      • USE-CASE DIAGRAM
      • INTERACTION DIAGRAM
      • STATE DIAGRAM
      • ACTIVITY DIAGRAM

Developed by: