3i Infotech Papers: Sample Questions 926 - 927 of 1245

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 926

» Languages » C & C Plus Plus

Essay Question▾

Describe in Detail

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

Question number: 927

» Basic CS » Operating System

Short Answer Question▾

Write in Short

In header file where function are declared or defined?

Explanation

Define two types of functions.

Define Two Types of Functions.

Define two types of functions.

Header file:

  • Declares functions which are not inline