You are on page 1of 16

MCA III Year I Semester Examination - 2012

Question Bank for Practical Question Paper

1.Draw use case diagram & Activity diagram with swimlane for the front office system in a 5-star hotel described below.Front office of any hotel is responsible for all rooms reservations, room allocation and final settlement of bills. Any company or person can reserve rooms for their future stay. They have to indicate from what date to what they need the room.They also have to indicate how many rooms are required.Sometimes the reservarions could be cancelled or dates or number of rooms changed. For reservation , cancelled or modification of rooms , customer receives an acknowledgement from the hotel. 2. Front office of any hotel is responsible for all room reservations, room allocations and final settlement of bills. Any company or person an reserve room for their future stay. They have to indicate from what date to what date they need the room. They also have to indicate how many rooms are required. Sometimes the reservations could be cancelled or dates or number of rooms changed. For reservation, cancelled or modification of rooms, customer receives an acknowledgement from the hotel. Draw sequence diagram for reserve room scenario, also draw the class diagram. 3. A major distributor of office supplies has a set of criteria for preparing bills. When the customer place the order one of the sales staff prepares the order and write the bills, if there is an insufficient quantity of items on hand, the back order is set up for missing items. The available items are shipped and bill is prepared. The cost is billed for the back order items when they are shipped. Wholesale customers are eligible for discount if they purchase minimum of 100 items. Retail customers are not eligible

Subject Prog. Lab IX (OOSD Prog. Lab)

for any discounts irrespective of the number of items ordered. All retail customers pay states tax, Wholesale customers dont pay any tax provided they have state tax exception. All bills are mailed to customers. Draw use case diagram and also draw sequence diagram for one of the scenario. 4. A major distributor of office supplies has a set of criteria for preparing bills. When the customer places the order one of the sales staff prepares the order and writes the bill, if there is an insufficient quantity of items on hand, the back order is set up for missing items. The available items are shipped and bill is prepared. The cost is billed for the back order items when they shipped. Wholesale customers are eligible for discount if they purchase minimum of 100 items. Retail customers are4 not eligible for any discount irrespective of the number of items ordered. All retail customers pay sales tax, Wholesale customers dont pay any tax provided they have state tax exception. All bills are mailed to customers. Draw activity diagram with swim lanes and draw class diagram. 5. A century system is the statistics provider organization of the all the first class cricket matches conducted across the world round the year. They compile all the statistics of the players in terms of matches played, venues, century, match type(test/one-day). For each match, statistics is complied for each player i.e., runs scored in each innings, wicked and catchers taken, run out, number of fours and sixes hit etc., he company wants to develop a computer application to compile these statistics. Identify classes using CRC and draw the class diagram with the necessary relationships. Also specify the multiplicities, roles etc. Draw the use case diagram with statistician as an actor. 6. A laboratory has several chemists who work on one or more projects. Chemists(empid, Name, Phone_no) also may use certain kinds of equipments(Serial_no, cost) on each project(projected, start_date). The organization wishes to record assign-date i.e., the date when the given equipment item was assigned to a particular Chemist working on a specific project, as well

as total number of hours the chemist has used the equipment for the project. The chemist must be assigned to at least one project and one equipment item. Draw the use case diagram and class diagram. 7. Mega super market has three checkout counters. In order to improve the checkout process a PC has been set up at each of these counters along with the printer. Each item in the super market is packed & each packet carries on it a price tag on which are printed its item code and price. Each customer picks out the desired packet from the shelves place them in the standard shopping basket supplied y the super market and carries the basket to one of the checkout counters. The counter operator takes out each of the packets from the basket, keys in the 12 digit item code. The amount is collected from the customer and a bill is printed and issued to the customer. Identify the classes and draw class diagram with suitable relationships, multiplicities and roles. Also draw the state diagram for one of the item object. 8. SAMS Courires Limited intends to computerize recruitment process. The advertisements for particular post appear on their website. The candidates are called for interview based on eligibility criteria which varies form post to post information regarding the eligibility and vacancies is maintained in database. The candidate is selected based on written test and interview. Once selected the candidate is under probation for one year. In this period the candidate is not eligible for any special leaves and benefits. After completion of probation period the manager evaluates the candidate performance and will be given an appointment letter with a unique employee id .Draw usecase diagram for the given scenario. Also draw the sequence diagram for the one of the scenarios. 9. FAQ INFOWARE - The Frequently Asked Questions Info ware enables students of a university to raise questions to the concerned department professors. The

