Sie sind auf Seite 1von 29

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

1, loosely typed
2, strongly typed
3, common type
4, value type
Solution 2

Q2 _______ is the conversion of a value type to a reference type.


1, Implicit casting
2, Explicit casting
3, Boxing
4, Unboxingm
Solution 3

Q3 Which of the following interfaces can be used to perform sorting or ordering of object instances?
1, IComparable
2, IEquatable
3, IFormattable
4, ICloneable
Solution 1

Q4______ are classes that are used to store arbitrary objects in a structured manner.
1, Structures
2, Collections
3, Interfaces
4, Abstract classes
Solution 2

Q5 You use the ______ class when you need to retrieve objects in the reverse order in which you added them.
1, HashTable
2, Linked List
3, Stack
4, Queue
solution 3

Q6 Which of the following is NOT a form of an assembly?


1, .EXE
2, .DLL
3, .Netmodule
4, .COM
solution 4

Q7 When an assembly is loaded by the CLR, ________ file is used to gather the default configuration settings for the
application.
1, web.config
2, app.config
3, machine.config
4, System.configuration
solution 3

Q8 __________ 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.
1, Process Monitor
2, System Monitor
3, Performance Counter
4, Application Monitor
solution 2

Q9 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
transportation from the source application to the database or while being retrieved from the database by Jim's application. Jim
wants that at the time of deserializing, if there is an element present in the object data that does not map to the original state of
the object, the program should notify him of the same. What should Jim do to achieve this?
1, He should create a custom exception handling method.
2, He should use the UnreferencedObjectEventHandler delegate to handle the event.
3, He should use the XmlElementEventHandler delegate to handle the event.
4,He should use the XmlSerializationFixupCallback delegate to handle the event.
solution 3

Q10 You are working as a developer with a language training institute which has a number of study centres all over the country.
The institute has to conduct examinations for its students studying in all the centres. The questions will be serialized and
transmitted to the client applications in different locations which may be running on different platforms, using a custom
Questionnaire application developed by you. Additionally, while serializing, you want advanced formatting options to make the
data properly formatted and structured. Which of the following will you apply to serialize the questions in the present scenario?
1, BinaryFormatter class
2, SoapFormatter class
3, XmlSerializer class
4, ObjectManager class
solution 3

Q11 Jonathan has created a Web application which requires the users to register prior to browsing and availing the services
offered by it. The application needs to store and update various tables in its database with user details. The user is also sent a
welcome mail to the email address provided by him during registration. A random number is also generated, for the user to enter
and confirm his membership. Jonathan has created separate methods for executing these tasks. However, he wants that the
moment a user registers, a single call should invoke all the methods. How should he achieve this?
1, Jonathan should make individual calls to these methods from within the class that executes the registration process.
2, Jonathan should use singlecasting.
3, Jonathan should use Multithreading.
4, Jonathan should use multicasting.
solution 4

Q12 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?
1,Spiral approach
2,Win-win spiral approach
3,Prototyping approach
4,Waterfall approach
solution 3

Q13 Which of the following approaches is used in requirement gathering and analysis phases to capture the exact requirements
of the proposed system?
1,Protoyping approach
2,Spiral approach
3,Waterfall approach
4,Win-Win spiral approach
solution 1

Q14 Which of the following does NOT refer to a phase in Software Development Life Cycle?
1,Coding
2,Design
3,Testing
4,Object oriented design
solution 4

Q15 Which of the following software development approaches is used when you have time-bound releases?
1,Spiral approach
2,Win-win spiral approach
3,Prototyping approach
4, Incremental approach
solution 2

Q16 which of the following represents the correct order of phases in SDLC?
1)
a) Feasibility analysis
b) Requirements analysis and specification
c) Design
d) Coding
e) Testing
f) Maintenance

2)
a) Requirements analysis and specification
b) Feasibility analysis
c) Design
d) Coding
e) Testing
f) Maintenance

3)
a) Feasibility analysis
b) Requirements analysis and specification
c) Design
d) Coding
e) Maintenance
f) Testing
4)
a) Requirements analysis and specification
b) Feasibility analysis
c) Design
d) Coding
e) Maintenance
f) Testing
solution 1

Q17 You are a Software designer at Smart solutions. You are working on the requirement phase of SDLC, where you have to
identify the end user expectations of the Software System. Which of the following UML diagrams will you use to represent the
end user expectations which you have identified during the requirement phase?
1,Use case, Class, and Activity diagrams
2,Use case, Object, and Activity diagrams
3,Use case, Sequence, and Deployment diagrams
4,Use case, Class and Package Diagram
solution 1

Q18 Which of the following UML diagrams is used to model the functionality of a system?
1,Component diagram
2,Use Case diagram
3,Activity diagram
4,Object diagram
solution 2

Q19 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 sequence by time. Which of the following UML diagrams is best suited for the purpose?
1,Sequence diagram
2,Use-Case diagram
3,Communication diagram
4,Activity diagram
solution 1

Q20 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 site, a lot of interaction between the developers and the client is required. Which of the following software development
approaches is best suited for developing the Web site?
1, Spiral approach
2, Waterfall approach
3, Prototyping approach
4, Incremental approach
solution 3

Q21 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 Solutions wants some advance features in the payroll system, such as calculation of income tax and perks based on the basic
salary. The requirements for the payroll system are not frozen and will evolve during the development process of payroll system.
Which of the following software development approaches is best suited for the payroll system?
1, Prototyping approach
2, Incremental approach
3, Spiral approach
4, Waterfall approach
Solution 2

Q22 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 feedback from users, the company plans to release the final version of the operating system. Which of the
following software approaches is best suited for developing such an operating system?
1, Waterfall approach
2, Incremental approach
3, Spiral approach
4, Prototyping approach
solution 3

Q23 in which of the following phases of SDLC the SRS document is prepared?
1, Feasibility Analysis
2, Design
3, Coding
4, Requirement Analysis and Specification
Solution 4

Q24
Which of the following is NOT a part of Quality Context Triangle?
1, Data quality
2, Code quality
3, Process quality
4, Design quality
solution 4

Q25 which of the following phases of Waterfall approach involves conversion of design into machine-readable form?
1, Design
2, Implementation and maintenance
3, Construction
4, Integration and testing
solution 3

Q26 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?
1,RFC
2,WMC
3,DIT
4,NOC
solution 3

Q27 Which of the following options refers to the execution of a sequence of process-components with varying intensity?
1,Output
2,Task
3,Iteration
4,Activity
solution 3

Q28 Identify the actor, from which other actors are derived?
1,Derived actor
2,Super actor
3,Sub actor
4,Abstract actor
solution 2

Q29 Which of the following options is NOT a part of Use Case diagram?
1,Actors
2,Relationships
3,Use cases
4,Properties of an actor
solution 4

Q30 In the Business Modeling technique, what does Business entity represents?
1,Data or documents that flow from one sub process to
another.
2,The functionality of a particular subprocess in the existing process.
3,A particular functionality described in the use case during the design phase.
4,A collection of business units.
solution 1

Q31Which of the following is an example of a non-human actor?


1,Date or time
2,Business entity
3,Collaboration
4,Organizational unit
solution 1

Q32 Which of the following is a limitation of the Incremental approach?


1,The approach does not define the process to go back to the previous phase to handle changes in requirement.
2,The approach may compromise on the overall quality of the software in the rush to develop the prototype.
3,The development process is repeated until all the functions of the projects are implemented.
4,The approach is applicable only to large applications.
solution 4

Q33 Which of the following Business Modeling constructs


represents the data or documents that flow from one sub
process to another?
1,Business actor
2,Business workers
3,Business entity
4,Business use case
solution 3

Q34Which of the following UML diagrams depicts the reaction of a class when an event occurs?
1,State Machine diagram
2,Sequence diagram
3,Communication diagram
4,Object diagram
solution 1

Q35 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
generalization relation.

Which of the following is correct, with respect to the preceding statements?


1, Both, Statements A and Statement B, are False.
2, Both, Statements 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.

Solution 2

Q36Consider 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 classes and Objects that interact with each other to achieve the functions of a use
case.

Which of the following is correct, with respect to the above statements?


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.
Solution 3

