DBT 026 Database management system Assignment

Assignment Help Database Management System
Reference no: EM132583250

DBT 026 - Database management system

Question ONE
a. Define database management system
b. Name two main components of a relational schema
c. In relational model, attributes are said to be atomic. What is the meaning of atomic?
d. State the main purpose of enforcing different constraints in relational model
e. Give four main advantages of database management system
f. Differentiate between aggregation and differentiation.
g. What is a ternary relationship? Draw ER diagram to illustrate it.
h. Give four main differences between data and information.
i. What is data normalization and what is its main purpose.

Part B
Answer any two questions

Question Two
a. Design an entity relationship diagram of keeping track of information about votes taken in the Kenyan parliament during the last session to amend the interest rate Act. Draw an ER schema diagram for the above application. State clearly any assumption made.

b. A database is being constructed to keep track of the teams and games of a sport league. A team has a number of players, not all of whom participate in each game. It is desired to keep track of the players participating in each game for each team, the positions they played in that games, and the result of the games. Try to design an ER schema diagram for this application, stating any assumption you make. Choose your favorite sport (soccer, baseball, football ...)

Question Three
a. Consider the following relations that keeps track of student enrolment in courses and the books adopted for each course.
STUDENT (San, Name, Major, Bdate)
COURSE(Course#, Cname, Dept)
ENROLL(San, Course#, Quarter, Grade)
BOOK_ADOPTION(Course#, Quarter, Book_isbn)
TEXT(Book_isbn, Book-title, Publisher, Author)
Specify the foreign keys for this schema, stating any assumptions you make.

b. The database below stores students and courses.
STUDENT

Name

Student_number

class

Major

Smith

17

1

CS

Brown

8

2

CS

COURSE

Course-name

Course-number

Credit-hours

Department

Intro to computer science

CS1310

4

CS

Data structures

CS3929

4

CS

Discrete mathematics

MATH2410

3

MATH

Database

CS3380

3

CS


SECTION

Section-identifier

Course-number

semester

year

instructor

85

MATH210

Fall

07

King

92

CS1310

Fall

07

Anderson

102

CS3320

Spring

08

Knuth

112

MATH2410

Fall

08

Chang

119

CS1310

Fall

08

Anderson

135

CS3380

Fall

08

Stone


GRADE-REPORT

Student-number

Section-identifier

Grade

17

112

B

17

119

C

8

85

A

8

102

B

8

135

A


PREREQUISITE

Course-number

Prerequisite-number

CS3380

CS3320

CS3380

MATH2410

CS3320

CS1310


Write SQL update statements to do the following on the above database schema
a. Inserts a new student, < ‘Johnson', 25, 1, ‘Math'>, in the database.
b. Change the class student ‘Smith' to 2.
c. Insert new course < ‘Knowledge Engineering', ‘CS4390',3 ‘CS'>.
d. Delete the record for the student whose name is ‘Smith' and whose student number is 17.
c. Using a clearly labeled diagram, describe the three schema architecture or the levels of abstraction in data base management.

Question Four
Draw an E-R diagram for the following situation:

• This is a simplified model for reserving baseball tickets.

• There are teams, which are identified by the team name. Teams are also located in a city.

• Teams play each other in games, which occur on a particular date at a particular time. Games are identified by a game ID, and each game has exactly two teams that play in it.

• A game is played in exactly one stadium.

• A stadium is identified by its name, and is also located in a city.

• Stadiums have seats, which have a section number, a row number, and a seat number.

• Ticket holders reserve seats for a game. Ticket holders are identified by their name.

• Some ticket holders are students (students get discounts, but we are not including that in the model).
b) Using SQL, convert the following ER diagram to the relational model. Hint: You do not need CHECK constraints.

1865_figure.jpg

Question Five
a. Define domain constraint
b. List and explain five types of key used in relational models.
c. Explain the four main functions of a database management system
d. List five ways of maintaining data integrity

Reference no: EM132583250

Questions Cloud

What products or services can target costing be applied : As a Cost and Management Consultant in the banking industry in Ghana, What products or services can target costing be applied.
External forces acting on system : In this module we learned that the law of conservation of Linear Momentum states that the total linear momentum
Types of supply chain relationships : There are 2 types of logistics relationships: vertical and horizontal. Describe these types of supply chain relationships and how they differ.
What forces caused cost and management accounting systems : What forces have caused cost and management accounting systems designed decades ago to become less relevant and less valuable for organizational
DBT 026 Database management system Assignment : DBT 026 Database management system Assignment Help and Solution - Differentiate between aggregation and differentiation.
What break-even in units and rupees volume would be : If fixed costs rose to Rs. 110,000, break-even in units and rupees volume would be?If the average selling price rose to Rs.16, break even volume would fall
Addressing an ethical issue : Write pages in which you propose a policy that an organization can implement to address an ethical issue you have identified.
How do allocate labor to balance the flow in department : How do you allocate labor to balance the flow in your department if you work a 10 hour shift? Do not assume breaks or lunches in your answer
What are the financial implications of the recall : Identify a retail company within the food and beverage industry that has been involved in a recall. what are the financial implications of the recall?

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd