Professional Documents
Culture Documents
General Instructions:
1. Do the following programs using SQL Developer and prepare a documentation of all the programs along
with their output.
2. You will have to execute these programs followed by a brief question answer session.
3. Please upload your solutions in Moodle.
4. A maximum of two members can be in one group.
5. The submission deadline: April 5th, 2022
6. Late submission will have marks deduction, per day 2 marks will be deducted
7. Plagiarism report has to be attached and should not exceed 20%
8. No two projects should be the same. Similar or copied projects will be awarded zero marks.
Imagine that you are a Database Programmer working in a software company. Your
company has assigned the programmers to choose from several projects for their clients.
Choose any one project and prepare the appropriate requirements to build the system
using SQL. (55 marks)
1. COLLEGE DATABASE: A college contains many departments. Each department can offer
any number of courses. Many instructors can work in a department, but an instructor can work
only in one department. For each department, there is a head, and an instructor can be head
of only one department. Each instructor can take any number of courses, and a coursecan be
taken by only one instructor. A student can enroll for any number of courses andeach
course can have any number of students.
2. LIBRARY MANAGEMENT SYSTEM: A student and faculty can issue books. The number of
books a student and teacher can be issued will vary. In addition, the number of days will be
distinct in the case of students and teachers for issue of any book. Each book will have
different ID. Each book of the same name and same author (but the number of copies) will
have different ID. Entry of all the books will be done, as to who will issue that book and
when and should include the duration. Detail of Fine (when the book is not returned at a time)
is also stored.
3. PAYROLL MANAGEMENT SYSTEM DATABASE PROJECT: There will entry (Unique ID)
of all the employee of any Organization. According to the date of joining and date up to
which salary is created, Number of days will be entered. Basic pay will be defined according
to the post of employee and department. Then component like DA, HRA, medical allowance,
Arrears will be added, and Charges of car, Security, GOSI and other will be deducted. The
number of leaves taken by the employee should also be included.
REQUIREMENTS
1. Design the database for any one given Scenario with the help of SQL Developer using
appropriate DDL and DML commands. (20 marks)
2. Construct an Entity Relationship diagram describing the relationships that exist on the
database. (10 marks)
3. Create at least 5 relevant queries to display details for the above database (10 marks-
2 marks for each correct query)
4. Technical Report: A documentation of the project has to be submitted with the various
commands used in DDL and DML applicable to this project. Snapshots of the tables, output
of the commands and queries with clear explanation wherever needed. (5 marks)
DATABASE CREATION
Criteria Excellent (5) Good (4-3) Satisfactory (2-1) Unsatisfactory (0)
Rating
Information is Most information is Some information There is no clear plan
organized in a organized in a is logically for the organization
Relevance of clear, logical way. It clear, logical way. sequenced. of information.
information in is easy to anticipate Some information
the database the type of material seems out of place.
that might be in
other tables.
All tables are All tables are All tables are Few tables are only
present in the present in the present in the created.
Tables database with a database with database.
minimum of 5 fields required fields. The
and a total of 10 number of records
records has not been met.
Database shows Database shows Database shows Database is a rehash
considerable some originality an attempt at of other people's
originality and and inventiveness. originality and ideas and shows very
Originality inventiveness. The The content and inventiveness. little attempt at
content and ideas ideas are presented original thought.
are presented in a in an interesting
unique and way.
interesting way.
Relationships Adequately Adequately Student was not Some relationships
demonstrates demonstrates able to apply have only been
understanding of understanding of foreign keys applied and is not
foreign keys, foreign keys and accurately, did not complete.
primary keys, and primary keys, but follow relationship
relationship does not follow protocol.
protocol by creating relationship
a relationship table protocol with one of
with foreign keys the Directories.
identified.
ENTITY- RELATIONSHIP DIAGRAM
Teamwork 1.The project was 1. The project 1. The project 1. The project was
carried out by morewas carried out by was carried out by carried out by
than TWO more than TWO more than TWO more than TWO
members members members members
2. The work load 2. The work load 2. The work load
2. The work load and variety on and variety on and variety on
and variety on each member each member each member
each member seem fair seem fair does not seem to
seems fair 3. Leadership role 3. Leadership be fair or at least
3. Leadership role being assumed by role being one member has
being assumed by each member for assumed by each been assigned
each member for different tasks is member for trivial non-
different tasks is NOT apparent different tasks is technical tasks
evident NOT apparent (e.g. writing the
report)