Q37John 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 users of
the proposed system. Which phase of Requirement management, is John working on?
1, Requirements gathering
2, Requirements analysis and negotiation
3, Requirements specification
4, Requirements validation
Solution 1

Q 38 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 bank can be categorized as, saving account holders, current account holders, or loan account holders.
You are creating the class diagram for the bank. How should the bank customer class be related to the saving account holder,
current account holder, and loan account holder classes.
1, Using an association relationship
2, Using a generalization relationship
3, Using an extend relationship
4, Using an include relationship
solution 2

Q39In 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 ofany product
falls below the reordering level, the order to purchase the good is automatically placed. Select the various Business actors in the
above scenario.
1, Customer, Departmental store, and Store manager
2,Customer, Departmental store, and Cashier
3,Customer, Cashier, and Reorder level
4,Customer, Store manager, and Reorder level
solution 4

Q40 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 books
for the library and makes payments for them. Identify the role of the librarian in the above scenario to create the Business
Process model.
1,Business actor only
2,Business worker and entity
3,Business actor and entity
4,Business actor and Business worker
solution 4

Q41 Wilson Infotech Inc. has been assigned the task of developing an ATM system for the National bank. The ATM system
should provide functionalities, such as cash withdrawal, cash deposit, generation of transaction statements, and change PIN.
Identify the implicit requirements with respect to the above scenario.
1,Cash withdrawal and deposit
2,Generate transaction statements
3,Change PIN
4,Maintain case in the cash dispenser
solution 4

Q42 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 different companies to purchase computers. After comparing all the quotations, the purchase department generates the
purchase order for the company that has given the most suitable quotation. Identify the Entity, Actor, and Business
workers for the Accept Quotation case in the above scenario?
1,Entity: Quotations
Actor: Purchase department of Blue Valley Inc.
Business worker: Companies sending quotations
2,Entity: Quotations
Actor: Companies sending quotations
Business worker: Purchase department of Blue Valley Inc.
3,Entity: Departments giving requisition
Actor: Purchase department of Blue Valley Inc.
Business worker: Companies sending quotations
4,Entity: Purchase department of Blue Valley Inc.
Actor: Quotations
Business worker: Companies sending quotations
solution 2

Q43 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
--Get registration number
The business actors of the Student Registration System are student, faculty, cashier, and registrar.Which of the following
Business actor can act as Business worker for the fees deposit use case?
1,Student
2,Faculty
3,Cashier
4,Registrar
solution 3
Q44 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 system. Identify the actors for the payroll system use cases.
(Choose the best option.)
1,Student, Finance Registrar, and Faculty
2,Student, Librarian, and Finance Registrar
3,Student, Faculty, and Finance Registrar
4,Finance Registrar and Employee
solution 4

Q45 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 ticket online
-- Book the ticket online
-- Check the availability of seats
-- Check the fare of ticket
-- Cancel the ticket online
Which of the following pairs of uses cases are related through an include relationship?
1,Fill the reservation form and Cancel the ticket online
2,Book the ticket online and Check the availability of seats
3,Check the availability of seats and Check the fare of ticket
4,Make payment of ticket online and Cancel the ticket online
solution 2

Q46 Which of the following functions is represented by the Organization unit construct for Business Modeling?
1,Collection of Business units and Business entities
2,How the functionality described in the use case will be
realized in the design phase
3,The functionality of a particular subprocess in the existing process
4,Data flow from one sub process to another
solution 1

Q47Which of the following phases of Requirement management enables you to define and represent the behavior of the
software?
1,Requirements gathering
2,Requirements analysis and negotiation
3,Requirements validation
4,Requirements specification
solution 2

Q48 What does a Business use case represent?


1, A role involved in the existing business process.
2, The functions of a particular sub process in the existing process.
3, The data or documents that flow from one sub process to another.
4, An external entity that interacts with the business process.
solution 2

Q49 What do you call the process of re-factoring and reviewing the use cases to obtain well-elaborated and specific use cases?
1,Defining
2,Examining
3,Elaborating
4,Refining
solution 4
Q50 In _______ streaming, when an application process or code calls a method, the process or the code waits for the method call
to complete.
1, asynchronous
2, synchronous
3, buffered
4, file
solution 2

Q51_________ is a unique data compartment that helps store data of an application.


1, Object
2, Class
3, Isolated store
4, Memory buffer
solution 3

Q52 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?
1, Windows Service
2, Merge Module
3, CAB
4, Setup
solution 1

Q53During 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
solution
Q54 Which of the following refers to the process of monitoring an application and recording information about events as they
occur in the application? m
1, Debugging m
2, Application Tracing m
3, Performance Monitoring m
4, Garbage Collection m
solution 2

Q55 Which of the following represents a role involved in the existing business process? m
1,Business worker m
2,Business actor m
3,Business entity m
4,Collaboration m
solution 1

Q56.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 schedule of the loan officer. The loan officer verifies the customer information such as income status and discusses
the case of each customer with the loan manager before sanctioning the loan. Which set of use cases share association
relationship with the actor, loan officer? m
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
solution 3

Q57 The existing Inventory Management System of a department store enables the store manager to maintain detailed
information about all the items sold in the store. The system enables the store manager to generate an order to purchase items.
Whenever any item is purchased, its quantity is increased and when an item is sold, the quantity is decreased. Blue Valley Inc.
has been assigned the task to upgrade the system and add a new functionality in it. As soon as the item reaches the reorder level,
a message should be generated to inform the store manager that the reorder level of the item is reached. Identify the relationship
between the following:
--Generate purchase order to purchase the items
--Issue reorder of the items m
1,Extend m
2,Realization m
3,Include m
4,Association m
solution 1

Q58 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
solution 3

Q59 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 m
solution 1

Q60 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
solution 2

Q61 Which of the following is also called a template class? m


1,Abstract class m
2,Factory class m
3,Parameterized class m
4,Self-linked class m
solution 3

Q62 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
solution 1

Q63 Consider the following statements:


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 the following is correct with respect to the above statements? M
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
solution 2
Q64 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
4,An interface allows you to create instances, but an abstract class does not allow you to create instances. m
solution 3

Q65 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
solution 4

Q66 Which of the following is an association relationship between two objects of the same class? m
1,Recursive aggregation m
2,Aggregation m
3,Composition m
4,Qualified association m
solution 1

Q66Consider 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 visible to other classes.
Which of the following options is correct, with respect to the above statements? m
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
solution 1

Q67 The use cases for a Student Registration System are identified as:
1. Fill up a registration form
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 options represents classes for the above use cases?
(Choose the best option) m
1,FillForm, SubmitForm, GenerateFees, and RegistrationNumber m
2,FillForm, SubmitForm, and DepositFees m
3,Student, RegistrationForm, and FeesReceipt m
4,RegistrationForm and FeesReceipt m
solution 3

Q68 The responsibilities of a Library Management System are:


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. Calculating penalty for books that are returned after the due date
5. Keeping track of library member, such as adding new members, deleting existing members, or renewing membership
Which of the following set of classes identifies the preceding responsibilities? m
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
solution 4

Q69 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.
c. Create separate test papers for C, C++, Java, Oracle, and Linux.
d. Evaluate test papers attempted by the candidates and provides the result.
Identify the classes for the above requirements. m
1,Resume, TestPaper, C, C++, Java, Oracle, and Linux m
2,Candidate, TestPaper, and Resume m
3,C, C++, Java, Oracle, and Linux m
4,Candidate, Resume, C, C++, Java, Oracle, and Linux m
solution 1

Q70 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
identifies the classes for the Payroll System? m
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
solution 1
Q70 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
operation. Which of the following options represents the correct declaration of the operation? m
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
solution 4

Q71 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 by the SavingsAccount and CurrentAccount classes. The attribute of the SavingsAccount and CurrentAccount
classes is InterestRate. The operation, CalculateInterest, calculates the amount of interest on the available balance for the
SavingsAccount and CurrentAccount classes. What type of relationship exists between the classes of the Bank ATM System? M
1,Generalization m
2,Association m
3,Composition m
4,Realization m
solution 1

Q72 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
solution 3

Q73 Consider the class diagram of Library Management System. What are the relationships between the following classes:
-- Book and BookCopy
-- Member and Library
-- 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
-- Generalization
-- Dependency m
4,-- Aggregation
-- Composition
-- Generalization
-- Dependency m
solution 1
Q74 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 view the classes. m
1,-- Composition
-- Generalization m
2,-- Generalization
-- Composition
3,-- Realization
-- Generalization m
4,-- Generalization
-- Realization m
solution 1

Q75 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
-- ATM and DisplayScreen m
1,-- Generalization
-- Composition
-- Aggregation m
2,-- Aggregation
-- Aggregation
-- Composition m
3,-- Composition
-- Composition
-- Composition m
4,-- Aggregation
-- Composition
-- Realization m
solution 3

Q76 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
relationships exists between the Employee class and the Address class of the payroll system? M
1,Generalization m
2,Composition m
3,Dependency m
4,Multiplicity m
solution 2

QQQ 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
4,~display(num: int): String m
solution 4

Q77 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
solution 1

Q78 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 or not? m
1, Use case diagram m
2,Activity diagram m
3,Sequence diagram m
4,Class diagram m
solution 1

Q79 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
solution 2

Q80 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
solution 1

Q81 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
3,Depicting Relationship m
4,Applying Operation m
solution 2

Q82 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
solution 4

Q83 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
2,Event trigger m
3,Target state m
4,Action m
solution 4

Q84 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
solution 1
Q85 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 memory.
Which of the following options is correct, with respect to the preceding statements? m
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
solution 2

Q86 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 the form of messages.
Which of the following options is correct, with respect to the preceding statements? m
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
solution 4

Q87 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 to realize the use cases of the
system.
Which of the following options is correct, with respect to the preceding statements? m
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 solution 2
Q88 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 branch element such that only one path is followed based on a condition.
Which one of the following options is correct, with respect to the above statements? m
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
solution 2

Q89 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
parameters of the outbound action to the required parameter type of the inbound action.
Which one of the following options is correct, with respect to the above statement? m
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
solution 4

Q90 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 then needs to check the availability of the seats based on the customer’s query. If the seat/seats are available, then the
reservation is done. The use case, ReserveTicket, involves the interaction of the objects: p1 of passenger class, r1 of reservation,
and t1 of ticket class. A sequence diagram is provided to show the various objects and the messages that flow among them.
Identify the methods that each class implements in the Railway Reservation system.
Click the Exhibit button to view the sequence diagram. m
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()
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()
solution 1

Q91 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 type of operation such as sin and cosine, which
needs to be performed. The math object needs to calculate the result based on the input. The designer is unable to complete the
sequence diagram. The incomplete sequence diagram drawn by the software developer is shown in the exhibit.
How will you complete the sequence diagram?
Click the Exhibit button to view the Sequence diagram. M
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() of the mathematics class, if the condition [operation=cosine] is
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
solution 2

Q92 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. When the customer has
finished shopping, the application generates a list of products selected by the customer. Based on the product list, the total
amount of purchase of the customer is calculated.
Identify the message that needs to be invoked in the cp object of the customerPurchase class so that the sequence diagram is
complete.
Click the Exhibit button to view the Sequence diagram. m
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
solution 3

Q93 IntelliTech Inc is developing an online shopping system. Customers can pay for purchases 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
detailed information regarding products or can purchase the product without viewing the details. The application generates the
list of products selected by the customer. The list is displayed to the customer for verification before the bill is processed. The
customer can add or remove any products at the verification stage. However, once the customer verifies the list of products, a
bill is generated and the payment is made against the credit card.
Identify the messages that need to be depicted so that the Sequence diagram depicts all the functionalities depicted by the
software system.
Click the Exhibit button to view the sequence diagram. m
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 invoked by the sm object of the ShoppingMall class m
4,You need to depict the following messages to complete the sequence diagram:
-- 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 the SaleItem class itself after which
-- billAfterDscount() method of the sm object of ShoppingMall class is invoked by the s1 object of the SaleItem class m
solution 4

Q94 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 username and password. The
student needs to choose a subject to take the test. The test
starts at the instance the user clicks on the Start Test button. A test object keeps a track of the duration of time that has passed
since the test began. After the duration allotted for the test finishes, the test is ended.
You need to fill objects in the correct order so that the Sequence diagram is correct.

Click the Exhibit button to view the diagram. m


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
solution 3

Q95 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
states of the product object. Identify the additional states that the product object may attain.(Choose the best option.) m
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
solution 3

Q96 Janes Technology is developing an online testing system.The testing system conducts online tests where each operation is
performed at a given time for a specified duration. The developer creates a sequence diagram for depicting the interaction among
the various objects of the online testing system.Analyze the reason for the choice of sequence diagram. m
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.
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 system. m
solution 2

Q97Janes 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 specified by the customer. The graphic shows the sequence diagram for the Use case, Room Reservation.
Analyze to identify the missing information in the diagram.
Click the Exhibit button to view the diagram. M
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
solution 3
Q98 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 Complete, and Deliver Product. The online auction system executes operations in concurrency, therefore, while the
bids are being placed and stored, the customer verification is also being done. The Auctioning state is a composite state of the
system.
On the basis of the given information, identify the concurrent substates in the composite state, Auctioning. M
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
solution 4

Q99 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, Process Employee Salary. The end-user of the system performs all operations through the user interface of the application.
The end-user enters the details of the employee for salary calculation through the user interface. The system accepts the
employee details and creates an emp1 object of the employee class. The salary calculator calculates the salary based on the
details in the emp1 object. The salary calculator stores the salary in the database, which is available for access for the entire
duration the application is running.
The sequence diagram for the Process Employee Salary use case has already been created. On the basis of the sequence diagram,
identify the objects that interact with other objects throughout the duration the application is running.
Click the Exhibit button to view the sequence diagram. M
1,Emp1 and salary calculator m
2,salary calculator and database m
3,Emp1 and database m
4,UserInterface and database m
solution 4
Q100Which 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
solution 3

QQWhich 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
solution 2

Q101Which 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
solution 3

Q102Which of the following is NOT a valid mode to implement an expansion region? m


1,Concurrent mode m
2,Iterative mode m
3,Stream mode m
4,Output mode m
solution 4

Q103Which 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
solution 1

Q104 The activity diagram of Student Registration System, consists of the following activity states:
-- Verify the student detail
-- Fill application form
-- Assign registration number
-- Deposit the fees
-- Register the student
-- Generate fees receipt
-- Validate the student detail
-- Submit application form
-- Collect the fees
The actors of the Student Registration System are Student, Faculty, Cashier, and Registrar. Which one of the following action
states are associated with the Student? M
1,-- Fill application form
-- Submit application form
-- Generate fees receipt m
2,-- Fill application form
-- Register the student
-- Assign registration number m
3,-- Fill application form
-- Submit application form
-- Deposit the fees m
4,-- Submit application form
-- Deposit the fees
-- Assign registration number m
solution 3

Q105 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
1,Object flow m
2,Control flow m
3,Generalization m
4,Dependency m
solution 2

Q106 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 input device application software? m
1,Object flow m
2,Control flow m
3,Generalization m
4,Dependency m
solution 3

Q107You 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
--Validating credit card information
--Selecting ticket type
--Printing ticket
--Dispensing ticket
--Ejecting card
How are the Reading credit card, Validating credit card information, Selecting ticket type, Printing ticket, Dispensing ticket, and
Ejecting card states related to the Active state? m
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
solution 2

Q108 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
solution 2

Q109 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 m
3,Access dependency m
4,Generalization m
solution 3

Q110 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
solution 1

Q111 Which of the following viewtypes enable you to define interactions among various execution units? m
1,Module m
2,Component m
3,Connector m
4,Allocation m
solution 3

Q112 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
solution 1
Q113Consider the statements:
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, with respect to the above statements? m
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
solution 3

Q114 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 model database components by using deployment diagram.
Which of the following option is correct, with respect o the above statements? m
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
solution

Q115 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 distributed on three distinct nodes: a node
containing a Web server, a node containing a database server, and a node containing a client browser.
Which of the following is correct, with respect o the above statements? m
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 solution 2
Q116 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
software required, for the development of components of the software system. Which of the following viewtype enables you to
perform the specified task? m
1,Module viewtype m
2,Component viewtype m
3,Connector viewtype m
4,Allocation viewtype m
solution 4

Q117 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
Which of the following is correct, with respect to the above statements? m
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
solution 4

Q118 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 Overtime. The various classes for the system are employee, leave, schedule, overtime, and administration.
Identify what method of grouping should the software developer use in order to view the use cases and classes in a single UML
diagram. m
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 employee and leave classes realize the Report Leave use case.
-- The employee and overtime classes realize the Report
Overtime use case. m
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
solution 1

Q119Janes 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 software system. The developer also designs the classes for the system and creates a class diagram to visualize the classes
and relationships among them. The team leader requires to visualize all the use cases of the system for a clear depiction of the
functional differences among the use cases. The developer creates a use case diagram with include and extend relationships and
depicts the actor for each of the use cases. However, the team leader is not satisfied with the choice of diagram used to depict use
cases.
You need to identify the UML diagram, which can depict the use cases in relation to the functional modules. m
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
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
relationships for the use cases. m
solution 2

Q120 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 development team and stakeholders of the system is scheduled to take place where the stakeholders are interested
in viewing the functionality, which the envisioned system will offer to each of them.
You need to identify the UML diagram that needs to be
created so that the stakeholders can view the correct information. m
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
solution 3

Q121CadalSoft 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
accounts. The accounts class uses the employee, employeepackage and calculator classes to calculate the salary for the
employees. The various components of the system are, accounts and databaseconnection. The databaseconncetion provides
connection to the employee
database.
Identify the number of nodes that may exist for the payroll system. m
1,Three m
2,Two m
3,One m
4,Four m
solution 2

Q122 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 diagram for visualizing all the components. However, the team members of the development team find the
component diagram too complex to understand because they cannot visualize the functional grouping of the components.
Identify what modification should be done in the diagram so that the representation of the components clearly indicates which
components implement which logical module of the system. m
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
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.
solution 2

Q123 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 components over the network. The software developer creates a diagram as shown in the exhibit.
Identify the modification required in the diagram so that the desired information is displayed.
Click the Exhibit button to view the diagram. m
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
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
solution 1
Q124 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 initiated by a customer.
-- The customer enters an auction hall by supplying a valid user name and password.
-- After the customer is validated, the customer selects a product from the product list for bidding.
-- The customer begins bidding and a bid history is maintained for the product.
-- The product is sold to a customer after the bid history is processed.
-- After the auction is over, the customer enters the shipping specifications.
-- The customer finally makes payment for the product using a valid credit card.
Identify the correct packaging of classes from the given set of options. m
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. m
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. m
solution 1

Q125 GRASP is an acronym for _______________. m


1,General Responsibility Assignment Software Patterns m
2,Generic Responsibility Assignment System Patterns m
3,General Responsibility Assignment System Patterns m
4,Generic Responsibility Assignment Software Patterns m
solution 1

Q126 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
solution 3

Q127 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
3,Observer m
4,Façade m
solution 3

Q128 Which of the followings is a type of GRASP pattern? m


1,Factory m
2,Creator m
3,Builder m
4,Proxy m
solution 2

Q129 Which of the followings is NOT a type of Structural Design pattern? m


1,Composite m
2,Decorator m
3,Façade m
4,Builder m
solution 4

Q130 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 forms.
Which of the following options is correct, with respect to the
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
solution 4
Q131Tom is an analyst at Info Solutions Ltd. He is required to depict the behavior of static constituents of a software system by
using 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
solution 3

Q132 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
solution 2

Q133 Which of the following techniques ensures that the software models represent their intended meaning and their
representation is consistent across the project? m
1, Syntax m
2, Semantics m
3, Aesthetics m
4, Documentation m
solution 2

Q134 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 solution 1
Q135 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
solution 2

Q136 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
4, Requirement Validation m
solution 1

Q137 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
2, Composition m
3, Dependency m
4, Generalization m
solution 1

Q138 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
solution 2

