ooad MCQ

Share Embed Donate


Short Description

OOAD MCQ...

Description

This section of our 1000+ Object Oriented System Design MCQs focuses on Foundations of Object Model – 1. 1) The method of design encompassing the process of object oriented decomposition and a notation for depicting both logical and physical and as well as static and dynamic models of the system under design is known as: a) Object- Oriented Programming b) Object- Oriented Design c) Object- Oriented Analysis d) None of the mentioned View Answer B 2) What is the programming style of the object oriented conceptual model? a) Invariant relationships b) Algorithms c) Classes and objects d) Goals, often expressed in a predicate calculus. View Answer C 3) The essential characteristics of an object that distinguish it from all other kinds of objects and thus provide crisply defined conceptual boundaries, relative to the perspective of the viewer is called: a) Encapsulation b) Modularity c) Hierarchy d) Abstraction View Answer D 4) Abstraction is classified into _______ types a) 4 b) 3 c) 2 d) 1 View Answer A 5) The process of compartmentalizing the elements of an abstraction that constitute its structure and behavior is called as a) Hierarchy b) Encapsulation c) Modularity d) Entity Abstraction View Answer B 6) Single inheritance, Multiple inheritance, and Aggregation comes under _______ a) Modularity b) Typing c) Hierarchy d) None of the mentioned

View Answer C 7) In which of the following mechanisms, types of all variables and expressions are fixed at compilation time. a) Strong Typing b) Weak Typing c) Static Binding/ early binding d) Dynamic Binding/ late binding View Answer C 8) In which of the following mechanisms, types of all variables and expressions are not known until runtime a) Strong Typing b) Weak Typing c) Static Binding/ early binding d) Dynamic Binding/ late binding View Answer D 9) Which of the following statements about Persistence is correct? a) It is the enforcement of the class of an object, such that objects of different types may not be interchanged, or at the most they may be interchanged only in very restricted ways. b) It is the property of an object through which its existence transcends time and/or space. c) It is the property that distinguishes an active object from one that is not active. d) All of the mentioned View Answer B 10) What is that concept in type theory in which a single name may denote objects of many different classes that are related by some common super class referred to ______ a) Monomorphism b) Type Checking c) Polymorphism d) Generalization View Answer C

The fact that the same operation may apply to two or more classes is called what? A. Inheritance B. Polymorphism C. Encapsulation D. Multiple classification Ans : b

The fact that the same operation may apply to two or more classes is called what?

A. Inheritance B. Polymorphism C. Encapsulation D. Multiple classification a

Multiplicity is the same as what concept for an ERD? A.Relationship B. Attribute C. Entity D.Cardinality d

Composition is a stronger form of which of the following? A. Aggregation B. Encapsulation C. Inheritance D. All of the above. a

An abstract class is which of the following? A. A class that has direct instances, but whose descendants may have direct instances. B. A class that has no direct instances, but whose descendants may have direct instances. C. A class that has direct instances, but whose descendants may not have direct instances. D. A class that has no direct instances, but whose descendants may not have direct instances b

The term Complete for a UML has the same meaning as which of the following for an EER diagram? A. Overlapping rule B. Disjoint rule C. Total specialization rule D. Partial specialization rule c

A UML diagram includes which of the following? A. Class name B. List of attributes C. List of operations D. All of the above. d

An object can have which of the following multiplicities? A. Zero B. One C. More than one D. All of the above. d

Which of the following statement is true concerning objects and/or classes? A. An object is an instance of a class. B. A class is an instance of an object. C. An object includes encapsulates only data. D. A class includes encapsulates only data. A

Which of the following applies to a class rather than an object? A. Query B. Update C. Scope D. Constructor c

The benefits of object-oriented modeling are which of the following? A. The ability to tackle more challenging problems B. Reusability of analysis, design, and programming results C. Improved communication between users, analysts, etc. D. All of the above. D

The term Incomplete for a UML has the same meaning as which of the following for an EER diagram? A. Overlapping rule B. Disjoint rule C. Total specialization rule D. Partial specialization rule : D

A constructor operation does which of the following? A. Creates a new instance of a class B. Updates an existing instance of a class C. Deletes and existing instance of a class D. All of the above. A

Which of the following is a technique for hiding the internal implementation details of an object? A. Encapsulation B. Polymorphism C. Inheritance D. All of the above A

Aggregation is which of the following? A. Expresses a part-of relationship and is a stronger form of an association relationship. B. Expresses a part-of relationship and is a weaker form of an association relationship. C. Expresses an is-a relationship and is a stronger form of an association relationship. D. Expresses an is-a relationship and is a weaker form of an association relationship. A

Which of the following is not a good reason for constructing a requirements model?

