3i Infotech Placement: Sample Questions 249 - 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 249
Explanation
- Running:
- Process is either running or ready to run.
- Interruptible:
- A blocked state of a process waiting for an event or signal from another process.
- Uninterruptible:
- A blocked state.
- Process waits for a hardware condition and cannot handle any signal.
- Stopped:
- Process is stopped or halted and restarted by some other process.
- Zombie:
- Process terminated, but information is still there in the process table.
Question 250
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
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