Dbms Lab Hourly Exam Spring 2021 Muhammad Hamza Khan1)
Dbms Lab Hourly Exam Spring 2021 Muhammad Hamza Khan1)
1. Write your answers directly on the Black Board (recommended) or upload word file
before the due date on Blackboard.
2. Write your name and registration ID on the first page of your Word file.
3. Answer scripts can only be uploaded on Blackboard only during the submission time.
4. To avoid any unforeseen problems, you are advised to follow the Guide lines
communicated by the Faculty Members.
5. Submission of answer copy(ies) will be considered acceptable through Blackboard only.
Therefore, do not submit your document through email or any other medium.
6. Use 12 pt. font size and Times New Roman font style along with 1-inch page margins.
7. Follow the requirements of the word limit and the marking criteria while writing your
answers.
8. Provide relevant, original and conceptual answers, as this exam aims to test your ability to
examine, explain, modify or develop concepts discussed in class.
9. Do not copy answers from the internet or other sources. The plagiarism of your answers
may be checked through Turnitin.
10. Double check your word file before uploading it on BlackBoard to ensure that you have
uploaded the correct file with your answers.
Question no 01: [12 Marks]
Note: Please make sure that all the points/rules must be implemented.
Draw the ERD Diagram to create relational model corresponding to the described Scenario.
Intellectual Property (IP) in Malaysia is administered by Pejabat Cap Dagangan dan jsminhsk
that are located at different branch all over Malaysia. Its objectives are also to establish strong
and affective administration, strengthening intellectual property laws, and managing applicants
that apply for the ownership of the IP, IP can be categorized into patent, copyright and
trademark. Each of the IP categories has their unique attributes. As a database designer, you are
required to design a database for IP management systems which need these requirements:
Each branch has a manager to manage the operations.
A supervisor will supervise many employees.
One applicant can apply to many IPs.
An employee will handle many applications by the applicants.
Each employee is attached to a branch.
IP can be categorized into: Patent, Trademark and Copyright.
Requirements:
1. ER Diagram of system implemented in tool such as Sqlyog & Draw.io (Available
online).
2. Create all tables with the attribute and appropriate data types presented in ERD.
3. INSERT data into tables(two ,three).
4. Also make sure to have the primary keys and foreign keys clearly defined.
5. System must perform all operations such as searching of particular data, insert of new
record, delete, and update.
ANSWER:
REATE TABLE depart(
d_id INT NOT NULL,
NAME VARCHAR(50),
PRIMARY KEY(d_id)
);