A) It can show the busine situation in enough de to check th the requiremen have been captured fu and correc B) It can demonstra that all the use cases have been drawn usin the correct notation. C) It can be organized such a way that it will useful late for designi

the softwa 2 Which of the following statements best describes what a class diagram can include?

A) Only class B) Only class and their relationshi C) Classes, instances a their relationshi 3

Which is the correct name for "a possible set of classes, together with an understanding of how thos classes might interact to deliver the functionality of a use case"? A) A use case class diagram. B) A realizati C) A collaborati 4 What is the significance of the dependency arrow in this diagram?

It shows that elements within the collaboration (the dotted ellipse) may reference elements within the use case (the solid

ellipse).

One of the following is not a difference between a class diagram and a collaboration diagram. Which one?

Which of these figures is a collaboration diagram?

10 What is the significance of the double colon in the class name: User Interface::AddAdvertUI?

LIST OF ATTEMPTED QUESTIONS AND ANSWERS Multiple Choice Single Answer Question: The key feature that enables users/application to cooperate and collaborate in application processing is named as :Correct Answer: Concurrency Your Answer: Collaboration Multiple Choice Multiple Answer Question: In designing classes, we are improving and enriching the class content in terms of properties and we screen them for :Correct Answer: Local and communication association , Eliminating unnecessary association , Identifying the relationship, top-down or bottom up, aggregation and declaring relationship pattern. Your Answer: Local and communication association , Eliminating unnecessary association , Identifying the relationship, top-down or bottom up, aggregation and declaring relationship pattern. True/False Question: More use classes may not necessarily bring better understanding or

more clarity. Correct Answer: False Your Answer: False Select The Blank Question: ________helps to integrate homogeneous database system with multiple database and data types other than relational data types. Correct Answer: MDBS Your Answer: OODBMS True/False Question: A state chart diagram shows method of execution on receipt of message and activities used in the method. Correct Answer: True Your Answer: True True/False Question: The registration form is filled for each member of family under one address Correct Answer: True Your Answer: True Select The Blank Question: We extensively use ________ for processing, refining and designing classes. Correct Answer: UML Your Answer: UML Select The Blank Question: The user must have access to both OODB and RDB to manipulate data. The developer therefore must develop applications that could source data from ________ databases [ OODB, RDB etc] .

Correct Answer: All Your Answer: Any two True/False Question: When the system is modeled into different case scenarios it not only goes down to a level of function and features, but also reveals relationships and behaviours amongst different system components. Correct Answer: True Your Answer: True Multiple Choice Single Answer Question: The concept of OOPS was first introduced in Correct Answer: Simula Language Your Answer: Simula Language True/False Question: With its strength, ODBC has become an industry standard for interoperatability on different databases. Correct Answer: True Your Answer: True Multiple Choice Multiple Answer Question: The following are the columns to be filled in DVD reservation slip :Correct Answer: Name [ title ] , DVD ID , Required date Your Answer: Name [ title ] , DVD ID , Required date Select The Blank Question: The row of table in RDBMS contains data which maps ________ of class in OODBMS. Correct Answer: Instance Your Answer: Instance Multiple Choice Single Answer Question: The sequence of states that the object goes through when it receives a message

to act is shown by the diagram called :Correct Answer: State chart diagram Your Answer: Sequence diagram True/False Question: Mapping of multiple inheritance into a single table is possible in RDBMS. Correct Answer: True Your Answer: True Multiple Choice Multiple Answer Question: All OODBMS products namely O2, Objectivity, Object Store and Versant support following DBMS criteria :Correct Answer: User defined datatype , Is_a relationship , Part_of relationship Your Answer: User defined datatype , Is_a relationship , Part_of relationship Multiple Choice Single Answer Question: How big is a class object? Correct Answer: Is as big as sum of the sizes of its member variables Your Answer: As big as superclass Multiple Choice Single Answer Question: In OOSAD, the object is the unit used for analysis of the system, hence it is called:Correct Answer: OOA [ Object Oriented Analysis ] Your Answer: OOA [ Object Oriented Analysis ] Select The Blank Question: ________ of an object remains unchanged even though its state and properties change. Correct Answer: Identity Your Answer: Identity Multiple Choice Single Answer

Question: If Dog derives from Mammal, and Mammal derives from Animal, then – Correct Answer: Dog inherits Animal’s functions and data Your Answer: Dog inherits Animal’s functions and data Multiple Choice Single Answer Question: The lock that cause interruption of the program when a new value is committed in OODB is called :Correct Answer: Notify lock Your Answer: Notify lock True/False Question: UML supports both static modeling and dynamic modeling Correct Answer: True Your Answer: True Multiple Choice Single Answer Question: In Object Oriented technology following expression is appropriate Correct Answer: object=data+menthods Your Answer: object=data+menthods Multiple Choice Multiple Answer Question: In context of transactions, OODBMS :Correct Answer: Handle nested transactions , Supports MROW , Supports long transactions Your Answer: Handle nested transactions , Supports MROW , Supports long transactions Multiple Choice Single Answer Question: The lock that ensures that no other transaction is commited till the transaction is in the mode of updation and creation of new version of object, is called Correct Answer: Write Lock Your Answer: Write Lock Match The Following

Question Correct Answer: Your Answer Class Shape Triangle, rectangle, circle, ellipse Triangle, rectangle, circle, ellipse Class Vehicle Scooter, car, truck, tractor Scooter, car, truck, tractor Class Animal Cat, dog, cow, tiger Cat, dog, cow, tiger Class Color Red, yellow, blue, green Red, yellow, blue, green Multiple Choice Multiple Answer Question: Various database packages are :Correct Answer: Sibase , SAP , Oracle Your Answer: Oracle , Sibase Select The Blank Question: When you express user-system interaction, the scenario in the model is called ________ Correct Answer: Case model Your Answer: OOPS model Multiple Choice Single Answer Question: In DAD, the domain-specific & organisation-specific terms are covered under the title :Correct Answer: Features Your Answer: Features Multiple Choice Single Answer Question: In the railway transport environment, the same train [ train name, number etc ] leave everyday from one station to the other. But in their operations, dates, drivers, passengers etc differ every day. This pattern is called :Correct Answer: Abstraction-Occurrence Pattern Your Answer: Abstraction-Occurrence Pattern Select The Blank Question: A class is the________ for an object. Correct Answer: Template

Your Answer: Instance True/False Question: The principle of polymorphism helps to extend and modify the system scope through appropriate messaging mechanism. Correct Answer: True Your Answer: True Multiple Choice Multiple Answer Question: Access to other OODBMS comprises of :Correct Answer: Read data resident in other OODB , Modify data resident in other OODB , Read data resident on RDBMS Your Answer: Read data resident in other OODB , Modify data resident in other OODB True/False Question: The UI should be designed for blind and mechanical operation. Correct Answer: True Your Answer: False Multiple Choice Multiple Answer Question: The main function will have following contents in C++ Correct Answer: Name of class followed by name of object , Name of object and method separated by dot operator. , Variable declaration Your Answer: Name of class followed by name of object , Name of object and method separated by dot operator. , Header files Multiple Choice Single Answer Question: The method for industrial development of software based on usecase-driven design is Correct Answer: OOSE [ Object Oriented Software Engineering ] Your Answer: OOD [ Object Oriented Design ]

Multiple Choice Multiple Answer Question: OODBMS standards comprise of :Correct Answer: ODL , OQL , ODMG C++ binding Your Answer: ODL , OQL Multiple Choice Single Answer Question: The main difference between structure and class is Correct Answer: Structure does not support OOPS Class Supports OOPS. Your Answer: Structure comprises of dissimilar datatypes. Class comprises of similar datatypes. Multiple Choice Single Answer Question: The class and its hierarchy build through inheritance should lead to a :Correct Answer: Single purpose class Your Answer: Super class Multiple Choice Multiple Answer Question: A first step in design is to construct a static UML class diagram consisting of:Correct Answer: Class name , Attributes , Methods Your Answer: Class name , Attributes , Methods True/False Question: Sequence diagrams and collaboration diagrams are very difficult to select classes and objects. Correct Answer: False Your Answer: False Multiple Choice Multiple Answer Question: The solution to simplicity of design lies in the following factors :Correct Answer: Class design , Building hierarchy , Grouping classes in aggregate sets that have similar characteristics. Your Answer: Class design , Building hierarchy , Grouping classes in

aggregate sets that have similar characteristics. Multiple Choice Single Answer Question: The purpose of declaring ‘private’ is :Correct Answer: Data hiding from accidental changes Your Answer: Operator overloading Select The Blank Question: Invoice and ________ are two classes in the noun phrase approach .But Amount is an attribute in invoice, hence should be rejected for class consideration. Correct Answer: Amount Your Answer: Amount Match The Following Question Correct Answer: Your Answer Standard procedure Method Method Table Scheme representing complex relationships between entities Scheme representing complex relationships between entities Column Refers datatype and name Refers datatype and name Row Refers data for single entry Refers data for single entry Multiple Choice Multiple Answer Question: In Railway Reservation and Ticketing system, we can call following parameters as attributes of class Passenger :Correct Answer: Name , Age , Sex Your Answer: Name , Age , Sex Multiple Choice Single Answer Question: In DAD, the information providers such as users, customers, vendors and stakeholders paly a role of Correct Answer: Participants

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF