Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

GNIIT SEM C MT1 EXAM QUESTION

Tags: object class

GNIIT SEM C MT1 EXAM QUESTION

Sonugiri.blogspot.in                                               www.Niitstudent.comComments:
1)            “Consider the following criteria:
— Represents the overall system
— Represents a use case handler
Which of the following patterns enables you to assign the responsibility of handling the system event to the Class that fulfill one or more of the preceding”
1,Expert Pattern                                                               2,Proxy
3,Creator                                                                             4,Controller

2)            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

3)            Which of the following UML diagrams represents interaction among actor, Object, messages, and links?
1,Activity diagram                                                            2,Object diagram
3,Use case diagram                                                         4,Communication diagram

4)            “Consider the following statements:
Statement A: Refactoring occurs when new methods are identified during the implementation phase.
Statement B: Refactoring occurs when methods derived from the collaboration diagram are not present in the class diagram.
1,Both, Statement A and Statement B are False.
2,Both, Statement A and Statement B is True.
3,Statement A is True and Statement B is False.
4,Statement A is False and Statement B is True.

5)            Which of the following diagrams depicts the various conditions of an object during its lifecycle?
1,State Machine diagram                                              2,Communication diagram
3,Sequence diagram                                                       4,Iteration diagram

6)            “Consider the following statements:
Statement A: A state machine depicts the various states of an object that change in response to events during the lifetime of the object.
Statement B: A state refers to the condition of an object during its existence in memory.”
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.

7)            “Consider the following statements:
Statement A: The constituents of a Communication diagram are organized in such a manner that the unrelated objects are closely placed.
Statement B. Communication diagrams represent the interaction between objects in the form of messages.
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.

8)            “Consider the following conditions:
— A class contains another class
— A class records the instances of another class
— A class uses the objects of another class.
— A class provides information to initialize the objects of another class.
Which of the following Design Pattern will you use?
1,Singleton                                                                         2,Factory
3,Creator                                                                             4,Expert

9)            “Consider the following statements:
Statement A: A branch represents the set of alternative paths or a decision, which the flow takes depending on the input.
Statement B: The alternative paths are depicted by a set of transitions that flow from the branch.
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.

10)          “Consider the following statements:
Statement A: Transformations often result in breaking an input parameter into more than one parameter to match the output parameters of the other action.
Statement B: Transformations convert the type of output parameter of the outbound action to the required parameter of inbound action.”
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.

11)          BlueSoftware Solutions is developing an online Railway Reservation system. The process of reservation involves a passenger enquiring about the availability of seats in trains going to a particular destination on a specific date. The reservation system then needs to check the availability of seats based on customer’s query. If the seat/seats are available, the reservation is done. The Use Case, Reserve Ticket involves the interaction of objects: P1 of passenger class, R1 of Reservation class, 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.
1,Class passenger implements the method enquiry()
Class reservation implements the checkAvailability()
Class Seat implements the reserve()
Class Ticket implements the method issue()

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()

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()

4,Class passenger implements the method checkAvailability()
Class reservation implements the method reserve()
Class Seat implements the method available()
Class Ticket implements the method issue()

12)          RedSky Inc. is developing a software system, which implements a module for performing mathematical calculations. The module enables end-users to find sin and cosine of a specified degree. The o1 object of the operation class accepts the degree and the typ      ”
1,You need to depict the following to complete the sequence diagram:
— The operation class invokes the method, calculatesin(), of the mathematics class.

2,You need to depict the following to complete the sequence diagram:
— The operation class invokes the method, calculatesin() of the mathematics class, if the condition [operation=sin] is true.
— The operation class invokes the method, calculatecosine()

3,You need to depict the following to complete the sequence diagram:
— The operation class invokes the method, calculatesin(), and then invokes the method, calculatecosine(), of the mathematics class

4,You need to depict the following to complete the sequence diagram:
— Operation class invokes only the method, calculatecosine() of the mathematics class.

13)          Dyans Systems is developing a software system for implementing an online shopping system. Calculate Bill is one of the use cases of the system and the actor for the use case is customer. The customer selects certain product displayed on the user interface            ”
1,You need to depict the following message to complete the sequence diagram:
calculateAmount() method of the customerPurchase class

2,You need to depict the following message to complete the sequence diagram:
generateList() method of the customerPurchase class

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 .

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 .

14)          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 detai                ”
1,You need to depict the following message to complete the sequence diagram:
generateList() method of the SaleItem class that is invoked by the sm object of the ShoppingMall class

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

3,You need to depict the following messages to complete the sequence diagram:
— selectList() method of the sm object of ShoppingMall class is invoked by the s1 object of the SaleItem class after which
— billAfterDscount() method of the SaleItem class is”

4,You need to depict the following messages to complete the sequence diagram:
— 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 ”

15)          Wilson Softech is developing an online Test system for the University of Texas, distance-learning program. The various classes used in implementing this system are ExaminationHall, Test, Marks, and Student. Each student needs to login using a valid userna
1,The order of objects is: Test, ExaminationHall, Marks
2,The order of objects is: Test, Marks, ExaminationHall
3,The order of objects is: ExaminationHall, Test, Marks
4,The order of objects is: Marks, Test, ExaminationHall

16)          BlueSoftware solutions Inc. is developing an online auction system. A software developer has identified the various states of the product object as, Approved for Auction, On Bid, and Delivered. However, the system design specialist disapproves of the states of the product object. Identify the additional states that the product object may attain.
1, The identified states convey enough information about all the possible states of the product object.
2, The additional state is Sold.                                                                                                                                                    The object transits from On Bid state to the Sold state after the customers wins a bid.
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.
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.

17)          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
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.
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.
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.

18)          Janes Systems is developing software for implementing a hotel management system. The software developer designs two classes, Room and Hotel. The Hotel class is assigned the responsibility of checking if a specified room is available for the duration speci
“1,The sequence diagram needs to indicate the information about:
When the h1 object of the hotel class is destroyed.
2,The sequence diagram needs to indicate the information about when the r1 object of the room class is destroyed.
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.
4,The availability needs to be checked for each day. Therefore, you need to iterate the message checkAvailabilty for each day.

19)          “SpeedStar Solutions is developing an online auction system. The various states identified by the software developer are:
Idle, Auctioning, Recording Bids, Process Bids, Finalize Bid, Close Bid, Accepting Customer Verification, Verifying, Verification Complete and Delivered 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 sub-states in the composite state, Auctioning.
1, — Recording Bids containing the substates Process Bids, Finalize Bid, and Close Bid
— Accepting Customer Verification containing the substates Verifying, and Verification Complete
2, — Bid Processing containing substates Recording Bids and Process Bids
— Bid Closure containing substates , Finalize Bid and Close Bid
3, — Verifying containing substate Accepting Customer Verification
— Verified containing substate Verification Complete
4, — Bid Processing containing substates, Recording Bids, Process Bids, Finalize Bid, Close Bid
— Verification containing substates, Accepting Customer Verification, Verifying, Verification Complete

20)          Wilson Softech is developing a Payroll system for Infolite Systems. The software development team has identified the use cases and classes of the system. A software developer needs to create a sequence diagram for depicting collaboration of the use case, Process Employee Salary. The end user of the system performs all operations through the user interface of the application, thye end user enters the details of the employee for salary calculation through the user interface. The system accepts the employee details and creates an empl object of the Employee class. The salary Calculator calculates the salary based on the details in the empl 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.
1,Emp1 and salary calculator
2,salary calculator and database
3,Emp1 and database
4,UserInterface and database

21)          Which of the following elements of an Activity diagram represents a control flow?
1,Action State                                                    2,Activity State
3,Transition                                                        4,Decision
23)          Which of the following options is used to represent a branch in an Activity diagram?
1,Dot                                                                     2,Circle
3,Diamond                                                          4,Rectangular box

25)          Which of the following symbols depicts an action state that does not have any outgoing transition?
1,Flow final                                                         2,Fork
3,Join                                                                    4,Expansion Regions

26)          “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 Student Details
— 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?

1,– Fill application form
— Submit application form
— Generate fees receipt

2,– Fill application form
— Register the student
— Assign registration number

3,– Fill application form
— Submit application form
— Deposit the fees
4,– Submit application form
— Deposit the fees
— Assign registration number

27)          “The exhibit represents the activity diagram of book issue process of a library management system. Which relationship is depicted between Request Book and Process Request? Click the Exhibit button to view the activity diagram.
1,Object flow                                                     2,Control flow
3,Generalization                                               4,Dependency

28)          “The exhibit provided represents the Activity diagram of book issue process of a library management system. What relationship exists between Request Book and Process Request? Click the Exhibit button to view the Activity diagram.
1,Control flow                                                   2,Object flow
3,Generalization                                               4,Dependency

29)          The input devices, mouse and keyboard are used to provide input signals to computer. Further, the mouse signals are classified in two signals, mouse move and mouse click. What is the relationship between input devices and signals if you need to design input device application Software?
1,Object flow                                                     2,Control flow
3,Generalization                                               4,Dependency

30)          “You are creating the state machine diagram for a ticket selling system. You have identified the following two states for the ticket selling system:
–Idle
–Active
The Active state contains the following substates:
–Reading credit card
–Validating credi”

1,The Active state is a composite state containing the concurrent substates Reading credit car, Validating credit card information, Selecting ticket type, Printing ticket, Dispensing ticket, and Ejecting card.
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 .
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 .
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

31)          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

32)          _______ is the conversion of a value type to a reference type.
1, Implicit casting                                              2, Explicit casting
3, Boxing                                                              4, Unboxing

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

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

35)          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

36)          You have created an application that accepts an input value from the user through a user interface and stores it in a variable. You are not sure what type of value the user may enter, but you still have to record it. What kind of a development environment
1, Strongly typed                                              2, Loosely typed
3, Common type                                              4, Reference type

37)          John, an application programmer with EverSoft Systems Inc. is reusing an existing collection, for his own application. The collection accepts a reference type data whereas John wants to add an integer, which is a value type, to the collection. What techni
1, Unboxing                                                        2, Implicit casting
3, Boxing                                                              4, Explicit casting

38)          You are developing an application to track employees who come late to the office. The arrival time of the employees entering the building after a specific time will be stored in the ArrivalTime collection. You cannot determine the exact number of persons
1, Array                                                                2, Structure
3, Arraylist                                                           4, BitArray

39)          An application stores the details of purchase orders in the PurchaseOrder class which in turn contains a collection of  products. The PurchaseOrder class includes a display() method that needs to iterate through the collection of products and display the
2, IEnumerable
3, IComparable
4, IConvertible

40)          You are working as a programmer for a University.  After the semester-end examination, you need to publish the result of students based on their ranks. You have created the Student class to store the details of students, including the rank of a student in
1, IFormattable                                                                                 2, IEquatable
3, IEnumerable                                                                                 4, ICloneable
41)          Which of the following is NOT a form of an assembly?
1, .EXE                                                                                   2, .DLL
3, .Netmodule                                                                   4, .COM

42)          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

43)          __________ in the Performance Monitor can be used to monitor the execution of processes and view a real-time graphical display of the data collected about processes.
1, Process Monitor                                                          2, System Monitor
3, Performance Counter                                               4, Application Monitor

44)          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

45)          _________ is a unique data compartment that helps store data of an application.
1, Object                                                                              2, Class
3, Isolated store                                                               4, Memory buffer

46           You can create assembly installers either by using Visual Studio .NET or programmatically by using the Command Prompt window. Which of the following is NOT a type of an assembly installer created using Visual Studio .NET?
1, Windows Service                                                         2, Merge Module
3, CAB                                                                                   4, Setup

47)          “During assembly installation process, you need to perform certain tasks just before all the installers commit their installations. Which of the following will you use to achieve this requirement?
1, InstallContext class                                                     2, InstallEventHandler delegate
3, AssemblyInstaller class                                             4, ConfigurationManager class

48)          Which of the following refers to the process of monitoring an application and recording information about events as they occur in the application?
1, Debugging                                                                      2, Application Tracing
3, Performance Monitoring                                         4, Garbage Collection

49)          Which of the following is TRUE about FileSystemWatcher class?
1, The FileSystemWatcher class is commonly used to perform multiple operations on a file and does not require the path to the file when working with a file.
2, The FileSystemWatcher class is very efficient in using memory resources thereby increases application performance.
3, The FileSystemWatcher class is used to monitor the current directory and its subdirectories for changes in the directories or files contained in the directory.
4, The FileSystemWatcher class watches the system configuration and can provide information about the drive, such as the drive letter, the type of drive, and the amount of free space on the drive.

50)          A stream represents a stream of bytes of data. Which of the following are the primary tasks performed by a stream?
1, Reading, writing, deleting                                        2, Reading, deleting, seeking
3, Seeking, deleting, writing                                        4, Reading, writing, seeking

51)          Which of the following software development approaches is used to show the functional capabilities of the software system to the customer to freeze the requirements?
1,Spiral approach                                                             2,Win-win spiral approach
3,Prototyping approach                                                4,Waterfall approach

52)          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 m                                                 4,Win-Win spiral approach
53)          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

54)          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

55)          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

56)          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 expec
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

57)          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
58)          You are a part of the team involved in analyzing a software system. You are required to create a UML diagram depicting the interactions that happen over a  period of time among various objects of the system. You also want to order the interactions in sequ
1,Sequence diagram                                                       2,Use-Case diagram
3,Communication diagram                                           4,Activity diagram

59)          Wilson Inc. needs to develop an e-commerce Web site for a client. The Graphic User Interface (GUI) of the software should be user friendly because people who are new to computer usage will also use the e- commerce Web site. During the design of the Web site
1,Spiral approach                                                             2,Waterfall approach
3,Prototyping approach                                                4,Incremental approach

60)          Info Solutions needs to develop a payroll system that maintains salary information, such as basic salary and house rent allowances. The payroll system should also maintain information about the provident fund contribution of employees. Further, Info Solut
1,Prototyping approach                                                2,Incremental approach
3,Spiral approach                                                             4,Waterfall approach

61)          Info Solutions needs to


This post first appeared on GNIITSolution, please read the originial post: here

Share the post

GNIIT SEM C MT1 EXAM QUESTION

×

Subscribe to Gniitsolution

Get updates delivered right to your inbox!

Thank you for your subscription

×