Sie sind auf Seite 1von 12

An Activity diagram is used for: Options

1. Modeling flow of control from one activity to the other. 2. Static modeling. 3. Architectural modeling. 4. Modeling the change of state of a class.

Correct Answer: -> 1 Which of the following phases of SDLC include translation of requirements specified in the SRS into a logical structure that can be implemented in a programming language? Options
1. Feasibility analysis 2. Requirement analysis and specification 3. Design 4. Testing

Correct Answer: -> 3 The evolution of Linux operating system begins from Red Hat Linux 6.0 to Fedora Core 6.0. The Red Hat Linux 6.0 operating system as the first iteration. The product was released as a freeware in the market and evaluated by the customer. After getting the feedback from the customers, Red Hat planned to develop the new version and released Red Hat Linux 7.0 with GUI interface. Similarly, the other versions of Linux operating system were released. Which of the following software development approaches should be applied for developing such a software with various versions? Options
1. Incremental approach 2. Spiral approach 3. Waterfall approach 4. Prototyping approach

Correct Answer: -> 2 Which of the following is a UML tool? Options


1. OMT 2. Booch' 93 3. Rational Rose

4. OOSE

Correct Answer: -> 3 Which of the following attributes of facade use case describe the purpose and output of the use case functions? Options
1. Use Case name 2. Role name 3. Description 4. Input

Correct Answer: -> 3 Consider the following statements: Statement A: The generalization relationship exists among actors that have similar behavior and similar properties. Statement B: Association relationship is represented using an arrow or a simple line. Which of the following options is correct with respect to the preceding statements? Options
1. Both, Statement A and Statement B, are False. 2. Both, Statement A and Statement B, are True. 3. Statement A is True and Statement B is False. 4. Statement A is False and Statement B is True.

Correct Answer: -> 2 The Library Management System enables the librarian to perform a number of functions, such as checking the availability of a book, issuing a book, receiving a book returned by a member, and maintaining the fine details. Identify the relationship between the following: a) Check the availability of the book b) Issue the book Options
1. Extend 2. Generalization 3. Include 4. Association

Correct Answer: -> 3 John has to design a Business Process model for a Medical store, where the customer purchases the medicine and pays the bill amount to the cashier. The cashier generates the bill. The manager maintains the details of all the available products in the store and maintains the level of the stock according to the demand. If the quantity of any product falls below the reorder level, an order should be

automatically placed for the product. Considering the above scenario, help John to identify the various actors for the Business Process Model of the Medical store. Options
1. Customer, Medical Store, and Manager 2. Customer, Medical Store, and Cashier 3. Customer, Cashier, and Reorder level 4. Customer, Manager, and Reorder Level

Correct Answer: -> 4 Which of the following use cases contains the Business rules information? Options
1. Filled Use Case 2. Facade Use Case 3. Focused Use Case 4. Business Use Case

Correct Answer: -> 1 Which of the following visibility signs indicates that the attribute or operation is visible to classes, which are within the same package? Options
1. + 2. 3. # 4. ~

Correct Answer: -> 4

Consider the following statements: Statement A: Recursive aggregation is an association relationship between two objects of the same class. Statement B: Qualified association is an association relationship that relates an object of a class to a particular object or a set of objects of another class. Which of the following options is correct with respect to the preceding statements? Options
1. Both, Statement A and Statement B, are False.

2. Both, Statement A and Statement B, are True. 3. Statement A is True and Statement B is False. 4. Statement A is False and Statement B is True.

Correct Answer: -> 2 Consider the following scenario: Blueseas Group Ltd. is a manufacturing company having 2500 employees. To distinguish a particular employee from the other employees, it is required to map a particular Employee Id to the employee. What type of relationship should be applied between the Employee class and Company class? Options
1. Recursive Aggregation 2. Qualified Association 3. Derived Association 4. Derived Attribute

