Chapter 1 Flashcards
What is a database and what is it from the beginning?
A database is a collection of data, it is just a table. Once you put it in the table, a database is created.
What do you need in order to control a database?
In order to get it controlled, we need DBMS. DBMS is a software.
What is an example of a manually maintained database?
Shopping list
What is an example of a computerized database?
Bank account data
What are the tasks of DBMS?
*Data Definition Language (DDL), when creating a database, need to decide how many rows and columns that are needed for the table. Can add/delete from the table itself. (Table)
*Data Manipulation Language (DML), for example adding/remove/modifying the data. It is about the data. (Data)
*Database Querying, retrieving required data from the database. Required means based on condition. Ex. “attendance >5”.
Database Control, how to control the database. Who sees what/who has access to it?
What are the purposes of database languages?
Communicate.
Retrieve data from the database.
Add data to the database.
Modify data in the database.
Delete data from the database.
What is data?
Raw facts. Ex. “How many students in the class?”
Have not yet been processed to reveal their meaning to the end user
What is data management?
Generation, storage, and retrieval of data
What is information?
Produced by processing raw data to reveal its meaning.
Requires context.
Should be accurate, relevant, and timely to enable good decision making.
What does database definition mean?
*Creating new database and tables
*Alter existing tables in the database
*Drop existing database and tables
What does database manipulation mean?
*Adding new data to the database
*Modifying existing data in the database
*Deleting existing data from the database
What is Database Querying?
Querying means retrieving required data from the database.
For example, you may want to retrieve “name and ID number of students” from the database.
What is Database Control?
*Limiting access to data only to authorized users
*Sharing data among the users in such a way that database integrity is maintained
What are the elements of the database approach?
Entities, Relationships,Data models
What is an entity?
Noun form describing a person, place, object, event, or concept
Composed of attributes
What are Relationships?
Between entities
Usually one-to-many (1:M) or many-to-many (M:N), or one-to-one (1:1)