bc0057

19
BCA-VIth Semester BC0057 Object Oriented Analysis and Design [1 mark each] 1) The UA based on the methodologies suggested by Bosch____________ and Jacobson. a) Rum Baugh b) Coad c) Your don d) none of the above 2) OMG stands for a) Object modeling group b) Object Management Group c) Object modification group d) None of the above 3) Associations are__________. a) Unidirectional b) Bi-directional c) tridirectional d) None of the above 4) Associations represent the relationship be4tween object and functions.(True/False) 5) Dynamic Binding occurs when polymorphism calls are issued.(True/false). 6) The activities and focus of object oriented analysis and OOD are _________, grown, not-built. a) Developed

Upload: ashwani-kumar-singh

Post on 28-Nov-2014

159 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: bc0057

BCA-VIth SemesterBC0057

Object Oriented Analysis and Design

[1 mark each]

1) The UA based on the methodologies suggested by Bosch____________ and Jacobson.

a) Rum Baughb) Coadc) Your dond) none of the above

2) OMG stands fora) Object modeling groupb) Object Management Groupc) Object modification groupd) None of the above

3) Associations are__________.a) Unidirectionalb) Bi-directionalc) tridirectionald) None of the above

4) Associations represent the relationship be4tween object and functions.(True/False)

5) Dynamic Binding occurs when polymorphism calls are issued.(True/false).

6) The activities and focus of object oriented analysis and OOD are _________, grown, not-built.

a) Developedb) Intertwinedc) Not-determinedd) .none of the above

7) A comment is an annotation attached to a model element or a set of model elements(true / false)

Page 2: bc0057

8) _________ is a run-time physical object that represents a computational resource.

a) parameterb) stereotypec) noded) none of the above

9) a permission is a kind of association(true / false)

10)a primitive defines a pre-defined data type with a relevant UML substructure.(true / false).

11) Late Binding decide on run-time.(true / false).

12) The run-time instances of a primitive data types are data values.(true / false)

13) the access layer must be able to translate any data related request from

__________ into the appropriate protocol for data access. a) The business layerb) Application layer

c) Session layer d) None of the above.

14) The meta model is decomposed into the_________.a) interfaceb) top-level managementc) top=level packagesd) none of the above

15) LCA state is ____________.a) Least common ancestor

b) Least cost analysisc) Link connection abstraction

d) None of the above

16) Collaboration diagrams were adapted from __________.a) Your donb) rum Baughc) Boochd) None of the above

Page 3: bc0057

17) Two types of interaction diagrams are sequence and____________.a) Collaboration diagramb) Use case diagram

18) Parameterized collaboration is also known as __________.a) Use-case diagramb) frameworksc) pattern or collaboration template

d) None of the above

19) Each compartment in the state are separated by _______________. a) A vertical dashed lineb) A horizontal rulec) A tagged valued) None of the above.

20) An import or access relationship between two packages is drawn as a ___________a) pen trackerb) stereotypec) solid arrow with vertical dashed lined) Dashed arrow with open arrowhead.

21) Composition is shown by a____________on the end of an association.a) solid-filled diamondb) hollow diamondc) vertical lined) none of the above

22) Collaboration is a ________________.

a) Generalized elementb) Specialized elementc) Parameterized elementd) None of the above

23) An association defines a semantic relationship between ________.a) functionsb) classifiersc) associationd) None of the above

Page 4: bc0057

24) The interaction specifies the activator and predecessors of each message. The activator is the message that invoked the _________that in turn invokes the current message.a) procedureb) functionsc) referencesd) none of the above

25) A change event model, an event model that occurs when an explicit Boolean expression becomes as a result of a change in value of one or more attribute or association. (true / false)

26) A tool may present property specification or separate line with or without in_________.a) opening bracesb) closing bracesc) enclosing bracesd) None of the above.

27) Frozen indicates the value which may not be changed from the source end after the creation.( true / false)

28) Changeable property shows restriction on modification.( true / false)

29) Tagged definitions specify new kinds of properties that may be attached to model elements. (True/ false).

30) __________ is an action in which an instance causes another instance to cease to exist.

