129
If there are images in this attachment, they will not be displayed. Download the original attachment 1 How the collection of instances of classes, relationship among the instances of classes, and actors are represented in an Interaction diagram? m 1,Using Collaboration m 2,Using Interaction m 3,Depicting Relationship m 4,Applying operation m 1 2 How the flow of control in an operation or among use cases is represented in Interaction diagram? m 1,Using Collaboration m

Uml

Embed Size (px)

Citation preview

Page 1: Uml

If there are images in this attachment, they will not be displayed. Download the original attachment

1 How the collection of instances of classes, relationship among the instances of classes,

and actors are represented in an Interaction diagram? m

1,Using Collaboration m

2,Using Interaction m

3,Depicting Relationship m

4,Applying operation m

1

2 How the flow of control in an operation or among use cases is represented in Interaction

diagram? m

1,Using Collaboration m

2,Using Interaction m

Page 2: Uml

3,Depicting Relationship m

4,Applying Operation m

2

3 Which of the following UML diagrams represents interaction among actor, object, messages,

and links? m

1,Activity diagram m

2,Object diagram m

3,Use case diagram m

4,Communication diagram m

4

4 Which part of a transition in the State Machine diagram refers to the response of an object

to an event? m

1,Source state m

Page 3: Uml

2,Event trigger m

3,Target state m

4,Action m

4

5 Which of the following diagrams depicts the various conditions of an object during its

lifecycle? m

1,State Machine diagram m

2,Communication diagram m

3,Sequence diagram m

4,Iteration diagram m

1

Page 4: Uml

6 Consider the following statements:

Statement A: A state machine depicts the various states of an object that change in response to events during the lifetime of the object.

Statement B: A state refers to the condition of an object during its existence in

1,Both, Statement A and Statement B, are False. m

2,Both, Statement A and Statement B, are True. m

3,Statement A is True and Statement B is False. m

4,Statement A is False and Statement B is True. m

2

7 Consider the following statements:

Statement A: The constituents of a Communication diagram are organized in such a manner that the unrelated objects are closely placed.

Statement B. Communication diagrams represent the interaction between objects in th

Page 5: Uml

1,Both, Statement A and Statement B, are False. m

2,Both, Statement A and Statement B, are True. m

3,Statement A is True and Statement B is False. m

4,Statement A is False and Statement B is True. m

4

8 Consider the following statements:

Statement A: Collaboration is a collection of instances of classes, relationship among the instances of classes, and actors.

Statement B: Interaction diagrams depict how the constituents of a software system interact t

1,Both, Statement A and Statement B, are False. m

2,Both, Statement A and Statement B, are True. m

3,Statement A is True and Statement B is False. m

4,Statement A is False and Statement B is True. m

2

Page 6: Uml

9 Consider the following statements:

Statement A: A branch represents the set of alternative paths or a decision, which the flow takes depending on the input.

Statement B: The alternative paths are depicted by a set of transitions that flow from the branc

1,Both, Statement A and Statement B, are False. m

2,Both, Statement A and Statement B, are True. m

3,Statement A is True and Statement B is False. m

4,Statement A is False and Statement B is True. m

2

10 Consider the following statements:

Statement A: Transformations often result in breaking an input parameter into more than one parameter to match the output parameters of the other action.

Statement B: Transformations convert the type of output paramete

1,Both, Statement A and Statement B, are False. m

Page 7: Uml

2,Both, Statement A and Statement B, are True. m

3,Statement A is True and Statement B is False. m

4,Statement A is False and Statement B is True. m

4

11 BlueSoftware Solutions is developing an online Railway Reservation system The process of reservation involves a passenger enquiring about the availability of seats in trains going to a particular destination on a specific date. The reservation system the

1,Class passenger implements the method enquiry()

Class reservation implements the checkAvailability()

Class Seat implements the reserve()

Class Ticket implements the method issue() m

2,Class passenger implements the method enquiry()

Class reservation implements the method checkAvailability()

Class Seat implements the method available()

Page 8: Uml

Class Ticket implements the method issue() m

3,Class passenger implements the method reserve()

Class reservation implements the method checkAvailability()

Class Seat implements the method available()

Class Ticket implements the method issue() m

4,Class passenger implements the method checkAvailability()

Class reservation implements the method reserve()

Class Seat implements the method available()

Class Ticket implements the method issue() m

1

12 RedSky Inc. is developing a software system, which implements a module for performing mathematical calculations. The module enables end-users to find sin and cosine of a specified degree. The o1 object of the operation class accepts the degree and the typ

Page 9: Uml

1,You need to depict the following to complete the sequence diagram:

-- The operation class invokes the method, calculatesin(), of the mathematics class. m

2,You need to depict the following to complete the sequence diagram:

-- The operation class invokes the method, calculatesin() of the mathematics class, if the condition [operation=sin] is true.

-- The operation class invokes the method, calculatecosine()

3,You need to depict the following to complete the sequence diagram:

-- The operation class invokes the method, calculatesin(), and then invokes the method, calculatecosine(), of the mathematics class. M

4,You need to depict the following to complete the sequence diagram:

-- Operation class invokes only the method, calculatecosine() of the mathematics class. m

2

13 Dyans Systems is developing a software system for implementing an online shopping system. Calculate Bill is one of the use cases of the system and the actor for the use case is customer. The customer selects certain product displayed on the user interface

Page 10: Uml

1,You need to depict the following message to complete the sequence diagram:

calculateAmount() method of the customerPurchase class m

2,You need to depict the following message to complete the sequence diagram:

generateList() method of the customerPurchase class m

3,You need to depict the following message to complete the sequence diagram:

The customer invokes the calculateAmount(pc productCollection) method of the customerPurchase

class m

4,You need to depict the following message to complete the sequence diagram:

The customer invokes the generateList(pc productCollection ) method of the customerPurchase

class m

3

14 IntelliTech Inc is developing an online shopping system. Customers can pay for purchases

Page 11: Uml

made using their credit card. The application will display a list of products, available

for purchase, on the Orders page of the Web site. A customer can obtain detai

1,You need to depict the following message to complete the sequence diagram:

generateList() method of the SaleItem class that is invoked by the sm object of the

ShoppingMall class m

2,You need to depict the following message to complete the sequence diagram:

processList() method of the SaleItem class that is invoked by the sm object of the ShoppingMall

class m

3,You need to depict the following messages to complete the sequence diagram:

- - selectList() method of the sm object of ShoppingMall class is invoked by the s1 object of the SaleItem class after which

-- billAfterDscount() method of the SaleItem class is

4,You need to depict the following messages to complete the sequence diagram:

Page 12: Uml

-- selectList() method of the SaleItem class is invoked by the sm object of the ShoppingMall class after which

-- generateFinalList() method of the SaleItem class is invoked by

4

15 Wilson Softech is developing an online Test system for the University of Texas,

distance-learning program. The various classes used in implementing this system are

ExaminationHall, Test, Marks, and Student. Each student needs to login using a valid userna

1,The order of objects is: Test, ExaminationHall, Marks m

2,The order of objects is: Test, Marks, ExaminationHall m

3,The order of objects is: ExaminationHall, Test, Marks m

4,The order of objects is: Marks, Test, ExaminationHall m

3

Page 13: Uml

16 BlueSoftware solutions Inc. is developing an online auction system. A software developer

has identified the various states of the product object as, Approved for Auction, On Bid,

and Delivered. However, the system design specialist disapproves of the stat

1,The identified states convey enough information about all the possible states of the product object. m

