Chap 2 (Database System Concepts and Architecture) Flashcards

1
Q

A set of concepts to describe the structure of a database, the operations for manipulating these structures, and certain constraints that the database should obey.

A

Data Model

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

are used to define the database structure

A

Constructs

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

Constructs typically include

A

elements (and their data types)
groups of elements (e.g. entity, record, table)
relationships among such groups

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

specify some restrictions on valid data; these constraints must be enforced at all times

A

Constraints

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

These operations are used for specifying database retrievals and updates by referring to the constructs of the data model.

A

Data Model Operations

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

Operations on the data model may include

A

basic model operations (e.g. generic insert, delete, update)
user-defined operations (e.g. compute_student_gpa, update_inventory)

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

Provide concepts that are close to the way many users perceive data.

A

Conceptual (high-level, semantic) data models

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

Conceptual (high-level, semantic) data models are also called

A

entity-based or object-based data models

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

Provide concepts that describe details of how data is stored in the computer. These are usually specified in an ad-hoc manner through DBMS design and administration manuals

A

Physical (low-level, internal) data models

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

Provide concepts that fall between conceptual and physical data models, used by many commercial DBMS implementations (e.g. relational data models used in many commercial systems).

A

Implementation (representational) data models

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

Combine the description of data with the data values. Examples include XML, key-value stores and some NOSQL systems.

A

Self-Describing Data Models

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

The description of a database.

A

Database Schema

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

Database schema includes

A

descriptions of the database structure, data types, and the constraints on the database.

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

An illustrative display of (most aspects of) a database schema.

A

Schema Diagram

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

A component of the schema or an object within the schema, e.g., STUDENT, COURSE.

A

Schema Construct

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

The actual data stored in a database at a particular moment in time. This includes the collection of all the data in the database.

A

Database State

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

Database State also called

A

Database Instance (or Occurrence/Snapshot)

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

The term _____ is also applied to individual database components in database state

A

instance (e.g record instance, table instance, etc)

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

Refers to the database state when it is initially loaded into the system.

A

Initial Database State

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

A state that satisfies the structure and constraints of the database.

A

Valid State

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

The _______ changes very infrequently

A

database schema

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

The ______ changes every time the database is updated.

A

database state

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

Schema is also called

A

Intension

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

State is also called

A

extension

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

Three-Schema Architecture was proposed to support DBMS characteristics of

A

Program-data interdependence
Support multiple views of data

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

Three-Schema Architecture defines DBMS Schemas at three levels which are

A

Internal schema
Conceptual schema
External schema

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

at the internal level to describe physical storage structures and access paths (e.g indexes).

A

Internal Schema

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

at the conceptual level to describe the structure and constraints for the whole database for a community of users.

A

Conceptual Schema

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

at the external level to describe the various user views.

A

External schema

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

What does internals schema typically use

A

Physical data model

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

Conceptual schema uses what model

A

conceptual or implementation data model

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

External schema uses what model

A

conceptual or implementation data model

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

In Three-Schema Architecture, _____ among schema levels are needed to transform requests and data

A

mappings

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

The capacity to change the conceptual schema without having to change the external schemas and their associated application programs

A

Logical Data Independence

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

The capacity to change the internal schema without having to change the conceptual schema

A

Physical Data Independence

36
Q

When a schema at a lower level is changed, only the _____ between this schema and higher-level schemas need to be changed in a DBMS that fully supports data independence.

37
Q

Types of DBMS Languages

A

Data Definition Language (DDL)
Data Manipulation Language (DML)
Low Level or Procedural Languages

38
Q

Used by the DBA and database designers to specify the conceptual schema of a database

A

Data Definition Language (DDL)

39
Q

In many D B M S s, the D D L is also used to define ______ and ______ schemas

A

internal and external

40
Q

In some DBMSs, separate ________ (SDL) and ________ (VDL) are used to define internal and external schemas.

A

storage definition language (internal)
View definition language (external)

41
Q

Used to specify database retrievals and updates

A

Data Manipulation Language (DML)

42
Q

DML commands (data sublanguage) can be embedded in a __________ (host language), such as COBOL, C, C++, or Java.

A

general-purpose programming language

43
Q

A library of ______ can also be provided to access the DBMS from a programming language

44
Q

stand-alone DML commands can be applied directly (called a ___________).

A

query language

45
Q

Types of DML

A

High Level or Non-procedural Language
Low Level or Procedural Language

46
Q

High Level or Non-procedural Language also called

A

declarative languages

47
Q