professor is responsible to post the answers for the raised questions. A copy of the raised question and answer is stored in the database for future use. Along with these operations other facilities such as chat rooms are also provided to the students for recreation. Apart from the Student and Professor, the System Administrator is responsible for managing the main administrative tasks like adding new professors to the newly added departments, removing the professors and students as and when necessary and maintaining the reports periodically. Draw a use case diagram and deployment diagram and collaboration diagram for any two scenarios. 10. IPL (INDIAN PREMIER LEAGUE)- IPL is a simple online website which consists of detailed information of every match in IPL.It is specially made for cricket lovers.In this online website user has to register for free access.In this authorized user can watch match online and can buy tickets online.This website can also provide managing and maintaining Team profiles and exchanging the information regarding the matches conducted. Draw use case diagram and sequence diagram for any two scenarios. Also draw the component diagram. 11.In a Business school, once a student is admitted, he/she will be assigned a counsellor. The student has to report to the counsellor & fill his/her personal details in the councelling file. Students queries/problems are addressed by the counsellor,which is also recorded in the counseling files,the Principal of the school monitors the process of counseling i.e. the problems reported by the student and actions taken by the counsellor. As the strength of the school has increased, it is not possible for the principal to monitor the counseling process manually.Draw the sequence diagram for all the scenarios.also specify how sequence diagrams are converted to collaboration diagrams. 12. Placement Cell- Placement Cell is an online application for managing and maintaining student profiles and exchanging this information with companies.Students inturn receive notifications about placements being held,

students are also provided with facilities like career guidance,online technical exams,and group discussions.Placement Officer is the administrator supported by placement coordinators from every department in the college. Draw class diagram, component diagram and also draw the deployment diagram. 13. OTOSs pharmacy is the distributer of various pharmaceuticals products. They have a huge network of customers. The registered customers can only book orders for the specified product.If the specified product s available the required quantity is checked against the quantity on hand (QOH). If the required quantity is less than QOH a deliver challan is prepared.After the delivery of the product an Invoice is prepared by accountant which contains the cost of ordered items, deductions if any (in case of damaged or lost goods) and previous outstanding balance.Then the invoice is sent to the customer.Draw activity diagram with swim lanes & draw state diagram of the product object. 14. Global group requires a system to be developed for maintenance of leaves in their organization.there are different types of leaves: casual leaves, Medical leaves, Earned leaves and special leaves. These leaves vary from employee to employee. If the employee is regular he can avail all types of leaves. An adhoc employee can only avail casual leaves.The medical and earned leaves can be credited in the employees account. The maximum limit of the credit is 240. Further if an employee has availed all the leaves his salary may be deducted. Draw activity diagram and model a sequence diagram for one of the scenario. 15. POST OFFICE Management System- This simple wbsite holds the account information of the users and their details.It also provide the details of the branches and also the employees .It also provides the various type of bonds present and term period.Rules and regulations can be viewed by anyone.The user can login to this

website.This also depicts to send a telegram via credit card. Draw class diagram and draw object diagram. 16. OUs Central library issues books to the staff and students. Students can avail 3 books and staff can avail max of 5 books. The books are issued to the students for a period of one month. Thereafter a fine of Rs. 1/- for each day is charged. The faculty members dont pay any fine. However they have to return the book at the end of semester. The Library receives the requisition from various departments to new books.Once it is approved the order is placed to the various vendors. University gives an order of the books to a particular vendor on the competitive prices they offer. Model a Use case diagram and draw thw sequence diagrams for all scenarios of a student actor. 17. You have been hired to design a system for small health care organization. The clinic consists of several examining rooms and few rooms for short term critical care patients. A core staff of seven physicians is supplemented by internists from a local teaching hospital. Patients medical data is stored in the central database. Patients first sign in at the front desk. Clerk checks the billing records, prints a summary status sheet and obtains file number from the system. The clerk then selects the examination room for the patient based on the case. After waiting for the physician, the clerk moves the data packet and the patient to the examinations room. A nurse records basic medical data(weight, B.P etc.). The physician makes additional notes to both the medical and billing data and generally rights the prescription order which is given to the patient and recorded on the charts. When the patient leaves, the clerk enters the new data into the system (if any). The new billing data is forwarded to appropriate insurance company. Identify the classes using CRC and draw the class

diagrams with appropriate relationships, multiplicities etc. 18. TRAFFIC CONTROL SYSTEM-when an accident takes place then informant makes a call to the help line. The control system then records a First Information Report (FIR) of the accident and then it submits that to the traffic police then he will enquire about the accident from the informant and the control system (additional information). The control system gets the additional information about the accident from the Vehicular Information System, Criminal Information System and Insurance System .The Vehicular Information System (VIS) checks whether the vehicle belongs to that person. The Criminal Information System (CIS) checks whether the offender has any criminal records in the past and the insurance system (IS) checks whether the vehicle has been insured or not. When congestion occurs on a road, people can contact the nearest traffic police to know about alternative routes to their respective destinations. The traffic police in turn will get details about the different routes for that place from the system which contains all the details about the routes of different places that is, the rerouting system. Draw state chart diagram for object and activity diagram for any two use cases . 19. An organization is interested in developing new student registration system. The system allows students to register for courses and view reports cards from PC attached to the campus LAN as well over the internet . Professors will be able to access the system to sign up to teach courses as well as record grades of students. The registrars office will continue to maintain course information through another system. At the beginning of each semester, students may request a course catalogue, containing list of course offerings for that semester, Information about each course, such as professor, dept and prerequisites will be included. Course offerings will have maximum of 10 students and minimum of 3 students. Once registration

process is completed for a student the registration system sends information to the billing system so that student can be billed for semester. Professors must be able to access the online system to indicate which courses thy will be teaching. Draw class diagram and model sequence diagrams for any two scenarios. 20. The H.I. Top School of School of Business operates international business programs in 10 locations throughout Europe. The school had its first class of 9000 graduates in 1965. The school keeps track of each graduate student. In order to maintain strong ties to its alumni, the school holds various events around the world. The school needs to keep track of which graduates have attended which events. For an attendance by a graduate at an event, a comment is recorded about information. A report is produced showing the latest information about that gr54aduate & the information learned during the past two years from that graduate from all contacts & events the graduates attended. Since the strength of the student of the student is increasing day by day. Draw use case diagram and the activity diagram for the given scenario. 21. . Hospital management system is a platform through which patients problems can be advice online. The main idea of hospital management system is to provide treatment to the patient without meeting the doctor. Firstly, there are three main characters the doctor, the patient and the organizer. Whenever a patient has any problem related to health he posts online The organizer logs in reads the particular problem and then takes advice from a doctor and sends prescription to the relevant patient. The same prescription can be referred in future, The doctor can login and prescribe solution to the problem. These are viewed by the organizer and post back the advice to the patient. Patient then pays the fee-by cheque /cash/credit card to the

organizer and it is in turn paid to the corresponding doctor. Organizer itself plays the role of administrator i.e. maintaining the database, updating the system , paying the doctors, collecting the fee & also issue new members unique id's and passwords and keep them updated Draw class diagram and draw object diagram. 22. LAH University offers P.G program for working men. Candidates submit the application form to the registrar. The registrars office issues call letters to the candidates for writing the written test based on the following criteria: The first criterion for selection is that the candidate should be an engineering graduate or must have a PG degree (non-engineering). The second criterion is that the candidate should put a minimum of 2 years full time experience after the qualifying degree. The candidates qualified in written test are called for spot admissions and the seats are allotted based on the following distribution of seats: 30% of seats are reserved for ST, 10% of SC ,10% for BC & 20% for women and the remaining seats are under open competition. Draw a use case diagram and activity diagram with swim lanes. 23. The Zero bicycle company builds custom bicycles. It has a comprehensive help system that describes the company and the individual forms. The database contains realistic data for hundreds of customers and bicycles. One of the most important tasks at the zero bicycle company is to take orders of new bicycles. Several features have been included to help non-experts select a good bicycle. As the bicycles are built, the employees record the construction on the Assembly forms. As components are installed on bicycles, the inventory quantity is automatically decreased. Merchandise is ordered for suppliers and payments are made when shipment arrives. Draw the use case diagram and class diagram. 24. The Zero bicycle company builds custom bicycles. It has a comprehensive help

system that describes the company and the individual forms. The database contains realistic data for hundreds of customers and bicycles. One of the most important tasks at the zero bicycle company it to take orders of new bicycle. Several features have been included to help non-experts select a good bicycle. As the bicycles are built, the employees record the construction on the Assembly form. When the bicycle is shipped, the customers are billed. Customer payments are recorded in the financial forms. As components are installed on bicycles, the inventory quantity is automatically decreased. Merchandise is ordered for suppliers and payments are made when shipment arrives. Draw sequence diagram for all scenarios also draw the start chart for cycle component object. 25. A customer is charged for using various data services on the mobile network. When a call is made the signal is sent to the tower. The tower has a switch in which the files are stored. Each call which is made is stored in form os a record in the file. This file consists of a header which will give the number of records present. The record will consist of information such as (i) From which number the call was made (ii) To which number (iii)call duration (iv)pulse rate, etc. This will differ from call to call (Local, STD, ISD ). Draw use case diagram and sequence diagram for one of the scenario. 26. An Online examination system maintains a huge database of questions which are classified according to different parts of the syllabus and also according to difficulty level. In the beginning a student is considered to be an average student with a percentile of 50 and is given questions of medium difficulty randomly from the total syllabus. From here the type of questions presented varies according to the performance. The score starts with a value equal to the score obtained by a person

with percentile of 50. The score is calculated after every question and the change is score depends on difficulty level of the question. There is a restricti9on on the minimum number of questions of each type and a test taker may get more questions in any par4ti8cular section if his performance in that section is below his overall performance. Draw sequence diagrams for all the scenarios identified. 27. An Online examination system maintains a huge database of questions which are classified according to different parts of the syllabus and also according to difficulty level. In the beginning a student is considered to be an average student with a percentile of 50 and is given questions of medium difficulty randomly from the total syllabus. From here the type of questions presented varies according to the performance. The score starts with a value equal to the score obtained by a person with a percentile of 50. The score is calculated after every question and the change is score depends on difficulty level of the question. There is a restriction on the minimum number of questions of questions of each type and a test taker may get more question in any particular section if his performance in that section is below his overall performance. Model a use case diagram and a class diagram. 28. The book club has members. The book clubs sells books to its members. The member places orders for books, which the book club full fills. Each order contains one or more than one books. The books are written author(s). The publisher publishes the book. An author can write more than one books and a book can have more than one author. A book is published by a publisher, but a publisher publishes many books. A member can place more than one order. The member also can choose not to place an order. The book club sells many books. Draw a use case diagram with suitable relationships between use cases and model a class diagram.

29. An online railway reservation consists of the following activities. A Passenger can reserve a ticket, cancel a ticket and enquiry. Each train has limited number of reserved seats. Once a passenger cancels a ticket, required amount is deducted and the waiting list passenger is allotted the seat. Passenger may also book a ticket in ticket scheme by paying additional amount. Passenger who booked the ticket under ticket scheme cant get any refund if the ticket is cancelled. The chart is prepared two hours before the departure of the train. Model a Use case diagram for the given scenario with complete use case specifications. 30. An online railway reservation consists of the following activities. A Passenger can reserve a ticket, cancels a ticket and enquiry. Each train has limited number of reserved seats. Once a passenger cancels a ticket, required amount is deducted and the waiting list passenger is allotted the seat. Passenger may also book a ticket in tatkaal scheme by paying additional amount. Passenger who booked the ticket under tatkaal scheme cant get any refund if the ticket is cancelled. The chart is prepared two hours before the departure of the train. Draw class diagram for the given scenario also draw scenario also draw the state diagram for ticket object.

MCA III Year I Semester Examination - 2012


Question Bank for Practical Question Paper

Subject Prog. Lab X (Middleware Technologies LAB) 1. Consider an E-commerce application of shopping cart for purchasing things over the web. Implement the above application using EJB by considering the necessary issues involved. 2. Develop a console application in c#.net with following features: i. open a one text file which already existed in system. ii. Allow the user enter a string and search the given string is presented in the file or not using file streams. 3Consider the inventory application which supports three basic use cases: (i)Add Items to the Stock (ii)Receive Items (iii)Issue Items The application workflow starts with adding item information to stock. Then it allows enter goods receiving and issuing information. All those updated information are stored in the inbuilt database. Implement the above application using EJB by considering the necessary issues invoked. 4. Crate a java Bean to draw eclipse, square shapes and display it using or without using BDK. 5. Develop a student application for processing admissions by considering various parameters. Implement the above application by using EJB. 6. Develop a Library application for issuing and returning of boos by considering Boo (BooKID, Title, Author, edition, year, price) information.

Implement the above application by using Enterprise Java Bean. 7. Cretate a phonebook application in .net by creating as screen shown. 8. Create a DCOM/.NET component which when supplied with ISBN (book ID), retrieves information of the book (Title, author, edition, year, and price) and displays book information. 9. Develop a component for converting currency from rupees to dollar and dollar to rupees using COM/.NET 10. Develop a component for browsing CD catalogue using COM/.NET 11. Develop a component for retrieving information from message box using DCOM/.NET 12. Create a console application in .NET with following features: i. Take first name, middle name, and last name from the user. ii. Write the user entered input to a file (userinput.txt) and read the same for further operations. iii. Create a full name string by concatenating first name, middle name and last name iv. Truncates the full name to 20 characters if the length of the full name is longer than 20 characters v. Take following inputs from user and display the name accordingly: a. Direction (V/H): Show name vertically/ horizontally b. Order (F/B): Show name forward/ backward vi. Allow the user to go back to the top and start over, entering a new name vii. Terminate gracefully 13. Develop middleware component for a bank application to find the balance amount from the Savings Bank Account by using CORBA IDL interface and use JDBC to connect to the database. 14. Create a Java Bean to draw Circle, Rectangle, Curve graphical shapes and display it using or without using BDK. 15. Develop a console application in C#.net to implement Exceptional handling (using nested try and catch) 16. Create an Active-X control for login form and use it in another application.

17. Develop a component which gives the ICET Result of a student by using COM/.NET. 18. Develop an component for temperature conversion (Fahrenheit (F)/ Celsius (C) and Celsius(C)/ Fahrenheit (F)) using COM/.NET 19. Develop an Active-X control to draw a circle with a radius of 50 pixels in a window at the mouse click. 20. Develop Remote Object for a bank application having a remote method to find the balance amount from the bank. The method should authenticate the user by means of account-no and password. Use AWT/SWING to crate user interface and JDBC to connect to the database. 21. Develop a component which retrieves personal information (name, rollno, address, e-mailed, mobile-no) of student using COM/.NET. 22. Develop a component which when supplied with roll no queries the database to retrieve the marks of MCA 3 year Ist Semester by using COM/.NET. 23. Develop a stateless bean application. 24. Develop a calculator component for arithmetic operations. Using DCOM/.NET 25. Develop a State full Session Bean for online shopping system. 26. Implement a .NET component to perform the following operations on bank account: (i) Deposit (ii) Withdraw 27. Develop Remote Object for an Employee application having a remote method to find the employee details such as empid, ename, date-ofjoining, Service, salary with RMI. 28. Create an Active-X control for calculator and use it in anther application. 29. Develop a Remote Object for railway reservation application having a remote method to find of reservation which when supplied by PNR number. Implement the above using RMI 30. Develop a railway reservation application having a remote method to

find status of reservation which when supplied by PNR number. Implement the above using CORBA.

You might also like