You are on page 1of 2

Assignment 1

Fall-2019 (H)
Student ID & Name: _____________________________________

Code: MIS-101 Class: BBA-5 (A)


Course: Introduction to Computing Assigned Date: 14 October, 2019
Instructor: Aamir Hussain Submission Date: 28 October, 2019
Max. Marks: 10 marks
INSTRUCTIONS:
● Assignment should not be hand written.
● At the end of the report, you have to give the reference of th book/webpage/any
individual referred during the preparation of this report. Not giving the references will
lead to deduction of two marks..
● Use only A4 size paper for the Assignment.
● Standard font size and line spacing should be used.
● Assignment will only be submitted in the class and not in the faculty.
● Assignments after due date will not be accepted.
● File this Document along with the submitted assignment.
● All the students are supposed to concentrate on the assignment on an individual
basis. If the submitted document speaks of any copying, duplication or plagiarism, it
shall stand cancelled.

Q1) Guest House


My friend Ali owns a Guest house in Karachi. Visitors often stay at his guest house. Some
customers have the loyalty card which they could use for the complimentary breakfast and
evening snacks. This is noted in the customer’s record. The guest house has seven rooms,
some of which are double rooms and some are single rooms. In addition, some rooms have
attached bathroom. So basically there are four types of rooms i.e. Single with bath (SWB,
Single without bath (SWOB), Double with bath (DWB) and Double without bath (DWOB).
Also there are three floors in the guest house in which the rooms have been constructed.
You have to design the database which fulfills the following requirements of the guest house:

1) Keep track of Customers and their permanent address.


2) Keep track of rooms (The floor in which a particular room is constructed) in the house
and their room type.
3) List the price of each room type.
4) Record the length of a stay in a specific room by a customer.
5) One of the tables should contain a Yes/No field.

Note:
1) Room_type and floor are assumed against room_no.
2) Room charges are assumed.
3) Cust_Id and names are assumed.
Important Notes:
Name each of the table you design otherwise 2 marks will be deducted. For each of the table
designed, you have to mention the Primary Key and Foreign Key. You also have to enter
data into the tables designed. In some cases, you will have to assume the data; however
data will also be entered according to the requirement of the business in some cases. Add at
least 5 records in each of the tables.

Page 1 of 2
Assignment 1
Fall-2019 (H)
Hint: You are required to create four tables for the given scenario.
Q2) Library Information Systems
My friend owns a library. All issuance of books are prepared by hand till today. He has now
decided to introduce a computer based system which will make the processes of issuance of
books more efficient and accurate. Here is how the system works. There is a registration fee
to get the membership of the library. The information that whether he is a registered user is
entered in the member’s record. Once a member gets registered, he/she can come and get
the books issued. Non registered members can also get the book issued on payment each
time they get the books issued. There are six categories of books available in the library
which is Religious, Political, Biography, Novel, History and professional books. There are
almost 5000 books available in the library under these categories.
You have to design the database which fulfills the following requirements of the Library.
a) Keep track of members and their permanent address.
b) List the Categories of books along with the Category_ID.
c) List the name of the books along with the Book_ID and their Category.
d) Record individual members’ issuance of books. All the fields in this table will be
decided by the designer himself/herself.
e) One of the fields should be a yes/no field.
Important Notes:
For each of the table designed you have to mention the Primary Key and Foreign Key. You
also have to enter data into the tables designed. In some cases, you will have to assume the
data; however data will also be entered according to the requirement of the business in
some cases. Add at least 5 records in each of the tables.
Hint: You are required to create four tables for the given scenario.

Page 2 of 2

You might also like