Database Processing
6 important questions on Database Processing
Q1 - What is a database?
A database is a self-describing collection of integrated records.
The fields(columns) are grouped into rows which are also called records.
A table is a group of similar rows or records which is also called a file.
MS Access:
Components:
- Tables
- Queries
- Forms
Views:
- Datasheet
- Design
- SQL
Q2 – DBMS and Database application program
A DBMS program is used to create, process, and administer a database.
(Database management System)
Popular DBMS products include::
- DB2 from IBM
- Access from Microsoft (for personal computers)
- SQL Server from Microsoft (for large computer systems)
- Oracle from Oracle Corporation
- MySQL, an open-source product that’s license-free
The Structured Query Language (SQL), is an international standard language used by most major DBMS programs for processing databases.
Q3 – Data modeling
Example Student-Dormitory:
- Higher grades + faster learning
- Never study anything twice
- 100% sure, 100% understanding
What is an entity? What classifications are there?
-> Be sure that each table stands for a single entity -> normalized
Example: Student, Dormitory, Class
Classifications
Concrete entities:
- Beings
- Land&Buildings
- Equipment
- Goods
- Organizations
- Abstractions(strategy,plan)
- Agreements
- Events (purchase)
- States (ownership)
What is an attribute? Give examples for the entities.
-> ensure also here normalization! (Each object(entity) must not carry any attribute that describes something else)
Student: -> Student_ID, Name, Address, Phone
Dormitory: -> Dorm_ID, Name, Address, Number of rooms
...
What is a primary key?
Most popular: Automatic serial number
-> Computer needs PK (not user)
Example:
Student_ID
Dormitory_ID
The question on the page originate from the summary of the following study material:
- A unique study and practice tool
- Never study anything twice again
- Get the grades you hope for
- 100% sure, 100% understanding