2,The additional state is Sold. The object transits from On Bid state to the Sold state after the customers wins a bid. m

3,The additional states are Sold and Out of Auction. The object transits from On Bid state to the Sold state after the customer wins a bid.

The object transits from Sold state to the Out of Auction state after the product is shipped to the customer. m

4,The additional state is Out of Auction. The object transits from On Bid state to the Out of Auction state after the customer wins a

bid. m

3

17 Janes Technology is developing an online testing system. The testing system conducts online tests where each operation is performed

Page 14: Uml

at a given time for a specified duration. The developer creates a sequence diagram for depicting the interaction among the

1,Sequence diagrams can depict object lifeline whereas collaboration diagrams cannot. Therefore, the life span of the objects of the online

testing system will be clearly depicted. m

2,Sequence diagrams depict the invocation of methods of objects in increasing order of time. Therefore, sequence diagram for an online

testing system enables you to view which method is invoked before or after a particular method. m

3,In an online testing system each operation occurs after the previous operation has finished. Therefore a sequence of operations needs

to be depicted that can be shown in a sequence diagram only. m

4,You need to depict the focus of control for the online testing system, because only a single object has the focus of control in an online

testing sy stem. m

2

Page 15: Uml

18 Janes Systems is developing software for implementing a hotel management system. The software developer designs two classes,

Room and Hotel. The Hotel class is assigned the responsibility of checking if a specified room is available for the duration speci

1,The sequence diagram needs to indicate the information about:

When the h1 object of the hotel class is destroyed. m

2,The sequence diagram needs to indicate the information about when the r1 object of the room class is destroyed. m

3,The availability needs to be checked for a specified room for each day. Therefore, you need to do the following:

-- Provide the r1 object as a parameter to the checkAvailability method.

-- Iterate the method checkAvailabilty() for each day. m

4,The availability needs to be checked for each day. Therefore, you need to iterate the message checkAvailabilty for each day. M

3

Page 16: Uml

19 SpeedStar Solutions is developing an online auction system. The various states identified by the software developer are:

Idle, Auctioning, Recording Bids, Process Bids, Finalize Bid, Close Bid, Accepting Customer Verification, Verifying,

Verification Com

1,-- Recording Bids containing the substates Process Bids, Finalize Bid, and Close Bid

-- Accepting Customer Verification containing the substates Verifying, and Verification Complete m

2,-- Bid Processing containing substates Recording Bids and Process Bids

-- Bid Closure containing substates , Finalize Bid and Close Bid m

3,-- Verifying containing substate Accepting Customer Verification

-- Verified containing substate Verification Complete m

4,-- Bid Processing containing substates, Recording Bids, Process Bids, Finalize Bid, Close Bid

-- Verification containing substates, Accepting Customer Verification, Verifying, Verification Complete m

4

Page 17: Uml

20 Wilson Softech is developing a Payroll system for Infolite Systems. The software development team has identified the use cases and

classes of the system. A software developer needs to create a sequence diagram for depicting collaboration of the use case,

1,Emp1 and salary calculator m

2,salary calculator and database m

3,Emp1 and database m

4,UserInterface and database m

4

21 Which of the following elements of an Activity diagram represents a control flow? m

1,Action State m

2,Activity State m

3,Transition m

4,Decision m 3

Page 18: Uml

22 Which of the following events of an activity diagram occurs outside the process but still has an impact on the process? M

1,Partitions m

2,Signals m

3,Transformations m

4,Pins m

2

23 Which of the following options is used to represent a branch in an Activity diagram? M

1,Dot m

2,Circle m

3,Diamond m

4,Rectangular box m

3

24 Which of the following is NOT a valid mode to implement an expansion region? M

Page 19: Uml

1,Concurrent mode m

2,Iterative mode m

3,Stream mode m

4,Output mode m

4

25 Which of the following symbols depicts an action state that does not have any outgoing transition? M

1,Flow final m

2,Fork m

3,Join m

4,Expansion Regions m

1

26 The activity diagram of Student Registration System, consists of the following activity states:

Page 20: Uml

-- Verify the student detail

-- Fill application form

-- Assign registration number

-- Deposit the fees

-- Register the student

-- Generate fees receipt

-- V

1,-- Fill application form

-- Submit application form

-- Generate fees receipt

M

2,-- Fill application form

-- Register the student

Page 21: Uml

-- Assign registration number m

3,-- Fill application form

-- Submit application form

-- Deposit the fees

4,-- Submit application form

-- Deposit the fees

-- Assign registration number m

3

27 The exhibit represents the activity diagram of book issue process of a library management system.

Which relationship is depicted between Request Book and Process Request?

Click the Exhibit button to view the activity diagram. M

Page 22: Uml

1,Object flow m

2,Control flow m

3,Generalization m

4,Dependency m

2

28 The exhibit provided represents the Activity diagram of book issue process of a library management system.

What relationship exists between Request Book and Process Request?

Click the Exhibit button to view the Activity diagram. M

1,Control flow m

2,Object flow m

3,Generalization m

4,Dependency m

2

Page 23: Uml

29 The input devices, mouse and keyboard are used to provide input signals to computer. Further, the mouse signals are classified in two

signals, mouse move and mouse click. What is the relationship between input devices and signals if you need to design inp

1,Object flow m

2,Control flow m

3,Generalization m

4,Dependency m

3

30 You are creating the state machine diagram for a ticket selling system. You have identified the following two states for the ticket selling system:

--Idle

--Active

The Active state contains the following substates:

--Reading credit card

Page 24: Uml

--Validating credi

1,The Active state is a composite state containing the concurrent substates Reading credit car, Validating credit card information, Selecting ticket type, Printing ticket, Dispensing ticket, and Ejecting card m

2,The Active state is a composite state containing the sequential substates Reading credit car, Validating credit card information, Selecting ticket type, Printing ticket, Dispensing ticket, and Ejecting card m

3,The Active state is a stub state containing the concurrent substates Reading credit car, Validating credit card information, Selecting

ticket type, Printing ticket, Dispensing ticket, and Ejecting card m

4,The Active state is a stub state containing the sequential substates Reading credit car, Validating credit card information, Selecting

ticket type, Printing ticket, Dispensing ticket, and Ejecting card m

2

31 In a _________ environment, every variable is explicitly assigned a data type when it is declared. M

1, loosely typed m

2, strongly typed m

Page 25: Uml

3, common type m

4, value type m

2

32 _______ is the conversion of a value type to a reference type. M

1, Implicit casting m

2, Explicit casting m

3, Boxing m

4, Unboxing m

3

33 Which of the following interfaces can be used to perform sorting or ordering of object instances? M

1, IComparable m

2, IEquatable m

Page 26: Uml

3, IFormattable m

4, ICloneable m

1

34 ______ are classes that are used to store arbitrary objects in a structured manner. M

1, Structures m

2, Collections m

3, Interfaces m

4, Abstract classes m

2

35 You use the ______ class when you need to retrieve objects in the reverse order in which you added them. m

1, HashTable m

2, Linked List m

3, Stack m

Page 27: Uml

4, Queue m

3

36 You have created an application that accepts an input value from the user through a user interface and stores it in a variable. You are

not sure what type of value the user may enter, but you still have to record it. What kind of a development environment

1, Strongly typed m

2, Loosely typed m

3, Common type m

4, Reference type m

2

37 John, an application programmer with EverSoft Systems Inc. is reusing an existing collection, for his own application. The collection

accepts a reference type data whereas John wants to add an integer, which is a value type, to the collection. What techni