a) Destroy actionb) Create actionc) Terminate actiond) none of the above

31) _______ is an action in which stimulus is created that causes a signal event for the receive.

a) Destroy action b) Create actionc) Send actiond) Terminate action

Page 5: bc0057

32) Call action is an action in which a stimulus is created that causes a signal event for the receiver.( true / false)

33) The task of RAD is to build the application quickly and incrementally implement the design and user requirements( true /false)

34) OMT is divided into three different parts:- object model,__________, dynamic model

a) Change model.b) Function modelc) Operation modeld) None of the above

35) ___________ is used by UML to specify the semantics and is provided as a language for expressions during modeling

a) OODb) OCLc) .OOAd) none of the above

36) the complexity of the UML meta model is managed by organizing it into logical packages.( true / false)

37) The Booch Methodologies prescribes a Macro Development and _________. a) Mini Development processb) Micro development processc) Major development processd) None of the above

38) The purpose of the __________ phase is to determine whether it is Worthwhile to develop the target information system.

a) Requirementsb)Analysisc) Inceptiond)all of the above

39) The aim of the _________ phase is to ensure that the client’s requirements have been met.

a) Transitionb) Elaborationc) Testd) None of these

Page 6: bc0057

40) CRC stands for_________a) class-responsibility-collaborationb) none of thesec) class responsibility-componentsd) class-responsibility-comparison

Page 7: bc0057

[2 mark each]

41)If an operation is applicable both to an instance of a super class and to instances of subclass of that superclass,then it makes sense to allocate the operation to the ____________a) Super classb) Base classc) Component classd) Entity class

42) A ________ depicts an interaction between the information system itself and the actors.

a) Use caeb) Collaborationc) Sequence Diagramd) None of these

43) Extracting ________classes is usually considerably harder than extracting __________classes.

a) Entity, boundaryb) Control,boundryc) Entity, Entityd) Class, class

44)_____________classes are generally as easy to extract as boundary classes.a) Controlb) Boundaryc) Entityd) None of these

45)in Star Foundation Information system which of the following is a an control class

a) mortgage classb) entity classc) Estimate funds available for the weekd) Mortgage Report class

46)In star foundation information system which of the following is a boundary class

a) mortgage classb) investment classc) user interface classd) none of these

Page 8: bc0057

47) When we discover a fault during revision, we first try to ________________ the current.

a) iterationb) Fixc) Static dynamicd) None of these

48) The task of the __________is to determine, with the aid of the client, what the client needs.a) Actors b) Collaborationc) None of thesed) Use case

49) The initial requirements of STAR foundation case study consist of _________use case.

a) One b) Twoc) Threed) None of these

50) The _______view of a system encompasses the use cases that describe the behavior of the system as seen by the end users, analysis and testers.

a) Use caseb) Collaborationc) Protectedd) Note

51) Which of the following is not a part of the rule of UMLa)namesb) scopec) Executiond)adornments

52) Which of the following extends the vocabulary of uml, allowing you to create new kinds of building blocks that are derived from existing ones but that are specific to your problem?a) Stereotypeb) Componentc) Tagged valuee) constraints

Page 9: bc0057

53)A extends the semantics of a UML building block, allowing you to add new rules or modify existing ones.

a) Stereotypeb) Componentc) Tagged valued) Constraints

54)A ____________is a way of presenting a generic solution to a problem that can be applied to all levels in a development.

a)Frameworkb) Unified Approach (UA)c) Access layerd)Approach Layer

55)____________is a set of methods ,models, and rules for developing systems.

a) Macrob) Microc) Modeling

d) Object oriented methodology

56)A car is an object is an ______of other objects such as engine, seat and wheels.

a) Aggregationb) Instancec) Associationd) Object

57)__________measures the consistency of the product with respect to the design specification.

a) Validationb) Verificationc) Correctnessd) None of these

58) The intersection among objects role to achieve a given goal is called__________.

a) Collaborationb) Verificationc) Analysisd) None of these

Page 10: bc0057

59)A ________is a way of presenting a generic solution to a problem that can be applied to all levels in a development .

