1: Opject Oriented Concepts and Principles

Q.1: Identify the elements od an object model.
Ans: Attributes, Class, Object, Operation, Sub-class, Super-class.

Comments

  1. Roll no. 3809,3818,3822,3833. Q.1 What is an object? Ans Object is a real world element in an object oriented environment that may have a physical or conceptual existence. Q.2 What is Object Oriented Software Engineering? Ans OOSE is a software design technique that is used in software design in object oriented programming. Q.3 What are the main object oriented principles? Ans 1)class inheritance.
    2)abstraction.
    3)encapsulation.
    4)polymorphism. Q.4 What is mean by polymorphism? Give it's types. Ans Polymorphism means that the same operation may behave differently on different classes.There are 2 types of polymorphism: 1)static binding. 2)dynamic binding. Q.5 What is encapsulation? Ans The grouping of relayed ideas into one unit is called as encapsulation. Q.6 What is inheritance? Ans The process by which objects of one class acquire the properties of objects of another class is called as inheritance. Q.7 What is object orientation? Ans Object orientation means to organized software as a collection of discrete real world object that in corporate both data structure and behaviour. Q.8 What is the need of OOSD? Ans To make/ease the software development process by raising the level of abstraction to the point where the application can be developed in the same terms as desired by the user. Q.9 What is the difference between interface and abstract class? Ans The main difference is methods of a java interface are implicitly abstract and cannot have implementation. Q.10 What is meant by protected visibility? Ans # is used for protected visibility.Protected visibility means accessibility to subclass and operators of the class.

    ReplyDelete
  2. roll no.39,47
    Q.1) where object orientation technique is used?
    Ans.The object orientation technique is used in system modeling.
    Q.2) Write steps of time division for project?
    Ans. 1.Analysis , 2.design,3. implementation 4.Testing
    Q.3) Write types of inheritance?
    Ans. 1. single inheritance
    2. multiple inheritance
    3. multilevel inheritance
    4. hierarchical inheritance
    5. hybrid inheritance.
    Q.4) what is components?
    Ans. The object may be implemented using previously developed source code thus parts called components.
    Q.5)what is abstract classes?
    Ans. Ancestors developed with the main purpose of being inherited by other are often called abstract classes.

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Roll no 3813,3820,3849
    Q.1) State True or False.classes may be called as object type.
    Ans:True
    Q.2)Which feature should available in an object?
    Ans:i)Encapsulation
    ii)Inheritance
    iii)Information Hiding
    Q.3)Define the stakeholders of software engineering?
    Ans:- i)Customer
    ii)Project manager/ development manager
    iii)System Developer
    iv)Users
    Q.4)Define the attributes of Software quality?
    Ans:- i)Usuability
    ii)Efficiency
    iii)Reliability
    iv)Reusuability
    Q.5)Explain the features of Model design through object oriented technologies?

    ReplyDelete
    Replies
    1. Roll no 3813,3820,3849
      Q.1) State True or False.classes may be called as object type.
      Ans:True
      Q.2)Which feature should available in an object?
      Ans:i)Encapsulation
      ii)Inheritance
      iii)Information Hiding
      Q.3)Define the stakeholders of software engineering?
      Ans:- i)Customer
      ii)Project manager/ development manager
      iii)System Developer
      iv)Users
      Q.4)Define the attributes of Software quality?
      Ans:- i)Usuability
      ii)Efficiency
      iii)Reliability
      iv)Reusability
      Q.5)Explain the features of Model design through object oriented technologies?
      Ans:i)Easy to understand.
      ii)Easy to Modify.
      iii)Can be related to reality.
      Q.6)Define the term of Encapsulation?
      Ans: Protection mechanism to protect the data from outside the environment.
      Q.7)Define the term of Abstraction?
      Ans:Collection of necessary things. It contains only essential characteristics of an object.
      Q.8)Explain the needs of OOSD ?
      Ans: To use software development process by raising the level of abstraction to the point
      were the application can be developed in the same terms as described by the user.
      Q.9)Define the elements of an object model?
      Ans:i)Attribute
      ii)Class
      iii)Object
      iv)Operation
      v)Sub class
      vi)Super class
      Q.10)Explain Noun-Phrase Approach?
      Ans: Noun (Candidate Classes) are identified first Nouns are divided into three
      categories:
      i)Relevant Classes
      ii)Irrelevant classes
      iii)Fuzzy Classes

      Delete
  5. roll number 45
    Q.1)what is traceblity?
    Ans. the goal is that object identified during the analysis
    should also be found whithin
    the design which called traceblity
    Q.2)what do you mean by
    an organization the object
    ans.there are number of criteria
    to use for the classification
    and organization of the object and classes of objects.
    Q.3) what is basic user requirement in finalizing ?
    ans.basic user requirement as must be communicated between the customer and software engineer.

    ReplyDelete
  6. Roll number:-3831,3834,3837,3838
    Q1)What are the certain features of model designing?
    Ans->
    1.easy to understand
    2.it can be related to reality.
    3.easy to modify.

    Q2)What are the methods of object orientation for system designing?
    Ans->
    1.Modifications
    2.Understanding.

    Q3) What are the principles of object orientation?
    Ans->
    1.Abstraction
    2.Modularity
    3.Hierarchy
    4.Encapsulation.

    Q4)What is Object?
    Ans->
    An object is a real world element in an object-oriented environment that may have a physical or a conceptual
    existence.

    Q5) What are the Models of OOSD?
    Ans->
    1.Waterfall Model
    2.Spiral Model.

    Q6)How to identify visibility?
    Ans->
    +=Public
    -=Private
    #=Protected.

    Q7)What is the need of OOSDLC?
    Ans->
    1.The challenging problem can be handled easily.
    2.Improves Communication among all users, analysts, programmers.
    3.reusability of models.
    4.Increase consistency among all models.

    Q8)What are the functional requirements in Object oriented analysis(OOA)?
    Ans->
    1.Findings the object
    2.Organizing the objects
    3.object Interaction
    4.Operations on Objects
    5.Object Implementation.

    Q9)What is encapsulation?
    Ans->
    The grouping of related ideas into one unit is called as Encapsulation.

    Q10)How to Finalize the Object Definition?
    Ans->
    1.Classss must be identified
    2.A class hierarchy is defined
    3.Object behaviour must be modeled.

    ReplyDelete
  7. krishnai3817..pranav..mitesh..shravani

    Q1)how s/w technology evolution is achieved?
    ans: this evolution is achieved through many layers of growth & improvement over the last 50decades.

    Q2)what is oop?
    ans:it is an enhancement over conventional programming.

    Q3)what is class?
    ans:A class is a platform/template/blueprint for structurally identical items.

    Q4)what is the role of object?
    ans:object have state behaviour and unique identity.

    Q5)what are basic concept of object orientation?
    ans:object
    classes
    data abstraction and encapsulation
    inheritance
    polymorphism
    messaging

    Q6)how to represent object?
    ans: object:class

    Q7)how to represent object?
    ans: classname
    attributes
    operations

    Q8)what are three categories of noun?
    ans: relevant classes
    irrelevant classes
    fuzzy classes

    Q9) what is usecase driven approach?
    ans:use case modelling is a platform driven approach to OOA in which the designer first consider the prblm and not the relationship between object.

    Q10)what is collaborator?
    ans:it is the name of the other class that the current class interact with to fulfill its responsibilities.

    ReplyDelete
  8. Roll No -3830,3841,3852,3853,3857

    QI.State true or false:-

    1)In the OOSE everything is an object and each object is responsible for itself
    Ans) True

    2) Class may be called as object type.
    Ans)True

    3)An object can be not composed from other object
    Ans)False

    4)The term object was first formally not utilized in the simula language
    Ans) False

    5)A single object is simply called an instance of a class
    Ans)True

    6) Polymorphism means that the same operation may behave differently on different classes.
    Ans)True

    7)Ancestors developed with the main purpose of being inherited by other are often called polymorphism
    Ans) False

    8) Customer, Account, Bank and Teller it is example of operation of an object
    Ans) False

    9)When state of object changes these changes are reflected in value of attributes
    Ans)True

    10)A system developed using a function/data method often becomes difficult to maintain
    Ans)True

    QII.Answer the following:-

    1) What is modification?
    Ans)Model tend to be local as they often result from an individual item which is represented by a single object

    2)what is meant by protected visibility?
    Ans)#protected visibility means accessibility to subclass and operators of class.

    3)What is object interaction?
    Ans)To obtain picture of how object fits into the system,we can describe different usecase in which object takes part and communicate with other object.

    4) What is object implementation?
    Ans) Object should be defined internally, it includes defining the information that each object must hold number of instance that can be created of each object way to store information.

    5)What is expression to define class attributes during design phase?
    Ans) Visibility name: type - expression = initial value.

    ReplyDelete
  9. Roll no:-3836,3840,3843,3844.

    Q.1)What is object orientation?
    Ans-object orientation means to organize the software as the collection of discrete real world objects that incorporate both data structure and behaviour.

    Q.2)What are features of model designing?
    Ans-i)easy to understand
    ii)easy to modify
    iii)it can be related to
    reality.

    Q.3)What are encapsulation?
    Ans-The grouping of related ideas into one unit is called as encapsulation.

    Q.4)What is OOSD?
    Ans-OOSD is a way to develop software by building self contained moduls or objects that can be easily replaced,modified and reused.

    Q.5)What is need of OOSD?
    Ans-To make easy the software development process by raising a level of abstraction to the point where the application can be developed in the same terms as described by the user.

    Q.6)What are 3 phases of OOSDLC?
    Ans-The 3 phases are:
    i)OOA(Object Oriented Analysis)
    ii)OOD(Object Oriented Design)
    iii)OOP(Object Oriented Programming).

    Q.7)How to represent object?
    Ans-Classname
    Attributes
    Operations.

    Q.8)What are 3 categories of noun phrase approach?
    Ans-i)Relevant classes
    ii)Irrelevant classes
    iii)Fuzzy classes.

    Q.9)What is usecase driven?
    Ans-Usecase are used to model the scenario in the system and specify what external objects interact with the scenarios.

    Q.10)What are 3 basic types of attributes?
    Ans-i)Single value attribute
    ii)Multi value attribute
    iii)Reference to another
    object.

    ReplyDelete
  10. Roll No-3835
    Q1. | What is object orientation ?
    Ans | It is a technique used for system modeling.
    Q2. | What is the fullform of Oose ?
    Ans | Object oriented software engineering.
    Q3. | What is meant by object ?
    Ans | An object is an entity that able's to save data and which offers the number of operations to either examine or affect this state.
    Q4. | What is a class ?
    Ans | Class is used to distinguish one type of object from another.
    Q5. | What is meant by visibility?
    Ans. | It is useful to keep track of exactly how one object has visibility to another
    Q6. | What is meant by object oriented construction?
    Ans | Object oriented construction means that the analysis model is designed and implemented in source code.

    ReplyDelete
  11. 3815(sapna),3802(ankita),3851(ashutosh),3824(lochana),3827(varsha)
    1)What are the phases of OOSD life cycle?
    Ans :- 1) object oriented analysis.
    2)object oriented design.
    ‎3) object oriented implementation.
    2)What are the stakeholders of s/w engineering?
    Ans :- 1)system developers
    2) development manager
    ‎3) cutomer
    3)Approach for identifying objects (class)
    ‎Ans :-1)Noun phrase approach
    ‎ 2) common class pattern
    ‎ 3)usecase driven
    ‎ 4) crc approach
    ‎4)what is a syntax of attribute in UML
    Ans :- syntax=[visiblity] name[:type][=initial value]
    5) what is a syntax for operation?
    Ans :- syntax=[visibility]name([parameter list]) : return type
    6) what are stages of OOD?
    Ans :-There are two stages of OOD namely system design and object design.
    7) what is CRC?
    Ans :-It is class resposibility approach.
    8) what are the disadvantages of common class pattern approach?
    Ans :- 1)just a guidance
    2) loosely bound to user requirement
    ‎3) possible naming miss interpretation
    9)Define Public in visibility with examples
    Ans :- public - Any outside classifier with visibility to the given classifier can use the feature specified by prepending the '+' symbol
    Example- +name
    10)State True Or False , Attributes usually correspond to noun object or adverb
    Ans:-True


    ReplyDelete
  12. Roll no:3819,3825..
    Question:-What is meant by polymorphism?Give it's types.
    Ans:-Polymorphism means that the same operation may have differently on different classes.There are two types of polymorphism.1)static binding 2)dynamic binding Question:-What is different between interface and abstract class?
    Ans:-The main difference is a methods of a java interface are implicitly abstract and can not have implementio.Question:-What is object orientation? Ans:-Object orientation means to organized software as a collection of discrete real world object that in corporate both data structure and behavior.Question:-What is an object? Ans:-Object is a real world element in an object oriented oriented environment that may have a physical or conceptual existance.

    ReplyDelete
  13. 3816, 3850
    Q.1 what is object orientation?
    Ans:object orientation means to organize software as a collection of discrete real world object that incorporate both data structure and behaviour.

    Q.2 what are the phase of object oriented system developement lifr cycle?
    Ans. 1.object oriented analysis.
    2.object oriented design.
    3.object oriented implementation.

    Q.3 what is usecase?
    Ans. Usecase are used to model the scenarios in the system and specify what external actors interact with the scenarios.

    Q. 4 what is crc process?
    1.identify class responsibilities.
    2.assign responsibilities.
    3.identify collaborators.

    Q. 5 what is access specifiers?
    Ans. 1.public
    2.private
    3.protected.

    ReplyDelete

Post a Comment