Are “set”-oriented and specify what data to retrieve rather than how to retrieve it

A

High Level or Non-procedural Language

48
Q

Retrieve data one record-at-a-time

A

Low Level or Procedural Language

49
Q

Constructs such as looping are needed to retrieve multiple records, along with positioning pointers

A

Low Level or Procedural Language

50
Q

Types of DBMS Interfaces

A

Stand-alone query language interfaces
Programming interfaces
User-friendly interfaces
Mobile interfaces

51
Q

DBMS Programming Language Interfaces

A

Embedded Approach
Procedural Call Approach
Database Programming Language Approach
Scripting Languages

52
Q

SQL is embedded directly in the source code of a host language (C, C++, Java, etc.), often requiring a precompiler.

A

Embedded Approach

53
Q

Use of database APIs to interact with the database. SQL commands are passed as parameters to functions or methods.

A

Procedural Call Approach

54
Q

A specialized language (often SQL with procedural extensions) that allows seamless integration of SQL and programming logic.

A

Database Programming Language Approach

55
Q

High-level scripting languages like PHP or Python use database connectors/modules to interact with databases.

A

Scripting languages

56
Q

User-Friendly DBMS Interfaces

A

Menu-based (web-based)
Forms-based
Graphics-based
Natural language
Combinations

57
Q

Other DBMS Interfaces

A

Natural language
Speech
Web Browser
Parametric interfaces

58
Q

Used to store schema descriptions and other information such as design decisions, application program descriptions, user information, usage standards, etc.

A

Data dictionary/repository

59
Q

is accessed by DBMS software and users/DBA.

A

Active data dictionary

60
Q

is accessed by users/DBA only.

A

Passive data dictionary

61
Q

Combines everything into single system including- DBMS software, hardware, application programs, and user interface processing software.

A

Centralized DBMS

62
Q

In a centralized DBMS, User can still connect through a remote terminal – however, all processing is done at ________

A

centralized site

63
Q

Specialized Servers with Specialized functions and Clients can access the specialized servers as needed

A

Basic 2-Tier Client-Server Architectures

64
Q

What are the types of Specialized Servers with Specialized functions

A

Print server
File server
DBMS server
Web server
Email server

65
Q

Provide appropriate interfaces through a client software module to access and utilize the various server resources.

66
Q

Clients may be ____ machines or P C s or Workstations with disks with only the client software installed.

67
Q

Connected to the servers via some form of a network.

68
Q

Provides database query and transaction services to the clients

A

DBMSServer

69
Q

Relational DBMS servers are often called ________

A

SQL servers, query servers, or transaction servers

70
Q

Applications running on clients utilize an __________ to access server databases via standard interface

A

Application Program Interface (API)

71
Q

Applications running on clients utilize an Application Program Interface (A P I) to access server databases via standard interface such as?

A

ODBC: Open Database Connectivity standard
JDBC: Java programming access

72
Q

Client and server must install appropriate ______ and ______ software for ODBC or JDBC

A

client and server module

73
Q

A client program may connect to several DBMSs, sometimes called the _______

A

data sources

74
Q

In general, data sources can be ____ or other non-DBMS software that manages data.

75
Q

It is common for web applications regarding client and server

A

Three Tier Client-Server Architecture

76
Q

Three Tier Client-Server Architecture has an intermediate layer called

A

Application Server or Web Server

77
Q

Stores the web connectivity software and the business logic part of the application used to access the corresponding data from the database server

A

Intermediate Layer

78
Q

Acts like a conduit for sending partially processed data between the database server and the client.

A

Intermediate Layer

79
Q

Variations of Distributed DBMSs (DDBMSs)

A

Homogeneous DDBMS
Heterogeneous DDBMS
Federated or Multidatabase Systems
Distributed Database Systems

80
Q

Participating Databases are loosely coupled with high degree of autonomy.

A

Federated or Multidatabase Systems

81
Q

Distributed Database Systems have now come to be known as _______ database systems

A

client-server based

82
Q

organizes data in a tree-like structure, where each record has a single parent and potentially many children.

A

Hierarchical data model

83
Q

similar to the hierarchical model but allows each child node to have multiple parent nodes

A

Network Data Model

84
Q

organizes data into tables (relations), which consist of rows (tuples) and columns (attributes)

A

Relational Data Model

85
Q

integrates concepts from object-oriented programming (OOP) into databases

A

Object-Oriented Data Model

86
Q

combines the strengths of both relational and object-oriented models.

A

Object-Relational Data Model