Page 28: Uml

1, Unboxing m

2, Implicit casting m

3, Boxing m

4, Explicit casting m

3

38 You are developing an application to track employees who come late to the office. The arrival time of the employees entering the building

after a specific time will be stored in the ArrivalTime collection. You cannot determine the exact number of persons

1, Array m

2, Structure m

3, Arraylist m

4, BitArray m

3

Page 29: Uml

39 An application stores the details of purchase orders in the PurchaseOrder class which in turn contains a collection of products. The

PurchaseOrder class includes a display() method that needs to iterate through the collection of products and display the

1, IFormattable m

2, IEnumerable m

3, IComparable m

4, IConvertible m

2

40 You are working as a programmer for a University. After the semester-end examination, you need to publish the result of students based

on their ranks. You have created the Student class to store the details of students, including the rank of a student in

1, IFormattable m

2, IEquatable m

3, IEnumerable m

Page 30: Uml

4, ICloneable m

2

41 Which of the following is NOT a form of an assembly? M

1, .EXE m

2, .DLL m

3, .Netmodule m

4, .COM m

4

42 When an assembly is loaded by the CLR, ________ file is used to gather the default configuration settings for the application. M

1, web.config m

2, app.config m

3, machine.config m

Page 31: Uml

4, System.configuration m

3

43 __________ in the Performance Monitor can be used to monitor the execution of processes and view a real-time graphical display of the

data collected about processes. M

1, Process Monitor m

2, System Monitor m

3, Performance Counter m

4, Application Monitor m

2

44 In _______ streaming, when an application process or code calls a method, the process or the code waits for the method call to complete. M

1, asynchronous m

2, synchronous m

Page 32: Uml

3, buffered m

4, file m

2

45 _________ is a unique data compartment that helps store data of an application. M

1, Object m

2, Class m

3, Isolated store m

4, Memory buffer m

3

46 You can create assembly installers either by using Visual Studio .NET or programmatically by using the Command Prompt window. Which

of the following is NOT a type of an assembly installer created using Visual Studio .NET? m

1, Windows Service m

2, Merge Module m

Page 33: Uml

3, CAB m

4, Setup m

1

47 During assembly installation process, you need to perform certain tasks just before all the installers commit their installations. Which

of the following will

you use to achieve this requirement? M

1, InstallContext class m

2, InstallEventHandler delegate m

3, AssemblyInstaller class m

4, ConfigurationManager class m

2

48 Which of the following refers to the process of monitoring an application and recording information about events as they occur in the

Page 34: Uml

application? M

1, Debugging m

2, Application Tracing m

3, Performance Monitoring m

4, Garbage Collection m

2

49 Which of the following is TRUE about FileSystemWatcher class? M

1, The FileSystemWatcher class is commonly used to perform multiple operations on a file and does not require the path to the file when

working with a file. m

2, The FileSystemWatcher class is very efficient in using memory resources thereby increases application performance. M

3, The FileSystemWatcher class is used to monitor the current directory and its subdirectories for changes in the directories or files contained

in the directory. M

Page 35: Uml

4, The FileSystemWatcher class watches the system configuration and can provide information about the drive, such as the drive letter, the

type of drive, and the amount of free space on the drive. M

3

50 A stream represents a stream of bytes of data. Which of the following are the primary tasks performed by a stream? M

1, Reading, writing, deleting m

2, Reading, deleting, seeking m

3, Seeking, deleting, writing m

4, Reading, writing, seeking m

4

51 Which of the following software development approaches is used to show the functional capabilities of the software system to the customer

to freeze the requirements? M

1,Spiral approach m

Page 36: Uml

2,Win-win spiral approach m

3,Prototyping approach m

4,Waterfall approach m

3

52 Which of the following approaches is used in requirement gathering and analysis phases to capture the exact requirements of the proposed

system? m 1,Protoyping approach m

2,Spiral approach m

3,Waterfall approach m

4,Win-Win spiral approach m

1

53 Which of the following does NOT refer to a phase in Software Development Life Cycle? M

1,Coding m

Page 37: Uml

2,Design m

3,Testing m

4,Object oriented design m

4

54 Which of the following software development approaches is used when you have time-bound releases? M

1,Spiral approach m

2,Win-win spiral approach m

3,Prototyping approach m

4, Incremental approach m

2

55 Which of the following represents the correct order of phases in SDLC? M

1,a) Feasibility analysis

b) Requirements analysis and specification

Page 38: Uml

c) Design

d) Coding

e) Testing

f) Maintenance m

2,a) Requirements analysis and specification

b) Feasibility analysis

c) Design

d) Coding

e) Testing

f) Maintenance m

3,a) Feasibility analysis

b) Requirements analysis and specification

Page 39: Uml

c) Design

d) Coding

e) Maintenance

f) Testing m

4,a) Requirements analysis and specification

b) Feasibility analysis

c) Design

d) Coding

e) Maintenance

f) Testing m

1

56 You are a Software designer at Smart solutions. You are working on the requirement phase of SDLC, where you have to identify the

Page 40: Uml

end user expectations of the Software System. Which of the following UML diagrams will you use to represent the end user expec

1,Use case, Class, and Activity diagrams m

2,Use case, Object, and Activity diagrams m

3,Use case, Sequence, and Deployment diagrams m

4,Use case, Class and Package Diagram m

1

57 Which of the following UML diagrams is used to model the functionality of a system? M

1,Component diagram m

2,Use Case diagram m

3,Activity diagram m

4,Object diagram m

2

Page 41: Uml

58 You are a part of the team involved in analyzing a software system. You are required to create a UML diagram depicting the interactions

that happen over a period of time among various objects of the system. You also want to order the interactions in sequ

1,Sequence diagram m

2,Use-Case diagram m

3,Communication diagram m

4,Activity diagram m

1

59 Wilson Inc. needs to develop an e-commerce Web site for a client. The Graphic User Interface (GUI) of the software should be user

friendly because people who are new to computer usage will also use the e- commerce Web site. During the design of the Web si

1,Spiral approach m

2,Waterfall approach m

3,Prototyping approach m

Page 42: Uml

4,Incremental approach m

3

60 Info Solutions needs to develop a payroll system that maintains salary information, such as basic salary and house rent allowances. The

payroll system should also maintain information about the provident fund contribution of employees. Further, Info Solut

1,Prototyping approach m

2,Incremental approach m

3,Spiral approach m

4,Waterfall approach m

2

61 Info Solutions needs to develop an operating system, which can support graphical applications that require high memory and processing

speed. The company plans to first release the beta version of the operating system in the market. After incorporating the

Page 43: Uml

1,Waterfall approach m

2,Incremental approach m

3,Spiral approach m

4,Prototyping approach m

3

62 In which of the following phases of SDLC the SRS document is prepared? M

1,Feasibility Analysis m

2,Design m

3,Coding m

4,Requirement Analysis and Specification m

4

63 Which of the following phases of Waterfall approach involves conversion of design into machine-readable form? M

1,Design m

Page 44: Uml

2,Implementation and maintenance m

3,Construction m

4,Integration and testing m

3

64 Which of the following options is NOT a part of Use Case diagram? M

1,Actors m

2,Relationships m

3,Use cases m

4,Properties of an actor m

4

65 Which of the following is a limitation of the Incremental approach? M

1,The approach does not define the process to go back to the previous phase to handle changes in requirement. M

Page 45: Uml

2,The approach may compromise on the overall quality of the software in the rush to develop the prototype. M

3,The development process is repeated until all the functions of the projects are implemented. M

4,The approach is applicable only to large applications. M

4

66 Which of the following UML diagrams depicts the reaction of a class when an event occurs? M

1,State Machine diagram m

2,Sequence diagram m

3,Communication diagram m

4,Object diagram m

1

67 In the testing phase, you want to test the system to detect whether the software system works according to the requirements.

Which of the following UML diagrams will help you in the test phase to check whether the system meets the specified requirements o

Page 46: Uml

1, Use case diagram m

2,Activity diagram m

3,Sequence diagram m

4,Class diagram m

1

68 Which of the following enables an analyst to know if all the requirement are fulfilled in terms of static and dynamic constituents? M

1,Use case view m

2,Design view m

3,Process view m

4,Implementation view m

2

69 Tom is an analyst at Info Solutions Ltd. He is required to depict the behavior of static constituents of a software system by using UML

Page 47: Uml

diagrams.

Which of the following UML Modeling techniques will help him achieve the desired requirement? M

1, Requirement Modeling m

2, Static Modeling m

3, Dynamic Modeling m

4, Architectural Modeling m

3

70 Wilson is project manager at Info Solutions Ltd. He has been provided a multiple view of Infosuper Bank system representing the model

of the system designed using UML. He has to prepare project plans in terms of number of components involved in the project

1, Use Case view m

2, Design view m

3, Process view m

Page 48: Uml

4, Implementation view m

2

71 Identify the actor, from which other actors are derived? M

1,Derived actor m

2,Super actor m

3,Sub actor m

4,Abstract actor m

2

72 In the Business Modeling technique, what does Business entity represents? m 1,Data or documents that flow from one sub process to

another. m 2,The functionality of a particular subprocess in the existing process. M

3,A particular functionality described in the use case during the design phase. M

4,A collection of business units. M

1

Page 49: Uml

73 Which of the following is an example of a non-human actor? m

1,Date or time m

2,Business entity m

3,Collaboration m

4,Organizational unit m

1

74 Which of the following Business Modeling constructs represents the data or documents that flow from one sub process to another? M

1,Business actor m

2,Business workers m

3,Business entity m

4,Business use case m

3

Page 50: Uml

75 Consider the following statements:

Statement A: When an actor interacts with a use case, it is called association relation.

Statement B: When the characteristics of one actor can be derived from the other abstract actor., the relationship is called gene

1,Both, Statements A and Statement B, are False. M

2,Both, Statements A and Statement B, are True. M

3,Statement A is True and Statement B is False. M

4,Statement A is False and Statement B is True. M

2

76 Consider the statements:

Statement A: The extend relationship exists among use cases when the functions of a use case, which is implemented in initial iterations, are

enhanced in successive iterations.

Statement B: Collaboration is a collection of class

Page 51: Uml

1,Both, Statement A and Statement B, are False. M

2,Both, Statement A and Statement B, are True. M

3,Statement A is True and Statement B is False. m

4,Statement A is False and Statement B is True. m

3

77 John has been assigned the responsibility for defining features that the Sales software system should deliver. John assessed the economic,

technical, and operational feasibility for the proposed software system. He also identified the stakeholders and end

1,Requirements gathering m

2,Requirements analysis and negotiation m

3,Requirements specification m

4,Requirements validation m

1

Page 52: Uml

78 The National bank offers three types of accounts to its customers: saving, current, and personal loan account. As a result, all the customers

of the bancanbe categorized as, saving account holders, current account holders, or loan account holders. Yo

1, Using an association relationship m

2,Using a generalization relationship m

3,Using an extend relationship m

4,Using an include relationship m

2

79 In a departmental store, customers purchase goods and go to the cashier who accepts payments from the customers and generates the

receipt.

The store manager maintains the details of all the available goods in the store. If the quantity of any product fall

1, Customer, Departmental store, and Store manager m

2,Customer, Departmental store, and Cashier m

Page 53: Uml

3,Customer, Cashier, and Reorder level m

4,Customer, Store manager, and Reorder level m

4

80 A large number of books are available in the City library. The librarian is responsible for issuing and collecting books from the members

. The librarian also maintains the status of all the books in the library. In addition, the librarian orders the new b

1,Business actor only m

2,Business worker and entity m

3,Business actor and entity m

4,Business actor and Business worker m

4

81 Wilson Infotech Inc. has been assigned the task of developing an ATM system for the National bank. The ATM system should provide

Page 54: Uml

functionalities, such as cash withdrawal, cash deposit, generation of transaction statements, and change PIN. Identify the i

1,Cash withdrawal and deposit m

2,Generate transaction statements m

3,Change PIN m

4,Maintain cash in the cash dispenser m

4

82 Blue Valley Inc., a software development organization, has various departments. The organization has directed each department to place

its requisition for computers to the purchase department. The purchase department invites price quotations from differen

1,Entity: Quotations

Actor: Purchase department of Blue Valley Inc.

Business worker: Companies sending quotations m

2,Entity: Quotations

Page 55: Uml

Actor: Companies sending quotations

Business worker: Purchase department of Blue Valley Inc. m

3,Entity: Departments giving requisition

Actor: Purchase department of Blue Valley Inc.

Business worker: Companies sending quotations m

4,Entity: Purchase department of Blue Valley Inc.

Actor: Quotations

Business worker: Companies sending quotations m

2

83 The Business Process model of the Student Registration System consists of four business use cases, which are:

--Fill the registration form

--Submit the registration form

--Fees deposit

Page 56: Uml

--Get registration number

The business actors of the Student Registrat

1,Student m

2,Faculty m

3,Cashier m

4,Registrar m

3

84 Wilson Inc. has an assignment of University Management System automation. The University wants to automate the student registration

system, library management system, and payroll system. In the first iteration, University plans to automate the payroll sys

1,Student, Finance Registrar, and Faculty m

2,Student, Librarian, and Finance Registrar m

3,Student, Faculty, and Finance Registrar m

Page 57: Uml

4,Finance Registrar and Employee m 4

85 Info Solution has been assigned to automate the Air Line Reservation system of Flyway, an airlines company. Flyway wants the following

requirements in the automation system:

-- Fill the reservation form

-- Submit the reservation form

-- Make payment of

1,Fill the reservation form and Cancel the ticket online m

2,Book the ticket online and Check the availability of seats m

3,Check the availability of seats and Check the fare of ticket m

4,Make payment of ticket online and Cancel the ticket online m

2

86 Which of the following functions is represented by the Organization unit construct for Business Modeling? M

Page 58: Uml

1,Collection of Business units and Business entities m

2,How the functionality described in the use case will be realized in the design phase m

3,The functionality of a particular subprocess in the existing process m

4,Data flow from one sub process to another m

1

87 Which of the following phases of Requirement management enables you to define and represent the behavior of the software? M

1,Requirements gathering m

2,Requirements analysis and negotiation m

3,Requirements validation m

4,Requirements specification m

2

88 What does a Business use case represent? M

Page 59: Uml

1, A role involved in the existing business process. M

2, The functions of a particular sub process in the existing process.

m 3, The data or documents that flow from one sub process to another. M

4, An external entity that interacts with the business process. M

2

89 What do you call the process of re-factoring and reviewing the use cases to obtain well-elaborated and specific use cases? m

1,Defining m

2,Examining m

3,Elaborating m

4,Refining m

4

90 Which of the following represents a role involved in the existing business process? M

1,Business worker m

Page 60: Uml

2,Business actor m

3,Business entity m

4,Collaboration m

1