Correct Answer: -> 2 Consider the following scenario: InfoSolutions Inc. has got a requirement to develop a Billing software for Blueseas General store. Currently, the manager maintains the details of customer, product, and purchases. He calculates the total sales of the products purchased by the customer, calculates the payable amount after the discount, and then generates the bill. This system now needs to be automated. Jenny works as a designer in InfoSolutions Pvt. Ltd. He has to design UML model for the Billing software. She has identified the following use cases of the system: a) Maintain customer details b) Maintain product details c) Maintain sales details d) Calculate sales e) Calculate discount (20% of total amount) f) Accept payment g) Generate Bill On the basis of the preceding use cases, help Jenny to identify the various classes to draw the Class diagram for the General Store Management system. Options
a) Customer: Maintains customer information b) Product: Maintains product information 1. c) Sales: Maintains sales data d) Discount: Select the discount for a customer e)Bill: Generate bill a) Customer: Maintains customer information b) Product: Maintains product information 2. c) Sales: Maintains sales data d) Payment: Calculate payable amount and accept payment. e) Bill: Generate bill a) Customer: Maintains customer information b) Product: Maintains product information 3. c) Sales: Maintains sales data d) Discount: Select the discount and generate bill a) Customer: Maintains customer information 4. b) Product: Maintains product information c) Sales: Maintains sales data

d) Bill: Select the discount and generate bill

Correct Answer: -> 2 You are developing the billing software for a retail store that offers a flat 10% discount on all items. To implement the system, you have identified a Bill class that contains the following attributes: --Bill_No --Total_amount --Discount --Amount_payable Which of the following attributes in the Bill class can qualify as derived attributes? Options
1. Discount 2. Discount and Amount_payable 3. Amount_payable 4. Total_amount and Discount

Correct Answer: -> 2 Which of the following diagrams is NOT a type of Interaction diagram? Options
1. Timing Diagram 2. Sequence Diagram 3. Package Diagram 4. Communication

Correct Answer: -> 3 Which of the following types of messages specify the invocation of a method of an object? Options
1. Return Message 2. Send Message 3. Call Message 4. Create Message

Correct Answer: -> 3 When creating an activity diagram, which of the following will you use when the output of one action does not match the input for the next action in sequence? Options

1. Transformation 2. Pin 3. Expansion region 4. Flow final

Correct Answer: -> 1 You are developing the student information system for a college. You need to create an activity diagram for shortlisting eligible candidates from the set of applicants for a course. To shortlist the eligible candidates for each course, you need to check the following: --Whether the age of the applicant matches the age limit specified for the course --Whether the qualification of the applicant matches the qualification specified for the course --Whether the marks obtained by the applicant in the entrance test match the score requirements specified for the course Which of the following elements of an activity diagram can you use to represent the shortlisting process? Options
1. Pins and Transformations 2. Submachine reference state 3. Expansion region 4. Concurrent substates

Correct Answer: -> 3 When a message of type call is sent from one object in a communication diagram to another object, which of the following conditions needs to be true? Options
1. The method being invoked through the message call should be declared in the class corresponding to the target object. 2. The method being invoked through the message call should be declared in the class corresponding to the source object.

3. The signal being sent from the source object to the target object should be defined in the class diagram. 4. The signal being sent from the source object to the target object should be defined in the object diagram.

Correct Answer: -> 1 James is a designer at Janes technology. He is designing UML models for a library management system. He has designed a class diagram for the library management system representing all the classes and their relationships. The following classes have been identified for the library management system: a) Member (contains operations enterBookCode(), enterTransactionType(), getMemberDetails(), and setMemberDetails()) b) User Interface (contains the operations displayMenu(), acceptTransactionType() and acceptBookCode()) c) Book (contains operations getBookDetails(), checkAvailability(), updateAvailabilityStatus(), and setBookDetails()) d) Transaction (contains operations issueBook() and returnBook()) John wants to draw the Communication diagram for the Check Availability use case that accepts a book code from the user and checks whether the book is available in the library or not. John has identified the following sequence of messages among the various classes of the library system: 1. An object of the Member class invokes the displayMenu() operation of the User Interface class. 2. The object of the User Interface class invokes the enterTransactionType() operation of the Member class.

3. The object of the Member class invokes the acceptTransactionType() operation of the User Interface class. 4. The object of the User Interface class invokes the enterBookCode() operation of the Member class. 5. The object of the Member class invokes the acceptBookCode() operation of the User Interface class. 6. The object of the User Interface class invokes the checkAvailability() operation of the Book class. 7. An object of the Book class invokes the updateAvailabilityStatus() operation of the Book class itself. Identify the error (if any) in the communication diagram. Options
1. The communication diagram is correct. 2. It is not required to invoke the updateAvailabilityStatus() operation of the Book class. 3. An object of the Book class cannot invoke an operation of the Book class itself. 4. It is not required to invoke the enterTransactionType() and acceptTransactionType operations.

Correct Answer: -> 2 Which of the following enables you to visualize the physical distribution of the components over the network of the organization? Options
1. Architectural modeling 2. Dynamic modeling 3. Static modeling 4. Requirements Modeling

Correct Answer: -> 1 Consider the following statements: Statement A: Generalization relationship exists between a general package and the specific package derived from the general package. Statement B: A specific package inherits the attributes of a general package. Which of the following options is correct with respect to the preceding statements? Options
1. Both, Statement A and Statement B, are False. 2. Both, Statement A and Statement B, are True. 3. Statement A is True and Statement B is False. 4. Statement A is False and Statement B is True.

Correct Answer: -> 2 Reader's Paradise is a large book store that stocks books on various subjects. The store employs an inventory manager who is responsible for maintaining the stock in the inventory. When the stock of a book reaches below five, the inventory manager places an order for the book. When a sale is made, the store manager computes the total sale amount, calculates the discount, and calculates the total payable amount. The store manager also generates the bill for the sale and hands it over to the customer. You have to automate all tasks being performed in the bookstore. For this, you have identified the following use cases:

--Place order --Accept book details --Accept sale details --Calculate total sale amount --Calculate discount --Calculate total payable amount --Print bill --Process order --Generate report for total sales --Generate report for out of stock books Which of the following packages correctly groups the use cases based on the actors that use them? Options
--Inventory package containing the Place order, Accept book details, Process order, Generate report for out of stock books use cases. --SaleCounter package containing the Accept sale details, Calculate total sale amount, Calculate discount, Calculate total payable amount, Print bill, Generate report for total sale use cases.

1.

--Inventory package containing the Place order, Accept book details, Generate report for out of stock books use cases. 2. --SaleCounter package containing the Accept sale details, Calculate total sale amount, Calculate discount, Calculate total payable amount, Print bill, Process order, Generate report for total sale use cases. 3. --Inventory package containing the Place order, Accept book details, Process order, Generate report for total sale, Generate report for out of stock books use cases. --SaleCounter package containing the Accept sale details, Calculate total sale amount, Calculate discount, Calculate total payable amount, Print bill, Generate report for total sale use cases.

--Inventory package containing the Place order, Accept book details, Process order, Accept sale details, Generate report for out of stock books use cases. 4. --SaleCounter package containing the Calculate total sale amount, Calculate discount, Calculate total payable amount, Print bill, Generate report for total sale use cases.

Correct Answer: -> 1 Wilson Technologies Inc. needs to create the architectural model for the prototype of the bank ATM system. The project manager of Wilson Technologies Inc. has identified the ATMCard, BankCustomer, Account, Transaction, CardScanner, DisplayScreen, and CashDispenser classes for the prototype of the bank ATM system. Which of the following packages correctly groups the classes that collaborate to realize the Check Balance use case? Options
1. The CheckBalance package containing the BankCustomer, Account, and Transaction classes 2. The CheckBalance package containing the BankCustomer and DisplayScreen and Account classes 3. The CheckBalance package containing the BankCustomer, Cardscanner, Displayscreen, Account, and CardScanner classes

4. The CheckBalance package containing the BankCustomer, ATMCard, CardScanner, DisplayScreen, and Account classes.

Correct Answer: -> 4 Which of the following is a behavioral pattern? Options


1. Observer 2. Factory 3. Proxy 4. Composite

Correct Answer: -> 1 Consider the following statements: Statement A: A pattern defines the features that are common to similar applications belonging to a particular domain. Statement B: A framework is a set of principles and guidelines that provide the standard solution to a given problem. Which of the following options is correct with respect to the preceding statements? Options
1. Both, Statement A and Statement B, are False. 2. Both, Statement A and Statement B, are True. 3. Statement A is True and Statement B is False. 4. Statement A is False and Statement B is True.