Q139 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 importing the package ATMClient.
Identify the type of relationship among package ATMClient and package ATMCard. m
1, Access Dependency Relationship m
2, Dependency Relationship m
3, Generalization Relationship m
4, Association Relationship m
solution 1

Q140 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 and needs to estimate the time required to code each component.
Identify which view of the Infosuper Bank system will help him to achieve the above given requirements. m
1, Use Case view m
2, Design view m
3, Process view m
4, Implementation view m
solution 2

Q141 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, ATM, Card Scanner, Cash Dispenser as components related to cash withdrawal feature. He identified the following
deployment nodes for the execution of components:

a) Regional ATM Server


b) InfoSuper Bank ATM
The ATM component is the main application that executes on the regional server. The component contains the business logic for
the application. The ATM uses the Bank Database to store, modify, delete, and fetch account information. The component
ATMClient.exe executes on the ATM machine and is the application that provides the user interface for interaction with the
customer. The ATMClient.exe communicates with the ATM for fetching the account data for a particular customer. The
ATMClient.exe communicates with the card scanner to scan and verify the card details of the customer. The ATMClient also
communicates with the cash dispenser so that it provides specified cash to the customer.
Identify the correct components that can be contained in each deployment node. m
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, CardScanner
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
solution 1

Q142 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 list of orders is displayed on the user interface on the application server at the outlet where the orders are collected. The
order collector at the outlet prints the details of the orders and passes them to the respective delivery department in the outlet.
The Actors for the order processing system are:
a)Customer
b)Order Collector
Identify the constituents of the packages containing the use cases related to each of the actors. m
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
solution 4

Q143 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? m
1,Creator pattern m
2,Expert pattern m
3,Controller pattern m
4,High cohesion pattern m
solution 1

Q144 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 patterns will you choose to perform the specified task? m
1,Chain of responsibility pattern m
2,Command pattern m
3,Observer pattern m
4,Facade pattern m
solution 1

Q145 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 larger structures using object
composition.
Which of the following is correct, with respect o the above statements? m
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
solution 1

Q146 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
objects of an abstract base class. Which of the following design patterns will you use to perform the specified task? m
1,Factory Pattern m
2,Builder Pattern m
3,Singleton Pattern m
4,Composite Pattern m
solution 1
Q147 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 the counter directs the crew to assemble the items. These items are then placed in a bag. The drink is placed in a cup and
remains outside the bag. The same process is used at all the branches of Pizza station.
Which of the following design patterns is implemented in the above scenario? m
1,Factory m
2,Builder m
3,Singleton m
4,Composite m
solution

Q148 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.
Identify the patterns that best describes the above scenario? m
1,Creator m
2,Decorator m
3,Builder m
4,Composite m
solution 1

Q149 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
solution 3

Q150 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. The last pane consists of a flashboard, which displays the information related to current affairs and sports. Which of
the following design patterns will you implement in order to develop this home page? m
1,Builder m
2,Façade m
3,Decorator m
4,Composite m
solution 4

Q151 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 responsibility assigned to the ArithmeticCalc class? m
1,Creator m
2,Expert m
3,Controller m
4,Factory m
solution 2

Q152 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 application was first developed. Therefore, you need to add extra functionality to the toolbars, icons, and
menu bars of the existing application. Which of the following design patterns should you use to achieve the preceding
requirements? m
1,Proxy m
2,Decorator m
3,Façade m
4,Composite m
solution 2

Q153 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 details. In the testing phase, you have realized that the application is taking a long time to display the output. As a
result, you decide to change the design of the application to improve its performance. Which of the following design patterns
will you apply to the application to improve its performance? M
1,Chain of Responsibility m
2,Proxy m
3,Composite m
4,Observer m
solution

Q154 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 the specification by an end user, either a circle or an square is drawn. To draw any shape, you need to create
and use an object of either the Circle class or the Square class and use the makeShape() method of the Shape abstract class.
To solve this problem you apply a design pattern, according to which, you need another class that provides a method to create
the objects of the Circle or Square classes depending on the value of a parameter. Which of the following design patterns is
applied to solve the preceding problem? m
1,Façade m
2,Decorator m
3,Factory m
4,Proxy m
solution 3

Das könnte Ihnen auch gefallen