0% found this document useful (0 votes)
51 views

Department of Computer Science and Engineering (CSE) : Islamic University of Technology (Iut)

This document contains the details of a mid-semester exam for an Introduction to Database Management Systems course. It includes 4 questions, with students required to answer any 3 questions. Question 1 asks students to discuss different data models, integrity constraints, and keys used in databases. Question 2 involves using relational algebra on sample relations. Question 3 involves using SQL on the same sample relations. Question 4 asks students to construct an ER diagram for an organization with branches and employees, and briefly discuss multivalued and derived attributes.

Uploaded by

irqovi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views

Department of Computer Science and Engineering (CSE) : Islamic University of Technology (Iut)

This document contains the details of a mid-semester exam for an Introduction to Database Management Systems course. It includes 4 questions, with students required to answer any 3 questions. Question 1 asks students to discuss different data models, integrity constraints, and keys used in databases. Question 2 involves using relational algebra on sample relations. Question 3 involves using SQL on the same sample relations. Question 4 asks students to construct an ER diagram for an organization with branches and employees, and briefly discuss multivalued and derived attributes.

Uploaded by

irqovi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

DTE 1

st
Semester (4) 18 February 2013 (Morning)

ISLAMIC UNIVERSITY OF TECHNOLOGY (IUT)
ORGANISATION OF ISLAMIC COOPERATION (OIC)
Department of Computer Science and Engineering (CSE)

MID SEMESTER EXAMINATION WINTER SEMESTER, 2012-2013
DURATION: 1 Hour 30 Minutes FULL MARKS: 75
CSE 3173: Introduction to Database Management Systems
Programmable calculators are not allowed. Do not write anything on the question paper.
There are 4 (four) questions. Answer any 3 (three) of them.
Figures in the right margin indicate marks.

1. a) Discuss different types of Data Model.

8
b) Describe different types of integrity constraint followed by the database systems.

8
c) Discuss different types of keys that are used in database with appropriate examples. 9

2. a) Consider the following relation schema:

Employee (person_name, street, city), primary key - person_name
Works (person_name, company name, salary) primary key - person_name
Company (company_name, city), primary key - company_name
Manages (person_name, manager_name), primary key - person_name

Now using Relational Algebra:

i. Find the names of all employees who live in the same city and on the same street as do
their managers and works for the small bank corporation.

ii. Find the name of the employees who get the smallest salary and do not work for First
Bank Corporation.

15
5
b) Discuss the basic domain types used in SQL. 5

3. a) Consider the following database-

Employee (person_name, street, city), primary key - person_name
Works (person_name, company name, salary) primary key - person_name
Company (company_name, city), primary key - company_name
Manages (person_name, manager_name), primary key - person_name

Now using SQL:

i. Find the average salary of the employees of First Bank Corporation.
ii. Find all employees in the database who do not work for First Bank Corporation.
iii. Find the names and cities of residence of all employees who work for First Bank
Corporation.
iv. Find the company that has the most employees.

6
6
7
6




4. a) Consider an organization has different branches in different locations and all the branches
have a branch manager and few staffs. The salary scale of different employees differs
according to their designations. Construct an E-R diagram for the accounts office of that
organization to store information about different branches, employees, managers and their
respective salaries with appropriate notations.

15
b) Briefly discuss multivalued and derived attributes with appropriate examples. 10

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy