NIITUMLQ6
UML Review
Question :Which phase of SDLC involves implementation of changes or implementation of new features once the deployment of the software is complete?
1,Maintenance
2,Design
3,Coding
4,Testing
Answer correct is: 1
---------------
Question :Which phase of SDLC involves the analysis of the software system that needs to developed within the given environment, requirements, and characteristics from the users point of view?
1,Maintenance
2,Design
3,Coding
4,Feasibility analysis
Answer correct is: 4
---------------
Question :Which extension element enables you to extend the semantics of building blocks of UML to tailor UML for specific application domains?
1,Stereotypes
2,Constraints
3,Tagged values
4,Semantics
Answer correct is: 2
---------------
Question :Which element of the process-component refers to the Sociology dimension?
1,Output
2,Activity
3,Task
4,Role
Answer correct is: 4
---------------
Question :Which quality check of the software development process includes tasks, such as organizing resources, forming teams, setting objectives, prioritising scope, and controlling risks?
1,Management quality
2,Process quality
3,Model or architecture quality
4,Data quality
Answer correct is: 1
---------------
Question :Which one of the following options correctly identifies the action involved in design phase of SDLC?
(Choose the best option.)
1,Analysis of project requirements in terms of input data and desired output, processing required to transform input into output, cost- benefit analysis, and schedule of the project.
2,Gathering, analysing, validating, and specifying requirements. At the end of this phase, the Software Requirement Specification (SRS) document is prepared.
3,Translation of requirements specified in the SRS into a logical structure that can be implemented in a programming language.
4,Implementation of design specified in the design document into executable programming language code.
Answer correct is: 3
---------------
Question :Consider the following statements:
Statement A: The Booch model involves both the micro and macro process of software development.
Statement B: The Rumbaugh model involves designing software at four levels of abstraction.
Which of the following is correct about the above 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.
Answer correct is: 3
---------------
Question :Consider the following statements:
Statement A: Modelling enhances the quality of software products because it enables you to understand the existing software system and create the desired software system.
Statement B: In a software development process, UML is used to visualize, specify, construct, and document the software artefacts of an object-oriented design.
Which one of the following options is correct,with respect to the above 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.
Answer correct is: 2
---------------
Question :Consider the following statements:
Statement A: Role describes the responsibilities of the people in a process.
Statement B: Activity describes the actions that a role performs in a process.
Which of the following is correct about the above 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.
Answer correct is: 2
---------------
Question :Consider the following statements:
Statement A: Estimating the number of dimensions of the process-components for each iteration is known as the planned productivity.
Statement B: The adjustment factor enables you to determine the schedule slippage of the software project.
Which one of the following options is correct with respect to the above 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.
Answer correct is: 2
---------------
Question :Which type of component form a complete software system which includes the components that form the executable system?
1,Deployment components
2,Work product components
3,Execution components
4, COM Components
Answer correct is: 1
---------------
Question :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 the 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 SDLC model is best suited for developing the Web site?
1,Spiral model
2,Waterfall model
3,Prototyping model
4,Incremental model
Answer correct is: 3
---------------
Question :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 freezed and will evolve during the development process of payroll system. Which SDLC model is best suited for the payroll system?
1,Prototyping model
2,Incremental model
3,Spiral model
4,Waterfall model
Answer correct is: 3
---------------
Question :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 SDLC model is best suited for developing such an operating system?
1,Win-win spiral model
2,Incremental model
3,Spiral model
4,Component-based development model
Answer correct is: 3
---------------
Question :During the design of the class diagram of a bank ATM system, the software designer feels that there are various methods of implementing the class. Therefore, the software designer adds a modeling construct in the class diagram of the bank ATM that describes the alternate method to implement that class. Identify which of the following modeling construct will the designer use to specify the alternate method.
1,Comment
2,Note
3,Tagged Value
4,Stereotype
Answer correct is: 3
---------------
Question :The Account class of a Bank ATM System consists of the following operations:
-- InsertCard()
-- EnterPIN()
-- ChangePIN()
-- CloseAccount()
The complexity of each operation is 4, 5, 6, and 7, respectively. What is the Weighted Method per Class metric for the Account class?
1,4
2,22
3,8
4,7
Answer correct is: 2
---------------
Question :Red Sky Inc. is a multimedia software development company. They have released software by the name of PhotoLabAssistant 1.0. The product was released by the company and then evaluated by the customers. After getting the feedback from customers about PhotoLabAssistant 1.0, Red Sky Inc. plans to develop a new version of PhotoLabAssistant 2.0 to incorporate customer feedback.
Which of the following SDLC models is best suited for the above scenario?
1,Waterfall model
2,Spiral model
3,Incremental model
4,Prototyping model
Answer correct is: 2
---------------
Question :Wilson Inc. has to develop an ATM software for the National Bank. Wilson Inc. has vast experience of developing bank ATM software and has a programming team having skills to complete the ATM project successfully. Therefore, The Wilson Inc. has well understood the requirements of National Bank.
Which of the SDLC model is best suited for the bank ATM software?
1,Waterfall model
2,Spiral model
3,Incremental model
4,Prototyping model
Answer correct is: 1
---------------
Question :The class diagram of the Library Management System consists of four classes, Library, Member, Book, and BookCopy. The number of operations in the Library, Member, Book, and BookCopy classes are 6, 4, 4, and 2 respectively. In addition, the BookCopy class inherits all operations of the book class. What is the Method Inherited Factor of the class diagram?
1,16
2,20
3,1.25
4,0.8
Answer correct is: 4
---------------
Question :The project manager of InfoSolution Inc. plans to implement the 3000 process components in the first iteration and 5000 in the second iteration. The first and second iterations take three and six months time, respectively. However, in the first iterations only 1800 process components have been implemented. What is the adjustment factor and revised estimate time for the second iteration?
1,1.66 and 4 month
2,1.66 and 8 month
3,0.6 and 10 month
4,0.6 and 8 month
Answer correct is: 3
---------------
Question :You are writing an online test of 50 questions and your computer switches off due to power failure after the ninth question. When you switch on the computer again, the tenth question is displayed. Which modeling construct is used in static modeling to represents the last state of the online test software?
1,Deep History State
2,Shallow History State
3,Tagged Value
4,Stereotypes
Answer correct is: 2
---------------
Question :Which of the following aspects of UML identifies that the code can be generated from a UML model?
1,UML is a language for specifying artifacts.
2,UML is a language for visualizing artifacts.
3,UML is a language for constructing artifacts.
4,UML is a language for documenting artifacts.
Answer correct is: 3
---------------
Question :Which UML diagram represents interaction between objects in the form of messages ordered in a sequence, by time?
1,Collaboration diagram
2,Sequence diagram
3,Class diagram
4,Component diagram
Answer correct is: 2
---------------
Question :Which one of the following type of modeling enables you to depict the behavior of static constituents using the following diagrams?
-- Collaboration diagram
-- Sequence diagram
-- Activity diagram
-- State diagram
1, Requirements modeling
2, Static modeling
3, Dynamic modeling
4, Architectural modeling
Answer correct is: 3
---------------
Question :Which modeling technique depicts the design of the software system in multiple views, such as presentation, business, and resource?
1,Requirement modeling
2,Static modeling
3,Architectural modeling
4,Dynamic modeling
Answer correct is: 3
---------------
Question :Which view represents the physical system including the files and components required to assemble the system?
1,Deployment view
2,Design view
3,Implementation view
4,Process view
Answer correct is: 3
---------------
Question :In an iterative approach, the following steps enable you to establish a project scope:
1. Identify the requirements of the system.
2. Analyze the impact of implementing each requirement of the system.
3. Assess the effort required for implementing the requirements.
4. Set priorities for the requirements to identify successive iterations.
Identify the correct sequence for the above steps.
1, 3, 2, and 4
2,1, 4, 2, and 3
3,1, 2, 4, and 3
4,1, 4, 3, and 2
Answer correct is: 4
---------------
Question :Arrange the steps to generate test cases from use cases.
1. Identify instances of a use case.
2. Identify the conditions required for execution of each use case instance.
3. Add test input values to complete the test cases.
4. Identify test input and expected results for each instance of the use case.
Identify the correct sequence for the above steps.
1, 3, 2, and 4
2,1, 4, 2, and 3
3,1, 2, 4, and 3
4,1, 4, 3, and 2
Answer correct is: 2
---------------
Question :The constituents of a software system, such as classes, need to interact with other classes to depict their response. Which constituents depict such responses and relations between classes by using messages at the design phase?
1,Static constituents
2,Dynamic constituents
3,Grouping constituents
4,Annotational constituents
Answer correct is: 2
---------------
Question :Which UML notation enables you to represent the functions of a particular sub process in the existing process?
1,Business actor
2,Business entity
3,Business structure
4,Business use case
Answer correct is: 3
---------------
Question :Which view of software system architecture should the project managers of RedSky Inc use to plan the release of their new product?
1,Process view
2,Implementation view
3,Design view
4,Deployment view
Answer correct is: 2
---------------
Question :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, business workers, and business use case in the above scenario?
1,Entity: Quotations
Actor: Purchase department of Blue Valley Inc.
Business worker: Companies sending quotations
Business use case: Departments giving requisition
2,Entity: Quotations
Actor: Companies sending quotations
Business worker: Purchase department of Blue Valley Inc.
Business use case: Departments giving requisition
3,Entity: Departments giving requisition
Actor: Purchase department of Blue Valley Inc.
Business worker: Companies sending quotations
Business use case: Quotations
4,Entity: Purchase department of Blue Valley Inc.
Actor: Quotations
Business worker: Companies sending quotations
Business use case: Departments giving requisition
Answer correct is: 1
---------------
Question :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
Answer correct is: 3
---------------
Question :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
Answer correct is: 4
---------------
Question :Wilson Inc. has been assigned to automate the airline reservation system of Flyway, an airline company. A passenger can book the ticket and pay online using the automation software. In the payment option of ticket, passenger has to enter six-digit password for the secure transaction. If the passenger does not enter the correct password suggest:
The alternate flow
The expected results
The execution condition
The state
1,Software system prompts to enter a valid password
Passenger is able to book the ticket
Passenger enters a valid password for confirmation
I
2,Software system accepts the entered password
Passenger is able to book the ticket
Passenger enters a valid password for confirmation
I
3,Passenger enter a invalid password and software system prompts to enter a valid password
Passenger is not able to book the ticket
Passenger enters a valid password
I
4,Software system prompts to enter a valid password
Passenger is not able to book the ticket
Passenger enters a valid password
V
Answer correct is: 3
---------------
Question :Which type of relationships among classes and objects represents how a super class is related to sub classes?
1,Association
2,Multiplicity
3,Generalization
4,Realization
Answer correct is: 3
---------------
Question :Which relationship represents the number of objects of a class that are connected to an object of another class?
1,Association
2,Multiplicity
3,Generalization
4,Realization
Answer correct is: 2
---------------
Question :Which type of class provide the mechanism that enables you to use operations and classes to work with different data types?
1,Implementation
2,Type
3,Parameterised
4,Abstract
Answer correct is: 3
---------------
Question :Which class allows you to declare the operations and associations modeled through type classes and not define them.
1,Implementation
2,Type
3,Parameterised
4,Abstract
Answer correct is: 2
---------------
Question :Which relation represents the static relationship shared among objects of two classes?
1,Association
2,Dependency
3,Generalization
4,Realization
Answer correct is: 1
---------------
Question :A customer can purchase multiple products, but a product can be sold to only one customer. Therefore, an object of the Customer class is associated with multiple objects of the Product class. Which kind of relationship exists between the Customer class and the Product class?
1,Association
2,Multiplicity
3,Generalization
4,Realization
Answer correct is: 2
---------------
Question :While computation of salary, number of leave without pay (LWP) affects the monthly salary of an employee. Which kind of relationship exists between LWP class and Salary class?
1,Association
2,Multiplicity
3,Generalization
4,Dependency
Answer correct is: 4
---------------
Question :Consider the following statements:
Statement A: Class notations are used for analyzing the requirements of the system by depicting the attributes and operations.
Statement B: Class notations are also used for implementing the requirements of the system at the implementation phase.
Which of the following is correct about 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.
Answer correct is: 2
---------------
Question :You can classify the students of a university into two categories, full-time and part-time courses. Therefore, the Fulltime and Parttime classes inherit the attributes from the Student class. Which kind of relationship does exist among the Customer class and the Fulltime and the Parttime class?
1,Association
2,Multiplicity
3,Generalization
4,Dependency
Answer correct is: 3
---------------
Question :Which view of a software system is important to the client and developers because it enables them to identify the hardware and network configuration required to install the software system.
1,Use case view
2,Design view
3,Process view
4,Deployment view
Answer correct is: 4
---------------
Question :The use cases for a Student Registration System are identified as:
Fill up a registration form
Submit the registration form
Deposit fee
Generate fee receipt
Verify the registration form
Get registration number
Which one of the following options represent classes for the above use cases?
(Choose the best option)
1,FillForm, SubmitForm, GenerateFees, and RegistrationNumber
2,FillForm, SubmitForm, and DepositFees
3,Student, RegistrationForm, and FeesReceipt
4,RegistrationForm and FeesReceipt
Answer correct is: 3
---------------
Question :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 one of the following options identify the above responsibilities?
1,Librarian, Library, Member, and Book
2,Library, Member, Book, and BookCopy
3,Librarian, Member, Book, and BookCopy
4,Library, Member, BookRecord, and Penalty
Answer correct is: 2
---------------
Question :InfoSolution wants to automate its recruitment system. The requirements for implementing the system are:
Store the resumes of candidates in the database.
Short list candidates based on the percentage of marks obtained in the qualifying examination.
Create separate test papers for C, C++, Java, Oracle, and Linux.
Evaluate test papers attempted by the candidates and provides the result.
Identify the classes for the above requirements?
1,Resume, TestPaper, C, C++, Java, Oracle, and Linux
2,Candidate, TestPaper, and Resume
3,C, C++, Java, Oracle, and Linux
4,Candidate, Resume, C, C++, Java, Oracle, and Linux
Answer correct is: 1
---------------
Question :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 option identifies the classes for the Payroll System?
1,Employee, Manager, Engineer, SupportingStaff, FullTimeStaff, and PartTimeStaff.
2,Employee, Manager, Engineer, SupportingStaff,
3,Manager, Engineer, SupportingStaff, FullTimeStaff, and PartTimeStaff.
4,Employee, SupportingStaff, FullTimeStaff, and PartTimeStaff.
Answer correct is: 1
---------------
Question :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?
1,-float CalculateInterest(Balance:float,CalculateInterest:float)
2,+CalculateInterest(Balance:float,CalculateInterest:float):float
3,+ float CalculateInterest(Balance::float,CalculateInterest::float)
4,-CalculateInterest(Balance:float,CalculateInterest:float):float
Answer correct is: 4
---------------
Question :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. Which object oriented feature and relationship exists between the classes of the Bank ATM System.
1,Generalization
2,Association
3,Composition
4,Realization
Answer correct is: 1
---------------
Question :Consider the attribute and operation declared in a class:
-IssueDate: Date [1] = 01-01-04 (Monday)
+BookIssueRequest(BookName:String): Boolean (No)
Which of the following options represents the parameter name, default value, and return type?
1,BookIssueRequest, 01-01-04, and Boolean
2,IssueDate, Monday, and Date
3,BookName, 01-01-04, and Boolean
4,BookName, Monday, and String
Answer correct is: 3
---------------
Question :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
1,-- Generalization
-- Composition
-- Aggregation
2,-- Aggregation
-- Aggregation
-- Composition
3,-- Aggregation
-- Composition
-- Composition
4,-- Aggregation
-- Composition
-- Realization
Answer correct is: 3
---------------
Question :How the collection of instances of classes, relationship among the instances of classes, and actors are represented in an interaction diagram?
1,Using Collaboration
2,Using Interaction
3,Depicting Relationship
4,Applying operation
Answer correct is: 1
---------------
Question :How the flow of control in an operation or among use cases is represented in interaction diagram?
1,Using Collaboration
2,Using Interaction
3,Depicting Relationship
4,Applying Operation
Answer correct is: 2
---------------
Question :Which of the following UML diagram represents interaction among actor, object, messages, and links?
1,Interaction diagram
2,Object diagram
3,Use case diagram
4,Collaboration diagram
Answer correct is: 4
---------------
Question :Which part of a transition in the state diagram refers to the response of an object to an event?
1,Source state
2,Event trigger
3,Target state
4,Action
Answer correct is: 4
---------------
Question :Which of the following diagrams depict the condition and activities of an object during its lifecycle?
1,State diagram
2,Collaboration diagram
3,Sequence diagram
4,Iteration diagram
Answer correct is: 1
---------------
Question :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 is correct about 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.
Answer correct is: 2
---------------
Question :Consider the following statements:
Statement A: The constituents of a collaboration diagram are organized in such a manner that the unrelated objects are closely placed.
Statement B. Collaboration diagrams represents the interaction between objects in the form of messages.
Which of the following is correct about 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.
Answer correct is: 4
---------------
Question :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 is correct about 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.
Answer correct is: 2
---------------
Question :
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 of the following is correct about 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.
Answer correct is: 2
---------------
Question :
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?
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.
Answer correct is: 2
---------------
Question :
Which of the following model represents the various parts of the order processing system?
Click the Exhibit button to view the figure.
1,Requirement
2,Static
3,Dynamic
4,Architecture
Answer correct is: 4
---------------
Question :
The figure provided represents the cash withdrawal process of an ATM system. Which of the following model represents the cash withdrawal feature?
Click the Exhibit button to view the class diagram.
1,Requirement
2,Static
3,Dynamic
4,Architecture
Answer correct is: 3
---------------
Question :
Wilson Inc. has been assigned to develop a banks ATM system software for National Bank. Before starting the development process, a system analyst of Wilson Inc. gathers, validates, and freezes the requirements with the National bank. After the requirement gathering phase, static and dynamic modeling of the system is performed. Once, the design is over, the software is developed and delivered to the client. How will the system analyst view the architecture of the bank ATM system?
1,Implementation view
2,Design View
3,Use case View
4,Deployment View
Answer correct is: 3
---------------
Question :
The figure provided represents the book issue process of a library management system of the National University. Which of the following modeling technique is used to represent the book issue request?
1,Requirement
2,Static
3,Dynamic
4,Architecture
Answer correct is: 3
---------------
Question :
RedSky Inc. has a stores database that stores the information when a new item arrives. The manager intimates the vendor and orders items when the stock of a part reaches its reorder level.
To design the system, the development team creates collaboration for the use case, order items, which is realized through the interaction of Order object and the stores database. What are the various interactions to realize the use case, order items?
1,-- Request by the Stores Manager actor to the object, O1 Orders class, to perform the operation, issueOrder().
-- Request by the issueOrder() operation to the database to store the information about the order.
-- Signal sent by the database to the object, O1 Orders, to intimate that the data storage operation is complete.
2, -- Request by the Stores Manager actor to the object, O1 Orders class, to perform the operation, issueOrder().
-- Request by the issueOrder() operation to the database to store the information about the order.
3, -- Request by the Stores Manager actor to the object, O1 Orders class, to perform the operation, issueOrder().
-- Request by the issueOrder() operation to the database to store the information about the order.
-- Signal sent by the database to the object, O1 Orders, to
intimate that the data storage operation is complete.
-- Signal sent by the object, O1 Orders, to application to close the application.
4,-- Request by the Stores Manager actor to the object, O1 Orders class, to perform the operation, issueOrder().
-- Request by the issueOrder() operation to the database to store the information about the order.
-- Signal sent by the object, O1 Orders, to application to close the application.
Answer correct is: 1
---------------
Question :
Which element of an activity diagram represents the control flow of an operation?
1,Action State
2,Activity State
3,Transition
4,Decision
Answer correct is: 3
---------------
Question :
Which event of an activity diagram occurs outside the process but still have an impact on the process?
1,Partitions
2,Signals
3,Transformations
4,Operations
Answer correct is: 2
---------------
Question :
Which of the following notation is used to represent tokens in the states of an activity diagram?
1,Diamond
2,Circle
3,Dot
4,Rectangular box
Answer correct is: 3
---------------
Question :
Which of the following is NOT a valid mode to implement an extension region?
1,Concurrent mode
2,Iterative mode
3,Stream mode
4,Output mode
Answer correct is: 4
---------------
Question :
Which one of the following special symbol depicts the action state that does not have any outgoing transition?
1,Flow final
2,Fork
3,Join
4,Expansion
Answer correct is: 1
---------------
Question :
Which one of the following views focuses on assembling and configuring the component to release the required software system?
1,Deployment view
2,Implementation view
3,Process view
4,Design view
Answer correct is: 2
---------------
Question :
Which relationship exists between package classes that are related to each other?
1,Realization
2,Composition
3,Association
4,Generalization
Answer correct is: 2
---------------
Question :
Which relationship exists when one constituent of a particular package calls constituents of another package for performing a task?
1,Access Dependency
2,Generalization
3,Association
4,Realization
Answer correct is: 1
---------------
Question :
Which viewtype enables you to define interactions among various execution units?
1,Module
2,Component
3,Connector
4,Allocation
Answer correct is: 3
---------------
Question :
The __________ viewtype enables you to specify modules that implement a particular functionality.
1,Module
2,Component
3,Connector
4,Allocation
Answer correct is: 1
---------------
Question :
As a senior analyst of system designing, you are responsible for representing the structure and design of a software system for automating Human resource department. You need to depict the various operations that a system performs. Which UML diagram enables you to perform the task?
1,Class diagram
2,Object diagram
3,Deployment diagram
4,Use case diagram
Answer correct is: 4
---------------
Question :
Which pattern enables you to represent a tree in which the complex objects represent the nodes and simple objects represent leaves of the tree?
1,Proxy
2,Decorator
3,Chain of Command
4,Composite
Answer correct is: 4
---------------
Question :
Consider the statements:
Statement A: Requirements modeling involves depicting the requirements of the software system using use case diagrams.
Statement B: Requirements modeling involves depicting the behavior of static constituents.
Which of the following is correct about 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.
Answer correct is: 3
---------------
Question :
Peter is appointed as a project manager and is responsible to define the architecture of a software system to automate production plant. Peter needs to evaluate the execution of processes in terms of performance and scalability. Which view of the software system enables him to perform the specified task?
1,Process view
2,Implementation view
3,Deployment view
4,Design view
Answer correct is: 1
---------------
Question :
Which one of the following options depicts the role of a class diagram during the requirement analysis phase of SDLC?
1,Depicts the classes, their attributes and operations, and the relationship between classes.
2,Depicts the classes and their dependencies for the primary requirements of the system.
3,Depicts the various classes that are grouped together depending on their functionality.
4,Depicts the layout of the software components over the network.
Answer correct is: 2
---------------
Question :
While testing a GUI application Peter, a software tester at RedSky Inc., finds that an end user might find it inconvenient to select commonly used options, such as cut, copy, and paste, because they are present as menu items. Peter informs the software development team to include toolbars in the application to make the GUI design more user-friendly. Which design pattern should the development team use in order to do implement Peters suggestion?
1,Facade
2,Decorator
3,Adapter
4,Composite
Answer correct is: 2
---------------
Question :
RedSky Inc. has a developed a home security software, which can detect security breaches and fires in a building. When there is a breach of security or fire, the software dials 911 and report the emergency security operator with the nature of problem. The operator dials the respective authorities and dispatches the service. Which design pattern does the 911 operator represent?
1,Adapter
2,Decorator
3,Facade
4,Proxy
Answer correct is: 3
---------------
Question :
A university offers multiple courses to its students. A course consists of various subjects. Therefore, the Course class is responsible for using the objects of the Subject class. Which pattern represents the responsibility of Course class?
1,Creator
2,Expert
3,Controller
4,Decorator
Answer correct is: 1
---------------
Question :
On an online auction site, various users bid for different articles by entering their bid amount in a user interface. The main auctioneer monitors the bids and is responsible for accepting or rejecting the bidding amount. The acceptance of the bid changes the bid price, which is intimated to all of the bidders in the form of a new bid amount. When the auctioneer clicks the Itemsold button, the bidding for the item stops. Which design pattern provides the guideline for handling the event generated by clicking the Itemsold button?
1,Creator
2,Expert
3,Controller
4,Proxy
Answer correct is: 3
---------------
Question :
In a bank, a customer fills an application form to open an account. The customer submits the application to the front desk clerk who validates the form and asks the customer to make changes if necessary. Then the application is forwarded to the bank manager, who conducts an interview with the customer. If the bank manager is satisfied, the application form is stamped and customer is then allowed to open the account. Which pattern is used to define the process followed by the bank to open an account?
1,Command
2,Proxy
3,Composite
4,Chain of Responsibility
Answer correct is: 4
---------------
Question :
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 such as toolbars, icons, and menu bars to the existing application. Which design pattern helps you to achieve that?
1,Structural
2,Decorator
3,Facade
4,Command
Answer correct is: 2
---------------
Question :
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 decided to change the design of the application to improve its performance. Which design pattern will you apply to the application to improve its performance?
1,Chain of Responsibility
2,Proxy
3,Composite
4,Observer
Answer correct is: 2
---------------
Question :
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 the any shape, you need to create and use object of either Circle class or 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 and Square classes. Which design pattern is applied here?
1,Facade
2,Decorator
3,Factory
4,Proxy
Answer correct is: 3
---------------
Question :
You are assigned to create an application for the bank that calculated interest amount on each type of the bank account. Consider that you have an abstract base class, Account, with an abstract method, CalculateInterest(), to calculate interest on saving account, current account, loan account. Three classes, SavingsAccount and CurrentAccount, and LoanAccount are derived from the Account class and provide definitions of the CalulateInterest() method. Depending upon the specification by a bank clerk, either the interest amount on a saving account or current account or loan account is calculated. To calculate interest, you need to create and use object of either SavingsAccount or CurrentAccount, or LoanAccount class and use the CalculateInterest() method of the Account abstract class.
Which design pattern will you implement on the Account Manager class?
1,Provider
2,Composite
3,Builder
4,Factory
Answer correct is: 4
---------------
Question :
You are assigned the task of developing an RAS application. Currently you are working in the designing phase of the application. When you create a blueprint for the application, you observe the following conditions applicable to the design:
-- A class can contain another class.
-- A class can record the instances of another class.
-- A class can use the objects of another class.
-- A class can provide information to initialise the objects of another class.
Keeping all these conditions in mind, which design pattern should you implement in the application so that it become more reusable and manageable?
1,Creator
2,Expert
3,Controller
4,Composite
Answer correct is: 1
---------------
Question :
UML is a language for:
a. specifying artifacts
b. visualizing artifacts
c. constructing artifacts
d. documenting artifacts of a software-intensive system
Identify the correct option.
1,Only a
2,a and b
3,a, b, and c
4,a, b, c, and d
Answer correct is: 4
---------------
Question :
Dynamic constituents of a software system consist of:
1,Classes, interfaces, and objects
2,Use cases and collaborations
3,Components and nodes
4,Messages and states
Answer correct is: 4
---------------
Question :
Which diagram shows the physical placement of components in nodes over a network?
1,Activity diagram
2,Component diagram
3,Deployment diagram
4,Object diagram
Answer correct is: 3
---------------
Question :
Which pattern separates the construction of a complex object from its representation?
1,Builder
2,Factory
3,Singleton
4,Decorator
Answer correct is: 1
--------------
Question :
Which of the following functions takes a numeric value as an argument and returns the smallest integer that is greater than or equal to the argument?
1,sum()
2,round()
3,floor()
4,ceiling()
Answer correct is: 4
---------------
Question :
Consider the following statements:
Statement A: SOAP provides a mechanism for structured information interchange in a distributed environment.
Statement B: SOAP enables components of heterogeneous applications to send and receive messages.
Which of the following is correct about the above statements?
1,Statement A is True, and Statement B is False.
2,Statement A is False, and Statement B is True.
3,Both, Statement A and Statement B, are True.
4,Both, Statement A and Statement B, are False.
Answer correct is: 3
---------------
This document is prepare for the student test at NIIT. If you have problem with this answers, please contact with your faculty
Bạn đang đọc truyện trên: AzTruyen.Top