Ch 1 & 2 (Quiz 1) Flashcards

Chapter 1 (1- 19) | Chapter 2 (20 - 30) (30 cards)

1
Q

What is the 3-Tier Architecture?

A

1- Presentation Tier (Also called: GUI, View).
2- Application Tier (Also called: Business Logic, Control).
3- Data Tier (Also called: Model, Database).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the 2 Types of Databases?

A

1- Traditional.
2- Recent Applications NOSQL (not only SQL).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the Types of Traditional Databases?

A

1- Numeric.
2- Textual.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the Types of Recent Applications NOSQL Databases?

A

1- Multimedia. (Ex. YouTube)
2- Geographic information Systems (GIS). (Ex. Google Maps).
3- Biological & Genome Databases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a Database?

A

A collection of related Data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Data?

A

Known facts that can be recorded.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a Mini-World?

A

The part of the real world that is related to the Database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a Database Management System (DBMS) ?

A

A software to manage the Database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a Database System?

A

DBMS + Data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Meta-Data?

A

Its Data that describes other Data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the functionalities of a (DBMS) ? (1)

A

1 - Define Data Model.
2 - Construct/load a Database.
3 - Manipulate Databases :-
- Queries.
- CRUD Operations. (Create, Read, Update & Delete).
4- Concurrency MGT :-
- Ensures no two entities modify the same record at the same time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are additional functionalities of a (DBMS) ? (2)

A

1 - Security.
2 - Presentation of Data.
3 - Maintenance.
4 - Backup & Recovery.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the Main Characteristics of a Database?

A

1 - Self-describing. (Ex. Meta Data).
2 - Program-data independence. (insulation between programs & data.)
3 - Data Abstraction. (using a Data Model to hide storage details).
4 - Support of Multiple views.
5 - Concurrency support.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the Types of Database Users?

A

1 - Actors on the scene.
2 - Actors behind the scene.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Who are the (Actors on the scene) Database Users?

A

1 - Database Admin.
2 - Database Designer.
3 - End Users. (Casual, Parametric & Sophisticated).
4 - System analysts & Application Developers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Who are the (Actors behind the scene) Database Users?

A

1 - Tool Developers
2 - System Designers & Implementers.
3 - Operators & Maintenance Personnel.

17
Q

What are the advantages of using the Database Approach? (1)

A

1 - Controlling Redundancy in Data Storage.
2 - Restricting unauthorized access.
3 - Providing permanent data storage.
4 - Efficient data query processing.
5- Backup & recovery.

18
Q

What are the advantages of using the Database Approach? (2)

A

6 - Enforcing Data integrity using data constraints.
7 - Drawing inference relations between stored data.
8 - Potential for enforcing standards.
9 - Reduced application development time.
10 - Flexibility to change Data Structures.

19
Q

When not to use a (DBMS) ?

A

1 - Unaffordable cost.
2 - Unnecessary - very simple application.
3 - infeasible - there is no DBMS to serve my purpose.

20
Q

What are the components of a Data Model?

A

1 - Structure. (Elements, Group of elements)
2 - Operations. (Basic, User-Defined)
3 - Constraints.

21
Q

What are the Categories of Data Models?

A

1 - Conceptual Model (Semantic, High Level) :-
Ex. Entity-Relationship (ER) model
2 - Implementation Model.
3 - Physical Model (Internal, Low-level) :-
Ex. Describes how data is actually stored on hardware.
4 -Self-Describing Model. (It describes itself)

22
Q

From the table provided :-
A - Which part is the Schema (Meta data) ? and how much do they change?
B - Which part is the instance (state, snapshot) ? and how much do they change?

A

A - The red outline of the table, it rarely changes.
B - The green outline of the table, it frequently changes.

23
Q

What is the initial Database (DB) state ?

A

The first state of the database after it’s loaded or created, before any user data is entered (or with only the starting data).

24
Q

What is the 3 Schema Architecture?

A

1 - External Schema. (user view).
2 - Conceptual Schema. (ER models).
3 - Internal Schema. (how data is stored physically).

25
What is the goal of a 3 Schema Architecture?
1 - Support Multiple views. 2 - Program-Data Independence.
26
What are the DBMS Languages?
1 - Data Definition Language (DDL) : to define Meta Data. 2 - Data Manipulation Language (DML) :- - High Level. (Ex. SQL) : operates on entire sets of data at once, rather than one record at a time. - Low Level. (Ex. Java) : accesses and processes one record at a time.
27
What are the DBMS interfaces?
1 - Stand alone. 2 - Programming Interface. 3 - Utilities. 4 - User-Friendly Interface. 5 - Mobile Interface.
28
What are the Utilities of DBMS Interfaces?
1 - Report Generation. 2 - Loading. 3 - Backup. 4 - Database Maintenance. 5 - Monitoring Utilities. 6 - Dictionary, Repository, Catalogue, Meta Data.
29
What are the DBMS Categories?
1 - Based Data Model. (Legacy, Current, New). 2 - Server Type. (Centralized, Distributed: Homogenous, Heterogenous) 3 - Number of Users. (Single User, Multi User).
30
What are the considerations when choosing a DBMS?
1 - Cost. (Paid, Free). 2 - Type. (General Purpose, Special Purpose). 3 - Licensing Options. (Number of Users Allowed, Open vs Closed Source).