Professional Documents
Culture Documents
Assignment 1
Assignment 1
5. Readings
2021 eod.
O_SET#_Group# folder
ur code / document / other details about your assignment with other batches implementing the same problem. Any evidence of su
roblem. Any evidence of such practice will attract severe penalty. We will not distinguish plagiarism as less or more.
as less or more.
Problem Statement – Set I
Dr. Kumar and two other doctors runs a hospital for senior citizens which sees a large number of patients
coming in every day. In order to avoid inconvenience to the aged patients, the rule is that the oldest patient is
seen first by the doctor. As the patients keep coming and registering, they are added to a priority list from
which patient’s names are called out for consultation. Some of the patients are admitted as in patients. Since
it is not practical to implement this system using pen and paper, Dr. Kumar requested WIPRO to develop an
appointment software.
The software should be capable to do the following:
1. Registration of the patient: Take the patient’s name, age and create a patient ID.
2. Out-patient: Assign a doctor. Insert the patient id in the priority list based on the age of the patient.
Display the next patient ID and name in line to meet the doctor and remove this patient from the priority list.
3. In-Patient: allocation of room, Doctor etc.
4. Manage patient history
5. Number of visors for a in-patient
6. Details of in-patients and outpatients on a particular day
7. Doctor wise patient list
Problem Statement – Set 3
Implement a simple football league system that will record and display the league according to the fo
Each Team will have the following attributes:
· Name
· Games played
· Games won
· Games lost
· Games drawn (this should be a calculated value)
· Points (calculate using 3 points for a win and 1 for a draw)
Consider a super market which has different categories of items like grocery,
stationary, cosmetics, etc. Under each category, the shop holds a maximum
capacity of 100 items. The arrangement of items in the racks vary from time to
time. Based on the item type and availability, the supplier also varies. Each
supplier can supply different items. The system in the supermarket has the
complete description of list of all items which includes item number, name,
category, supplier name, price, total quantity and qty available. Based on the
items purchased by the customer, billing is done.
From the above description, initially the owner of the shop needs to
allocate the rack for the available items randomly and a data structure in the
system to hold the descriptions of items. When the owner checks for an item in
the stock, it should show all information related to that item(qty available is
calculated based on count of type of item purchased by the customer). When
the purchased items are entered in the billing section ,it should print item no,
item name, qty taken, price and total price of all the items and finally the grand
total to be paid .Help the owner of the shop to achieve the above said using an
interactive C program which uses appropriate data structures for allocation of
space for items, defining the type of items, calculating the total and providing
the bill for the customers. The program should be in such a way to handle both
the owner and the customer part.[Hint: Use menu driven method and
appropriate derived data types like pointers,structures to achieve the result]
Problem Statement – Set 7
WIPRO – Pune wants to devise an Employee Attendance System (EAS) to monitor effective
working time of an employee. Apart from details such as Emp_ID, Age, address, contact
number etc., each employee will have a special counter. First time an employee enters into
the office, the counter is set to 1. From then onwards, each time an employee leaves the
office premises for tea break or lunch break, and enters back this id is incremented. You can
figure out that when this id is odd on a day, he is in the office premises and even when he is
out. EPMS also records the number of breaks and total duration of the break in a day.
The organization uses this data to perform the following analytics:
1. Who all came within a range of IDs,
2. How many employees absent today?
3. How many times did an employee enter into the office?
4. Which employee moves out of office most number of times?
5. Name of the employees who are all out for a particular time period
6. Did a particular employee absent today?
Problem Statement – Set 11
Implement a simple Hockey league system that will record and display the league according to
the following specification:
Each Team will have the following attributes:
· Name
· Games played
· Games won
· Games lost
· Games drawn (this should be a calculated value)
· Points (calculate using 3 points for a win and 1 for a draw)
Consider an Auto spares store which has different categories of items like. Under each
category, the shop holds a maximum capacity of 1000 items. The arrangement of items
in the racks vary from time to time. Based on the item type and availability, the
supplier also varies. Each supplier can supply different items. The system in the
shopping mall has the complete description of list of all items which includes item
number, name, category, supplier name, price, total quantity and qty available. Based
on the items purchased by the customer, billing is done.
From the above description, initially the owner of the shop needs to allocate the
rack for the available items randomly and a data structure in the system to hold the
descriptions of items. When the owner checks for an item in the stock, it should show
all information related to that item (qty available is calculated based on count of type of
item purchased by the customer). When the purchased items are entered in the billing
section ,it should print item no, item name, qty taken, price and total price of all the
items and finally the grand total to be paid .Help the owner of the shop to achieve the
above said using an interactive C program which uses appropriate data structures for
allocation of space for items, defining the type of items, calculating the total and
providing the bill for the customers. The program should be in such a way to handle
both the owner and the customer part. [Hint: Use menu driven method and appropriate
derived data types like pointers, structures to achieve the result]
Problem Statement – Set 13
A hospital for handicapped which sees a large number of patients coming in every day. In order to avoid
inconvenience to the handicapped patients, the rule is that the oldest patient is seen first by the doctor. As
the patients keep coming and registering, they are added to a priority list from which patient’s names are
called out for consultation. Some of the patients are admitted as in patients.
The software should be capable to do the following:
1. Registration of the patient: Take the patient’s name, age and create a patient ID.
2. Out-patient: Assign a doctor. Insert the patient id in the priority list based on the age of the patient.
Display the next patient ID and name in line to meet the doctor and remove this patient from the priority
list.
3. In-Patient: allocation of room, Doctor etc.
4. Print visitors slip for an in-patient
5. Details of in-patients and outpatients on a particular day
6. Doctor wise patient list
Problem Statement – Set 15