Submission Date: 24-08-2020 Important Guidelines:: Set A
Submission Date: 24-08-2020 Important Guidelines:: Set A
Submission Date: 24-08-2020 Important Guidelines:: Set A
IMPORTANT GUIDELINES:
2. The student will attempt one question on each page which will contain his name,
registration number, roll number and signature.
SETB:ROLL NO-2,7,12,17,22,27,32,37,42,47,52,57,62,67
SETC:ROLL NO-3,8,13,18,23,28,33,38,43,48,53,58,63,68
SETD:ROLL NO-4,9,14,19,24,29,34,39,44,49,54,59,64,69
SETE:ROL NO-5,10,15,20,25,30,35,40,45,50,55,60,65,70
SET A
Q1. What is relational algebra? Explain Projection, Intersection, Set Difference
with the help of suitable examples. [10 Marks]
Q2. A) Explain the cocept of foreign key with the help of suitable example.
[5 Marks]
B) Explain briefly DDL, DML and TCL commands. [5 marks]
Q3. Create a Table Mobile with following Field and required Data Type specified
in the Table below. [10 Marks]
Mobile
IMEINo VARCHAR(20)
Brand Varchar(20)
Price NUMBER(20)
ModelNo VARCHAR(20)
RAM NUMBER(10)
Storage Varchar(10)
SET B
Q1. What is relational algebra? Explain Selection, Union, Cartesian Product with
the help of suitable examples. [10 Marks]
Q2. A) Explain the concept of Primary Key with the help of suitable example
[5 Marks]
B) What is Relational data model? Explain with example. [5 marks]
Q3. Create a Table Laptop with following Field and required Data Type specified
in the Table below: [10 Marks]
Laptop
SerialNo VARCHAR(20)
Brand Varchar(20)
Price NUMBER(20)
ModelNo VARCHAR(20)
RAM NUMBER(10)
Processor Varchar(10)
SET C
Q1. Explain Entity Relationship model with example. [10 Marks]
Q2. A) Explain Candidate Key and Super key with example [5 Marks]
B) Explain Network Data Model with example. [5 marks]
Q3. Create a Table Book with following Field and required Data Type specified in
the Table below: [10 Marks]
Book
BookID VARCHAR(20)
Name CHAR(20)
Price NUMBER(20)
Author VARCHAR(20)
Pages NUMBER(10)
Publisher VARCHAR(20)
SET D
Q1. A) Explain various types of abstraction level in database design.[5 marks]
B) Explain Foreign Key with suitable example. [5 marks]
Q2. A) Identify the type of following attributes from the given figure according to
the ER Diagram: [5 Marks]
ID AGE
PHONE
NAME
STUDENT
Q3. Create a Table Customer with following Field and required Data Type specified in the Table below:
[10 Marks]
Customer
Customer_ID VARCHAR2(20)
CUSTOMER_NAME CHAR(20)
CONTACTNO NUMBER(10)
ADDRESS VARCHAR(20)
CITY CHAR(10)
POSTAL_CODE NUMBER(10)
COUNTRY CHAR(10)
Write the required SQL Queries to get the following output:
A) Create another table namely My_Customer from Customer Table and Copy
the data of following columns only:
Customer_ID, Customer_Name, Coutry
B) Find all the details of the customer whose name=’Parul’
C) Update the contactno of the customer whose ID=3
D) Delete the records of all customers those are from ‘Mexico’.
E) Display the information of all the customers.
SET E
Q1. Explain the three-schema architecture in detail. [10 Marks]
Q2. A) Difference between single attribute and composite attribute [5 Mark]
B) Explain one to many relationships in E-R model in detail and reduce the same
into tables. [5 marks]
Q3. Create a Table EMPLOYEE with following Field and required Data Type
specified in the Table below: [10 Marks]
Employee
Employee_ID VARCHAR(20)
Name CHAR(20)
Phone_No NUMBER(20)
Designation VARCHAR(20)
Experience NUMBER(10)
Salary NUMBER(10)
Location CHAR(10)