You are on page 1of 2

University of the Punjab

Main Campus, Lahore


Sheet No.

Lab Quiz 01
Spring Term 2019
Code: IT-261 Degree: BBIT
Title: Relational Database Management System Batch: F18-MA & EA
Max Time: 60 min Marks: 60

Instructions:
1. Do not forget to pray before starting to attempt the paper. Trust me it helps.
Remember! SOMEONE is always with you (Be Relaxed), and HE is also watching you (Be Honest)
2. Question Paper is SELF EXPLANATORY. Understanding the Question Paper is part of Solution.
3. Nothing Beyond the Finish Line will be Evaluated. Back Side of Pages is Beyond Finish Line.
4. For Calculations etc. Use the back side of the pages.
5. Error in Question will be advantageous to Student.
6. Read the Questions carefully before attempting.
7. Solve your paper using Black/Blue Pen only.
8. Attempt All Questions in a Precise Fashion.
9. Switch Off your Cellular Phones.
10. Manage Your Time.

Good Luck
Roll No: Name:

Date: Mon, Feb 04, 2019 Signature:

Q 01 Q 02 Q 03 Q 04 Q 05 Q 06 Q 07 Q 08 Q 09 Q 10 Total
65

Invigilator’s Signature Examiner’s Signature

Do Not Open Till YOU are Advised by Invigilator


Roll No.: F18-BBIT-MA & EA-LQ-01

Name: Relational Database Management System

Question No 01. 65
Following is the relational Model of SaleLine System of a Department Store

Customer CustCode Name Street Town City Cell

SaleLine SLNum CustCode Date Amount Tax NetAmount

SLDetail SLNum PCode Price Qty

Products PCode PTitle Unit MinLevel QtyinHand

a. Decide for Data Type, Size, Index and NULL constrained of the Data Field on basis of your
General Knowledge 5
b. All FK must be Constrained on the Master Tables. 5
c. Format of CustCode is Cnnnn, 10
SLNum is MMDDnnnn,
and PCode is Pnnn.
d. Implement this relational model in MS Access and populate the relations, 5+5+10
Customer with 5 Rows,
Products with 10 Rows,
SaleLine with 2 Rows, and
SLDeail with relevant tuples of sales, each sale must have at least 6 products
e. Create Forms for Customer ONLY, add all the essential buttons for Record Navigation, Operations
and Form operations 5+10

Submission Instructions:
Step 1. Save Your Work with your Roll Number i.e. F18BA???
Step 2. After Completing your task
Step 3. Email it at saleem@ibitpu.edu.pk from Your Official Email.
Step 4. Subject of email must be
RDBMS~LQ01~F18BA???-Your Name

Finish Line
Nothing beyond this line will be evaluated

You might also like