Correct Answer: -> 1 You have to implement layered architecture. You want to implement TCP/IP sockets in the Remote Access System application. The functionality provided by the TCP/IP protocol is implemented using various layers where each layer interacts with another layer to perform a specific function. Each layer acts as a subsystem because functionality for each layer is precisely predefined for TCP/IP protocol. Which of the following patterns will you use for each layer to hide the internal structure and functionality of the layer? Options
1. Facade pattern 2. Composite pattern 3. Proxy pattern 4. Decorator pattern

Correct Answer: -> 1 John is a software developer at Smart Solutions Inc. He is currently developing an application where he has to create a class Printer, which enables the user to handle all the printer events in the application. John needs to put a constraint on the number of objects of the Printer class. He uses a static data member to keep track of the life of the created object of the Printer class. The static data member is incremented in constructor and decremented in destructor of the object in the Printer class. John wants that if an object of the Printer class is alive, it should not be possible to create another object of the class. Identify the pattern which will help John to develop such an application. Options
1. Builder pattern 2. Singleton pattern 3. Proxy pattern 4. Composite pattern

Correct Answer: -> 2

If one class is assigned the responsibility of creating objects of another class, which pattern is being used? Options
1. Creator pattern 2. Expert pattern 3. Controller pattern 4. Facade pattern

Correct Answer: -> 1 __________ history state enables an application to remember and reactivate a state that is at the same nesting depth as the history state. Options
1. Shallow 2. Deep 3. Last 4. Current

Correct Answer: -> 1 What are system types? Options


1. System types are pre-defined data types. 2. System types are types that contain the actual data assigned to them. 3. System types are the data types that contain a reference to assigned data but do not contain the actual data. 4. System type is a data type whose value is stored on a heap while its reference is stored on a stack.

Correct Answer: -> 1 John has written the following code snippet: int64 a = 0; int32 b = 0; b = (int32) a; Identify the task John is trying to implement in the preceding code snippet? Options
1. Implicit casting

2. Boxing 3. Explicit casting 4. Unboxing

Correct Answer: -> 3 Which of the following holds TRUE for an assembly? Options
1. An assembly is a self-contained unit of code that does not contain any security, versioning, and dependency information.

2. Assemblies can run only on the Windows platform. 3. Assemblies are intermediate executable files created after compiling a program. 4. Assemblies require an external type library file.

Correct Answer: -> 3 John wishes to store an assembly so that the assembly is shared among other applications. What should John do to accomplish this task? Options
1. Create a multifile assembly 2. Install the assembly in the global assembly cache. 3. Create an assembly installer 4. Install the assembly by using XCOPY

Correct Answer: -> 2 John has to write a code in which he needs to retrieve and display all the available cultures in the .NET Framework that have a region associated with them. To accomplish this task, he has written the following code snippet: CompareInfo[] culturesList = CompareInfo.GetCultures(CultureTypes.SpecificCultures); foreach (CompareInfo cultureItem in culturesList) { Console.WriteLine(cultureItem.Name); } However, there is some problem in the preceding code snippet. Identify the correct code snippet that would enable John to accomplish his task. Options
RegionInfo[] culturesList = RegionInfo.GetCultures(CultureTypes.SpecificCultures); foreach (RegionInfo cultureItem in culturesList) 1. { Console.WriteLine(cultureItem.Name); } 2. NumberFormatInfo[] culturesList = NumberFormatInfo.GetCultures(CultureTypes.SpecificCultures); foreach (NumberFormatInfo cultureItem in culturesList)

{ Console.WriteLine(cultureItem.Name); } CultureInfo[] culturesList = CultureInfo.GetCultures(CultureTypes.SpecificCultures); foreach (CultureInfo cultureItem in culturesList) 3. { Console.WriteLine(cultureItem.Name); } DateTimeFormatInfo[] culturesList = DateTimeFormatInfo.GetCultures(CultureTypes.SpecificCultures); foreach (DateTimeFormatInfo cultureItem in culturesList) 4. { Console.WriteLine(cultureItem.Name); }

Correct Answer: -> 3

Das könnte Ihnen auch gefallen