a) Frameworkb) Instancec) Collaborationd) None of these

60)A _________extends the vocabulary of the UML,allowing you to create new kinds of building blocks that are derived from existing ones but that are specific to your problem.

a) Stereotypeb) Interfacec) Tagged valued) Constraint

Page 11: bc0057

[4 mark each]

61) Pick from the statement which of these is true1-Asset no. is a attribute of Asset Class.2 Asset no. is a entity type class.3-Asset is a boundary class4Asset no. is control class.

a) 1 and 2b) Only 1 is truec) 1,2,3 trued) None of these

62) Pick from the statement which of these are false statements.1-Meta class is a class, which is a class about class.2-Task of predicting correspondence is validation.3-A pattern is about a static description of a solution to a recurring problem.4-A pattern is instructive information that captures the essential structure of proven solution.

a) 1,2,3 are true.b) 1,2,3,4 are truec) only 3 is trued) none of these

63)State which set of statements are true.1-UML is a notation2-UML is a methodology3-A use case is a model of the interaction between external users of an external users of an information system (actors) and the information system itself.4-a note is a description and is a dog-eared corner to make the presentation for detail full.

a) All of the above are true.b) None of above are truec) 1,2,3 are trued) none of these

64) Which of the following statements are true?1-A package diagram is about showing the decomposition of relatively independent packages.2-A state chart diagram shows a state machine having state

Page 12: bc0057

65) Which of the following is true?1-Mortgage class is a Entity class2-Account name is an Entity class3-Estimate funds available for the weeks is an Control class4-Print Report is an boundary class

a) all of above are trueb) none of the above is truec) only 1,2,3 are trued) only 2,3,4 are true

66) Which of the following set of statements are true? 1 -use case models interaction between actors and system.2-class diagram models classes showing static relationships between them.3-activity diagram shows how events.4-A design view of a system encompasses the classes, interfaces and

collaborations that form the vocabulary of the problem and its solution.a) 1,2,3 are trueb) all of the above are truec) none of the above is trued) none of thee

67). Match the followinga) 1986 ivar Jacobson(b)b) 1987 booch (c)c) 1991 shally shlaerjim (a)d) 1994 jim rum Baugh(d)

68) Match the following:a) meta-metamodel describe information domain©b) meta-model describe specific domain(d)c) model specify a meta-model(a)d) user-objects specify a model (b)

69) State which of the following is true/falsea) UML is a language for specifying ,visualizing, constructing and

documenting the artifacts of software system.(true /false)b) The main goal of UML is to provide users with a ready-to-use,

expressive visual modeling language to develop and exchange meaningful models.(true / false)

c) The main purpose of UML is integration.(true / false)d) Use-case diagrams are similar in appearance to those in OOD.

(True /false)

Page 13: bc0057

70. three- layered approach consist of a ___________,_________,__________.a) User Interface layer, business layer, access layerb) Network layer, physical layer, data link layerc) Application layer, session layer, business layerd) None of the above

71) Match the following:a) 1990 (1) CRC ©b) 1986 (2) OOD(b)c) 1989 (3) responsibility driven(a)d) 1994 (4) OMT(b)

72) True/ false a) Collaboration is a fragment of a larger complete model that is intended for general purposes (true /false)b) Instances and links created during the execution may be designated as {transient}.(true / false)

c) Instances and links destroyed during the execution may be designated as {destroyed}. (True /false)

73) Match the following (a) Stereotype (b)

(b)<< >> generalization(c) (c) state-machine (d) (d) Interface (a)

74)The UML merges the best of the notations used by the three most popular analyzes and design methodologies:_________,____________,________,________.

a) Grady booch ,ivar Jacobson,use-case,james rum Baughb) booch,coad,Yourdon,jamesc) None of the aboved) Rambaugh, Dennis Ritchie, et.al.rambaugh.

Page 14: bc0057

75)which of the following is not a part of the Mortgage class in the STAR foundation information system.1-Last name of Mortgages2-Original Purchase Price3-Date Mortgage Issued4-Weekly Principal And Interest Payment

a) All of the aboveb) 1c) 2d) 3,4