Posts

Showing posts with the label Database Management System

Design an E-R diagram for keeping track of the exploits of your favorite sports team. You should store the matches played, the scores in each match, the players in each match and individual player statistics for each match. Summary statistics should be modelled as derived attributes

Image
 

Consider a database used to record the marks that students get in different exams of different course offerings. (a) Construct an E-R diagram that models exams as entities, and uses a ternary relationship, for the above database. (b) Construct an alternative E-R diagram that uses only a binary relationship between students and course-offerings. Make sure that only one relationship exists between a particular student and course-offering pair, yet you can represent the marks that a student gets in different exams of a course offering.

Image
  (a) (b)

A university registrar’s office maintains data about the following entities: (a) courses, including number, title, credits, syllabus, and prerequisites; (b) course offerings, including course number, year, semester, section number, instructor(s), timings, and classroom; (c) students, including student-id, name, and program; and (d) instructors, including identification number, name, department, and title. Further, the enrolment of students in courses and grades awarded to students in each course they are enrolled for must be appropriately modelled. Construct an E-R diagram for the registrar’s office.

Image
 

Application of Database

 Databases are widely used in following sector:  Banking: Stores the information of customer, accounts, loans and transactions performed.  Airlines: Stores information of customer, reservation, flights, schedule, transactions.  Universities: Stores information of Students, Faculties, courses, grades, curriculum, achievements etc. Credit card transactions: stores information of purchases, generation of monthly statements, bills, history of payments, etc. Telecommunication: Stores the records of incoming and outgoing calls, data usage, generating monthly bills, maintaining balance of prepaid cards, communication network, roaming details, etc. Finance: Stores information of purchase and sale of holdings, stocks, bonds, etc. Manufacturing: Stores information of products, orders for products, inventories of products available in warehouse or shops, tracking products, production, supply chain management, etc. Human resources: Stores information of employees, designations, s

What is Database Management System?

The collection of data is known as database . Database Management System (DBMS) is a collection of two things:  The interrelated data, and  A set of programs to access those data. The  primary goal of DBMS is to provide an efficient and a convenient way to store and retrieve database information.   Database management involves defining structure for storage of information and providing mechanism for manipulation of information. Database system must also ensure the safety of information that is being stored, despite the system crash or an unauthorized access.