CH1-Database fundamentals Flashcards
information system
-is a set of hardware, software, data, people, and procedures that work together to produce information
Input/Processing/Output/Storage
—> a computer processes data into information
Input
- any data the computer collects from the outside world
a) Data: raw facts about things and events
b) Information: transformed data that has value for decision making
c) Essential to organize data for retrieval and maintenance
Output
-any information the computer sends to the
outside world
Examples: A sales report, list of names, graphic images, or a sound
Data
-recorded facts and figures
–>Databases record data, but they do so in such a way that we can produce information from the data
Information
knowledge derived from data
Databases
A DB contain both:
a) entities
b) relationships among entities
Entity:
-cluster of data about a topic (person, place, thing or event
Relationship
-connection among entities
• A typical DB may have hundreds of entities and
relationships
The Characteristics of Databases
1) The purpose of a database is to help people track things of interest to them.
2)Data is stored in tables, which have rows and columns like a spreadsheet.
–>Each row in a table stores data about an
occurrence or instance of the thing of interest
3)A database may have multiple tables, where each table stores data about a different thing.
TABLES
Relational database is a collection of tables:
• table name and column names (FIELDS)
• rows, occurrences of data (REGISTERS)
Structured Query Language (SQL)
-internationally recognized standard database language that is used by all commercial DBMSs
Components of a database system with SQL
1) Users
2) Database application= computer programs that users work with.
3) Database management system(DBMS)= creates, processes and administers databases
4) Data base
Basic Functions of Application Programs
- Create and process forms
- Process user queries
- Create and process reports
- Execute application logic
- Control the application itself
Functions of a DBMS
- Create database
- Create tables
- Create supporting structures (e.g., Indexes)
- Modify (insert, update, or delete) database data
- Read database data
- Maintain database structures
- Enforce rules
- Perform backup and recovery
Database
- is a self-describing collection of integrated tables.
a) self-describing= it stores a description of itself
b) integrated tables= they store data about the relationships between rows of data
c) metadata= self describing data (data about data)