91 Consider a bank that offers personal loan service to its customers. To apply for loan, a customer needs to take appointment from a loan officer.

The help desk coordinator at the bank gives the appointment to the customer after checking the appointment sch

1,Take Appointment and Sanction Loan m

2,Take Appointment, Verify Customer Information, and Sanction Loan m

3,Maintaining customer information, Verification of customer information, and Sanctioning of loan m

4,Verify Customer Information and Sanction Loan m

3

92 The existing Inventory Management System of a department store enables the store manager to maintain detailed information about all

Page 61: Uml

the items sold in the store. The system enables the store manager to generate an order to purchase items. Whenever any item

1,Extend m

2,Realization m

3,Include m

4,Association m

1

93 Which of the following enables you to focus on the functions performed by the software system in each iteration? M

1, System Boundary m

2, Actor m

3, Use case m

4, Relationship m

1

Page 62: Uml

94 Which of the following Requirement Gathering Techniques involves Idea generation and Idea reduction activities? M

1, Interviewing Stakeholders m

2, Conducting Brainstorming Session m

3, Preparing Questionnaires m

4, Studying the existing system m

2

95 Which of the following phases of requirement management refers to the process of categorizing and organizing requirements based on the

document

produced in the requirement gathering activity? M

1, Requirement Analysis and Negotiation m

2, Requirement Gathering m

3, Requirement Specification m

Page 63: Uml

4, Requirement Validation m

1

96 Jim, a programmer with RedSky Systems, is creating an application that accesses objects from a database and restores them to their original state

before working on them. It is possible that the members of the objects may get modified in the process of tra

1, He should create a custom exception handling method. M

2, He should use the UnreferencedObjectEventHandler delegate to handle the event. M

3, He should use the XmlElementEventHandler delegate to handle the event. M

4, He should use the XmlSerializationFixupCallback delegate to handle the event. M

3

97 Jonathan, an application developer with Global Soft Inc., needs to create an application targeted to be used by people of Spanish origin. He does

not want to write code for creating the culture from scratch and instead wants to create a culture supplement

Page 64: Uml

1, CultureAndRegionInfoBuilder custom = new CultureAndRegionInfoBuilder("custom", CultureAndRegionModifiers.Neutral); m

2, CultureAndRegionInfoBuilder custom = new CultureAndRegionInfoBuilder("custom", CultureAndRegionModifiers.None);. M

3, CultureInfo custom = new CultureInfo("custom", CultureAndRegionModifiers.None);. M

4, CultureInfo custom = new CultureAndRegionInfoBuilder("custom", CultureAndRegionModifiers.None); m

2

98 James is creating an application that receives a stream of bytes and decodes them to display characters to the users. It is possible that the data may

not always be available. Therefore, James must ensure that the state between application sessions is mai

1, He must implement the Encoding class. M

2, He must implement the Decoder class with its Fallback property set to an instance of the DecoderExceptionFallback class.

3, He must implement the Encoder class with its Fallback property set to an instasnce of the EncoderExceptionFallback class. m

Page 65: Uml

4, He must implement the Deserialize method available in the BinaryFormatter class to convert the Bytes to characters. M

2

99 John, a systems programmer with EverSoft Inc. needs to receive data in his application from another application. The data will be transported in a

common binary format and John will need to convert it back to its original form after receiving the data. Wh

1, Unboxing m

2, Explicit Casting m

3, Implicit Casting m

4, Deserialization m

4

100 Lindsay, an application programmer, has applied a Formatter class while serializing an object. There is no problem in serializing the publicly declared members. However, she is not able to serialize the private members of the object. What must be the reas

1, Lindsay has applied the BinaryFormatter class. Instead she should use the SOAPFormatter class. M

Page 66: Uml

2, Lindsay has applied the SOAPFormatter class. Instead she should use the BinaryFormatter class. M

3, The Private members cannot be serialized. The members declared as Private should be declared as Public or Protected to enable their

serialization. M

4, There is some problem with the code written by Lindsay. She should rectify the code and make the Formatter class to serialize Private members explicitly. M

2

101 Which of the following visibility option for attributes and operation of a class indicates that the attribute or operation in the base class is visible to

derived classes? M

1,Public m

2,Private m

3,Protected m

4,Package m

3

Page 67: Uml

102 Which of the following represents the different types of relationships between classes and objects provided by UML? M

1,Association, Dependency, Generalization, and Realization m

2,Association, Hybrid, Generalization, and Realization m

3,Association, Multiplicity, Dependency, and Generalization m

4,Association, Multiplicity, Dependency, and Realization

1

103 Which of the following options does not contain an attribute? M

1,Factory class m

2,Interface m

3,Parameterized class m

4,Abstract class m

2

104 Which of the following is also called a template class? M

Page 68: Uml

1,Abstract class m

2,Factory class m

3,Parameterized class m

4,Self-linked class m

3

105 A class that has multiple objects having the same attribute values is known as a ______________. M

1,Factory class m

2,Parameterized class m

3,Self-linked class m

4,Abstract class m

1

106 Consider the following statements:

Page 69: Uml

Statement A: Interfaces enable you to implement multiple inheritance.

Statement B: An abstract class contains abstract methods that need to be implemented by other class that extends the abstract class.

Which one of th

1,Both, Statement A and Statement B, are False. m

2,Both, Statement A and Statement B, are True. M

3,Statement A is True and Statement B is False. M

4,Statement A is False and Statement B is True. M

2

107 Which of the following is a valid difference between an abstract class and an interface? M

1,Abstract classes enable you to implement multiple inheritance, but interfaces do not support multiple inheritance. M

2,An interface may provide the definition of some of its methods, but an abstract class does not provide any definitions. M

3,An abstract class is used in the same package as opposed to an interface that can be realized across multiple packages. M

Page 70: Uml

4,An interface allows you to create instances, but an abstract class does not allow you to create instances. M

3

108 Which of the following gives the correct description of the term Parameterized class? M

1,A parameterized class represents the abstract behavior of a group of objects and the operations associated with the objects. M

2,A parameterized class is an abstract class, which contains at least one abstract method. M

3,A parameterized class defines operations in addition to the operations defined in the implementation class. M

4,A parameterized class provides a mechanism that enables you to use operations and classes to work with different data types. M

4

109 Which of the following is an association relationship between two objects of the same class? M

1,Recursive aggregation m

2,Aggregation m

Page 71: Uml

3,Composition m

4,Qualified association m

1

110 Consider the following statements:

Statement A: Visibility symbol “+” indicates that the attribute or operation of a class is not visible to other classes.

Statement B: Visibility symbol “-“ indicates that the attribute or operation of a class is visibl

1,Both, Statements A and Statement B, are False. M

2,Both, Statements A and Statement B, are True. M

3,Statement A is True and Statement B is False. M

4,Statement A is False and Statement B is True.

1

111 The use cases for a Student Registration System are identified as:

1. Fill up a registration form

Page 72: Uml

2. Submit the registration form

3. Deposit fee

4. Generate fee receipt

5. Verify the registration form

6. Get registration number

Which of the following op

1,FillForm, SubmitForm, GenerateFees, and RegistrationNumber m

2,FillForm, SubmitForm, and DepositFees m

3,Student, RegistrationForm, and FeesReceipt m

4,RegistrationForm and FeesReceipt m

3

112 The responsibilities of a Library Management System are:

Page 73: Uml

1. Maintaining member information, such as name, address, and contact number

2. Maintaining records of books available in the library

3. Maintaining details of issued and returned books

4. Calcul

1,Librarian, Library, Member, and Book m

