Midterm 2: Ch. 5, 6, 8, labs 3-6 Flashcards
(237 cards)
(not a question) Cards formatted as:
[Chapter #] | [Flashcard first side]
5| What is a database? (icon represented as a cylinder DB)
An organized connection of data; a collection of integrated records. (a collection of tables + relationships among the rows + special data (metadata)).
5| What is the purpose of databases?
To organize and keep track of multiple themes, such as grades or emails.
5| When should data be stored in a spreadsheet versus a database?
Single theme - store in a spreadsheet; Multiple themes - store in a database.
5| Why is it important to learn about databases?
Databases are ubiquitous in commerce and essential for turning data into useful information.
5| What are the components of a database?
Hierarchy of data elements and relationships among rows.
5| What is a Database Management System (DBMS)? - do business, make shit… what lol
A system that creates, processes, and administers databases. Many don’t develop their own DBMS (liks os), and use licensed products.
Database administration (DBA)
person or department that develops procedures and practices to ensure efficient/orderly multiuser processing of the database, to control changes to the database structure, and to protect the database.
Database Administration tasks
Development, Operation, backup and recovery adaptation
5| What are the functions of a DBMS?
- Creating the Database and its structures 2. Processing the database 3. Administering the database.
5| What are some licensed DBMS vendors?
IBM, Microsoft, Oracle, and others.
5| What is an example of an open-source DBMS?
MySQL: License-free for most applications.
5| What are the DBMS process operations?
- Read 2. Insert 3. Modify 4. Delete data.
DB2
Access
SQL Server
Oracle Database
Popular DBMS products.
Db2 - IBM (enterprise class)
Access - Microsoft (personal and small workgroup)
SQL Server - Microsoft (enterprise class)
Oracle db - Oracle (enterprise class)
MySQL
Popular open source DBMS product, license-free for most applications
5| What is SQL?
Structured Query Language, an international standard language for creating and processing databases.
5| What is an example SQL command?
INSERT INTO Student ([Student Number], [Student Name], H W1, H W2, MidTerm) VALUES (1000, ‘Franklin, Benjamin’, 90, 95, 100);
DATABASE APPLICATION
Collection of forms, reports, queries, and application programs that facilitates users’ processing of a database. A database can be processed by many different database applications.
5| What are the four elements of a database application?
Purposes, Forms, Reports, Queries, and Application programs.
5| What do FORMS in a database application do?
Data entry forms used to view data, insert new, modify, and delete existing data. (collection of forms, reports, queries)
5| What do REPORTS in a database application do?
Presentation of data in a structured, meaningful context
5| What do QUERIES in a database application do?
Request for data from a database
Graphical Queries
Queries, criteria in which user clicks on graphic (sharepoint.. more advanced onedrive)
5| What are reports in a database application?
Structured presentation of data using sorting, grouping, filtering, and other operations.