2,Library, Member, Book, and BookCopy m

3,Librarian, Member, Book, and BookCopy m

4,Library, Member, BookRecord, and Penalty m

4

113 InfoSolution wants to automate its recruitment system. The requirements for implementing the system are:

a. Store the resumes of candidates in the database.

b. Short list candidates based on the percentage of marks obtained in the qualifying examination.

1,Resume, TestPaper, C, C++, Java, Oracle, and Linux m

Page 74: Uml

2,Candidate, TestPaper, and Resume m

3,C, C++, Java, Oracle, and Linux m

4,Candidate, Resume, C, C++, Java, Oracle, and Linux m

1

114 InfoSolution wants to automate its Payroll System. The company has three categories of employees; managers, engineers, and other supporting staff.

The supporting staff is further divided as part time and full time employees. Which of the following identi

1,Employee, Manager, Engineer, SupportingStaff, FullTimeStaff, and PartTimeStaff. M

2,Employee, Manager, Engineer, SupportingStaff, m

3,Manager, Engineer, SupportingStaff, FullTimeStaff, and PartTimeStaff. M

4,Employee, SupportingStaff, FullTimeStaff, and PartTimeStaff. M

1

Page 75: Uml

115 The Account class of a banking system has an operation called CalculateInterest. The return type of the operation is float. The operation is not visible to any other class of the system. Balance and InterestRate are the two float type parameters of the op

1,-float CalculateInterest(Balance:float,CalculateInterest:float) m

2,+CalculateInterest(Balance:float,CalculateInterest:float):float m

3,+ float CalculateInterest(Balance::float,CalculateInterest::float) m

4,-CalculateInterest(Balance:float,CalculateInterest:float):float m

4

116 There are three classes in a class diagram of a Bank ATM System: Account, SavingsAccount, and CurrentAccount. The attributes of the Account class are AccountNumber and Balance. The operation of the Account class is CalculateInterest, which is implemented

1,Generalization m

2,Association m

3,Composition m

4,Realization m

1

Page 76: Uml

117 Consider the attribute and operation declared in a class:

-IssueDate: Date [1] = “01-01-04” {ReadOnly}

+BookIssueRequest(BookName:String): Boolean

Which of the following represents the parameter name, default value, and return type? M

1,BookIssueRequest, 01-01-04, and Boolean m

2,IssueDate, 1, and Date m

3,BookName, 01-01-04, and Boolean m

4,BookName, 01-01-04, and String m

3

118 Consider the class diagram of Library Management System. What are the relationships between the following classes:

-- Book and BookCopy

-- Member and Library

Page 77: Uml

-- Book and Library

-- Student and Member

Click the Exhibit button to view the class diagram. M

1,-- Composition

-- Aggregation

-- Dependency

-- Generalization m

2,-- Aggregation

-- Composition

-- Dependency

-- Generalization m

3,-- Composition

-- Aggregation

Page 78: Uml

-- Generalization

-- Dependency m

4,-- Aggregation

-- Composition

-- Generalization

-- Dependency m

1

119 Consider the four classes of a bank ATM system shown in the Exhibit:

Which of the following represents the correct relationship between:

-- Transaction and Account class

-- Account class and SavingsAccount and CurrentAccount

Click the Exhibit button to

Page 79: Uml

1,-- Composition

-- Generalization m

2,-- Generalization

-- Composition

M

3,-- Realization

-- Generalization m

4,-- Generalization

-- Realization m

1

120 An ATM consists of a card scanner, display screen, and cash dispenser. What relationships should exist between the following classes of the ATM System:

-- ATM and CardScanner

-- ATM and CashDispenser

Page 80: Uml

-- ATM and DisplayScreen m

1,-- Generalization

-- Composition

-- Aggregation m

2,-- Aggregation

-- Aggregation

-- Composition m

3,-- Composition

-- Composition

-- Composition m

4,-- Aggregation

-- Composition

Page 81: Uml

-- Realization m

3

121 A Payroll System consist of an Employee class and an Address class. The Employee class has attributes, such as employee code, name, and date of birth. The Address class has attributes, such as the house number and area code. Which of the following relation

1,Generalization m

2,Composition m

3,Dependency m

4,Multiplicity m

2

122 Which of the following correctly represents a protected operation, display() that accepts an integer value and returns a string? M

1,#display(name: String): int m

2,#display(num: int): String m

3,~display(name: String): int m

Page 82: Uml

4,~display(num: int): String m

4

123 Which of the following correctly represents a private operation, print() that accepts a character value and returns an integer? M

1,-print (ch: char): int m

2,- int print (ch: char) m

3,-print (num: int): char m

4,-char print (num: int) m

1

124 Consider the following scenario:

A class named Employee is a part of class Company and class Employee can exist independently.

Which of the following relationships refers to the given scenario? M

1, Aggregation m

Page 83: Uml

2, Composition m

3, Dependency m

4, Generalization m

1

125 Consider the following scenario:

A class Employee is a base class containing Emp_details class and also controls the lifetime of class Emp_details.

Which of the following relationships refers to the given scenario? M

1, Aggregation m

2, Composition m

3, Dependency m

4, Generalization m

2

126 Which of the following is NOT a part of Quality Context Triangle? M

Page 84: Uml

1,Data quality m

2,Code quality m

3,Process quality m

4,Design quality m

4

127 Which of the following class-based design metrics is used to measure the total number of edges in the inheritance tree from its lowest node to its root? M

1,RFC m

2,WMC m

3,DIT m

4,NOC m

3

128 Which of the following options refers to the execution of a sequence of process-components with varying intensity? M

Page 85: Uml

1,Output m

2,Task m

3,Iteration m

4,Activity m

3

129 Which of the following quality checks involves organizing people, planning processes, and providing appropriate implementation environment? M

1, Management Quality m

2, Quality environment m

3, Process Quality m

4, Architectural Quality m

2

130 Which of the following techniques ensures that the software models represent their intended meaning and their representation is consistent

Page 86: Uml

across the project? M

1, Syntax m

2, Semantics m

3, Aesthetics m

4, Documentation m

2

131 Which of the following views focuses on assembling and configuring the component to release the required software system? M

1,Deployment view m

2,Implementation view m

3,Process view m

4,Design view m

2

Page 87: Uml

132 What type of relationship exists among packages when the constituents of one package need to access the constituents of another package to implement a particular function. m

1,Realization m

2,Composition

3,Access dependency m

4,Generalization m

3

133 Which of the following relationships exists when one constituent of a particular package calls the constituents of another package for performing a task? m 1,Access Dependency m

2,Generalization m

3,Association m

4,Realization m

1

134 Which of the following viewtypes enable you to define interactions among various execution units? M

Page 88: Uml

1,Module m

2,Component m

3,Connector m

4,Allocation m

3

135 The __________ viewtype enables you to specify modules that implement a particular functionality?

m

1,Module m

2,Component m

3,Connector m

4,Allocation m

1

136 Consider the statements:

Page 89: Uml

Statement A: Deployment components form the executable system.

Statement B: Execution components include the components that are the outcome of implementation phase of SDLC.Which of the following options is correct 1,Both, Statement A and Statement B, are False. M

2,Both, Statement A and Statement B, are True. M

3,Statement A is True and Statement B is False. M

4,Statement A is False and Statement B is True. M

3

137 Consider the statements:

Statement A: Executable file modeling technique models the executable components of a software system by modeling .exes, libraries, and databases contained in the system.Statement B: Database modeling techniques mode

1,Both, Statement A and Statement B, are False m

2,Both, Statement A and Statement B, are True m

3,Statement A is True and Statement B is False m

Page 90: Uml

4,Statement A is False and Statement B is True m

3

138 Consider the statements:

Statement A: A communication channel among nodes is represented by a straight line drawn between the communicating nodes.

Statement B: The three-tier Web application describes that the various components are distribut

1,Both, Statement A and Statement B, are False. M

2,Both, Statement A and Statement B, are True. M

3,Statement A is True and Statement B is False m

4,Statement A is False and Statement B is True m

2

139 As an analyst, you are responsible to prepare a software architecture viewtype to specify the constituents that you need to model in a software system. The viewtype should specify the resources allocated, such as designers, developers allocated, and softw

1,Module viewtype m

Page 91: Uml

2,Component viewtype m

3,Connector viewtype m

4,Allocation viewtype m

4

140 Consider the statements:

Statement A: You can not use package diagrams to depict the various modules grouped into logical packages

Statement B: You can use component diagrams to depict the various components and the relationships among them

1,Both, Statement A and Statement B is False. M

2,Both, Statement A and Statement B is True. M

3,Statement A is True and Statement B is False. M

4,Statement A is False and Statement B is True m

4

Page 92: Uml

141 BlueStreak Solutions is developing an online shopping software system. The software developer designs the use cases and classes based on the requirements of the system. Some of the use cases of the system are, Fill Schedule, Report Leave, and Report Overt

1,You can create a package diagram to view use cases and classes in a single diagram. The various groups of classes based on the use cases that the classes realize are:

-- The employee and schedule classes realize the Fill Schedule use case.

-- The employ

2,You cannot create a diagram to depict classes and uses together. M

3,You need to create interaction diagrams to depict the classes that collaborate to realize a use case. As a result you can depict classes and use cases together. M

4,You need to create package diagrams to group classes that belong to the same instance hierarchy and depict the use case each class realizes in collaboration with other classes. M

1

142 Janes Technology is developing software for the Stock exchange. The software developer analyzes that there are a large number of functional modules, nearly 10-15, which need to be implemented. Consequently, there are a large number of use cases of the sof

1,You need to create a package diagram to depict packages of use cases based on the actor associated with the use cases. Each package should contain use cases used by a particular actor. M

Page 93: Uml

2,You need to create a package diagram to depict packages of use cases based on the functional module, which each use case represents, to view the architecture using module viewtype. m

3,You need to create a package diagram to depict packages of use cases based on include and extend relationships to view the architecture from allocation viewtype. M

4,You need to create a package diagram to depict packages of use cases based on the actor associated with the use cases. Each package should contain use cases used by a particular actor.

In addition each package should consist of the include and extend re

2

143 Dyans Systems is developing an administration system for a Steel manufacturing company. The requirement analyst gathers the requirements of the system and the developer derives the use cases and actors for the envisioned system. A meeting of the software

1,You need to create a package diagram to group the use cases based on include and extend relationships to view the architecture from allocation viewtype. M

2,You need to create a package diagram to group the use cases based on the functional module each of the use cases represent to view the architecture using module viewtype. M

3,You need to create a package diagram where each package contains use cases used by a single actor. M

4,You need to create a package diagram to group the use cases based on the actors so that each package contains use cases used by a particular actor. In addition each package should consist of the include and extend relationships for the use cases. M

Page 94: Uml

3

144 CadalSoft Inc. is developing a payroll system. The system is being developed on a small scale and will only be used by the accountant of the company. The various classes of the software system are employee, employeepackage, calculator, salary, and account

1,Three m

2,Two m

3,One m

4,Four m

2

145 BlueSoftware solutions are developing an online shopping software system. The software developer has modeled the logical system and is now modeling the physical system. There are a large number of components in the system. The developer creates a component

1,You need to create a package diagram to group components that are dependent on each other, thus allowing visualization of the architecture through component and connector viewtype. M

2,You need to create a package diagram to group components that belong to a common functional group, thus allowing visualization of the architecture through module viewtype. M

Page 95: Uml

3,You need to create a package diagram to group components that are dependent on each other to reduce the complexity of the UML diagram for component visualization. M

4,You need to create a package diagram to group components that belong to a common functional group to depict how use cases of the system have been implemented. M

2

146 Dyans Systems is developing software for implementing an online movie ticket booking system. The software developers need to model the architecture to view the components of the system, the relationships between the components, and the placement of the co

1,You need to create a deployment diagram to depict:

-- The nodes.

-- The communication channel between each node.

-- The components that execute at each node. M

2,You need to depict the interfaces for each of the components in the component diagram. M

3,You need to:

-- Create a deployment diagram to depict the nodes at which each of the components executes.

-- Depict the interfaces for each of the components in the component diagram. M

Page 96: Uml

4,You need to:

-- Depict the interfaces for each of the components in the component diagram.

-- Depict the relationship between each of the components. M

1

147 Wilson Inc. is developing an online auction system. The classes of the auction system are, Customer, AuctionHall, ProductRoom, BiddingRoom, BidHistory, Payment, and Shipping. The various activities that take place in the system are:

-- An auction is initi

1,The various packages for the system based on different use cases they collaborate to realize are:

-- Auction containing Customer, AuctionHall, BiddingRoom, ProductRoom, and BidHistory classes.

-- Payment containing Payment and Shipping classes. M

2,The various packages for the system based on different use cases they collaborate to realize are:

-- Auction containing Customer, AuctionHall, BiddingRoom, and ProductRoom classes.

-- Auction closure containing BidHistory, Payment, and Shipping classes

Page 97: Uml

3,The various packages for the system based on different use cases they collaborate to realize are:

-- Auction containing AuctionHall, BiddingRoom, ProductRoom, and BidHistory classes.

-- Shipping containing Customer, Payment, and Shipping classes. M

4,The various packages for the system based on different use cases they collaborate to realize are:

-- Auction containing AuctionHall, BiddingRoom, and ProductRoom classes.

-- Auction closure containing Customer, BidHistory, Payment, and Shipping classes

1

148 A project manager at Infosolution has created packages ATMClient and ATMCard for a Bank ATM system.

A class Customer belongs to the package ATMClient, and class AC belongs to the package ATMCard. The Customer class can invoke the methods of AC class by im 1, Access Dependency Relationship m

2, Dependency Relationship m

3, Generalization Relationship m

4, Association Relationship m

Page 98: Uml

1

149 Wilson Technology Ltd. needs to create the architectural model for the prototype of the InfoSuper bank ATM system.

The prototype will include only the cash withdrawal feature of the InfoSuper bank ATM system.

The project manager has identified ATMClient

1, a)Server: Contains the ATM.

b)InfoSuper Bank ATM: Contains ATMClient, Card Scanner, and Cash Dispenser. M

2, a)Server: Contains the ATM, ATMClient, Card Scanner b)InfoSuper Bank ATM: Contains Cash Dispenser. M

3, a)Server: Contains ATMClient, Card Scanner, and Cash Dispenser.

b)InfoSuper Bank ATM: Contains the ATM. M

4, a)Server: Contains Cash Dispenser.

b)InfoSuper Bank ATM: Contains the ATM, ATMClient, Card Scanner. M

1

Page 99: Uml

150 John is a system designer. He has to design an online order processing system for Fido Fizz company. The customer can enquire, select, and order for their products.

The product is delivered to the customer within 24 hours after the order is placed.

The l

1, Order package containing use case Order Products and Process Order.Dispatch package containing use cases Collect Order and Deliver Order. M

2, Order package containing use cases Place Order and Dispatch Order.ListOrders package containing use cases Print list of orders, Send list of orders to delivery department. M

3, Order package containing use cases Place Order and Process Order.Dispatch order containing use cases Print List of Orders and Pass List of Orders to the Delivery Department. M

4, PlaceOrder package containing use cases Enquiry, Selection, and OrderProducts.

ProcessOrder package containing use cases Print details of order and Pass order to delivery department. M

4

151 GRASP is an acronym for _______________. M

1,General Responsibility Assignment Software Patterns m

Page 100: Uml

2,Generic Responsibility Assignment System Patterns m

3,General Responsibility Assignment System Patterns m

4,Generic Responsibility Assignment Software Patterns m

1

152 Which of the following structural patterns allow you to modify the behavior of individual objects without creating a new derived class? m 1,Composite m

2,Proxy m

3,Decorator m

4,Façade m

3

153 Which of the following design patterns enables you to create objects for displaying the data in various forms? M

1,Composite m

2,Command m

Page 101: Uml

3,Observer m

4,Façade m

3

154 Which of the followings is a type of GRASP pattern? M

1,Factory m

2,Creator m

3,Builder m

4,Proxy m

2

155 Which of the followings is NOT a type of Structural Design pattern? M

1,Composite m

2,Decorator m

Page 102: Uml

3,Façade m

4,Builder m

4

156 Consider the following statements:

Statement A: Chain of responsibility represents the strong interconnection between classes.

Statement B: In the observer pattern, one of the objects contains data and other object displays data in various fo

1,Both, Statement A and Statement B, are False. M

2,Both, Statement A and Statement B, are True. M

3,Statement A is True and Statement B is False. M

4,Statement A is False and Statement B is True. M

4

Page 103: Uml

157 As a design analyst, you need to design a pattern for an Inventory system that provides guidelines for assigning responsibility of creating a new object to an object of a particular class. Which of the following patterns enables you to perform this task?

1,Creator pattern m

2,Expert pattern m

3,Controller pattern m

4,High cohesion pattern m

1

158 As an analyst, you need to select a design pattern for defining the communication flow between objects. You need to define how classes will handle method invocation requests when implementation of method is not known. Which of the following design pattern

1,Chain of responsibility pattern m

2,Command pattern m

3,Observer pattern m

4,Facade pattern m

1

Page 104: Uml

159 Consider the following statements:

Statement A: Structural design patterns provide guidelines for enabling communication between two objects.

Statement B: Behavioral patterns describe how classes and objects can be combined to form lar

1,Both, Statement A and Statement B are False. M

2,Both, Statement A and Statement B are True. M

3,Statement A is True and Statement B is False. M

4,Statement A is False and Statement B is True. M

1

160 As an analyst, you are responsible for providing a design pattern for implementing an ATM model. The design pattern should provide techniques for creating and managing the lifecycle of the object. It should also control the lifetime of the subclass object

1,Factory Pattern m

2,Builder Pattern m

Page 105: Uml

3,Singleton Pattern m

4,Composite Pattern m

1

161 Pizza station is a restaurant that serves combo meals. Children meals consist of a small pizza, a side item, a drink, and a toy. The pizza can be an onion pizza, capsicum pizza, cheese pizza, or chicken pizza, but the process is the same. The employee at

1,Factory m

2,Builder m

3,Singleton m

4,Composite m

2

162 You are developing an Employee Monitoring System where the Department class contains the objects of Employee class. Additionally, the Department class initializes the object of Employee class by passing the EmployeeID as parameter in the constructor.

1,Creator m

Page 106: Uml

2,Decorator m

3,Builder m

4,Composite m

1

163 RedSky Inc, has appointed a new legal advisor for the company. According to the policies of the company there can be only one legal advisor at any given time. What kind of pattern does the legal advisor class represent? M

1,Factory m

2,Builder m

3,Singleton m

4,Composite m

3

164 You need to develop a home page of an online application. The home page is divided into three panes. One pane displays the site map of the Web site. The second pane consists of login and password textboxes from which the user can login to the Web site. Th

1,Builder m

Page 107: Uml

2,Façade m

3,Decorator m

4,Composite m

4

165 In a calculator application, the ArithmeticCalc class has the responsibility of computing the sum of integers. The ArithmeticCalc class contains operations, such as addition, subtraction, and division. Which of the following patterns represent the respons

1,Creator m

2,Expert m

3,Controller m

4,Factory m

2

166 You have recently joined a software development company as a senior software developer. As part of your first assignment, you have to add functionality to an existing application. You are informed that the customer requirements have changed, since the app

Page 108: Uml

1,Proxy m

2,Decorator m

3,Façade m

4,Composite m

2

167 You have developed a Web-based application for a bank. The application stores all the

information about its employees and customers. The database used in the bank application also

stores photographs of its employees and customers along with their personal

1,Chain of Responsibility m

2,Proxy m

3,Composite m

4,Observer m

2

Page 109: Uml

168 Consider that you have an abstract base class, Shape, with an abstract method, makeShape(),

to draw a shape on the screen. Two classes, Circle and Square, are derived from the Shape

class and provide definitions of the makeShape() method. Depending upon t

1,Façade m

2,Decorator m

3,Factory m

4,Proxy m

3

169 You are assigned to create an application for a bank that calculates the interest amount

on each type of account in the bank. Consider that you have an abstract base class,

Account, with an abstract method, CalculateInterest(), to calculate interest on sa

1,Provider m

Page 110: Uml

2,Composite m

3,Builder m

4,Factory m

4

170 You are assigned the task of developing a retail automation system. Currently you are working in the designing phase of the application. When you create a blueprint for the application, you observe the following conditions applicable to the design: -- A c

1,Creator m

2,Expert m

3,Controller m

4,Composite m

1

171 Consider the following statements:

Statement A: Framework contains abstract and concrete classes that realize interfaces to conform to predefined specifications.

Page 111: Uml

Statement B: Framework contains classes that can be extended by subclassing. Wh

1,Both, Statement A and Statement B, are True. m

2,Both, Statement A and Statement B, are False. m

3,Statement A is True and Statement B is False. m

4,Statement A is True and Statement B is False. m

1

172 Consider the following statements:

Statement A: Design pattern enables you to reuse existing solutions for addressing common design problems.

Statement B: Design pattern establishes common terminology for problems and their solutions to impro

1,Both, Statement A and Statement B, are False. m

2,Both, Statement A and Statement B, are True. m

3,Statement A is True and Statement B is False. m

Page 112: Uml

4,Statement A is False and Statement B is True. m

2

173 Consider the following conditions:\

-- A class contains another class

-- A class records the instances of another class

-- A class uses the objects of another class.

-- A class provides information to initialize the objects of another class. Which of the

1,Singleton m

2,Factory m

3,Creator m

4,Expert m

3

Page 113: Uml

174 Consider the following statements:

Statement A: Refactoring occurs when new methods are identified during the implementation phase.

Statement B: Refactoring occurs when methods derived from the collaboration diagram are not present in the cla

1,Both, Statement A and Statement B are False. m

2,Both, Statement A and Statement B is True. m

3,Statement A is True and Statement B is False. m

4,Statement A is False and Statement B is True. m

2

175 Consider the following criteria:

-- Represents the overall system

-- Represents a use case handler

Page 114: Uml

Which of the following patterns enables you to assign the responsibility of handling the system event to the class that fulfill one or more of the preceding

1,Expert Pattern m

2,Proxy m

3,Creator m

4,Controller m

4