DBMS Concepts and Architecture
- 40Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What does the GIGO principle imply about data used by a decision support system?
What does the GIGO principle imply about data used by a decision support system?
40 questions
- 1
What does the GIGO principle imply about data used by a decision support system?
- A
Poor-quality input data can produce poor-quality results
- B
A database can correct inaccurate data during retrieval
- C
Large amounts of input data guarantee accurate results
- D
Database constraints make the quality of input data irrelevant
Correct answer
APoor-quality input data can produce poor-quality results
Explanation
The GIGO principle means that unreliable or incorrect input data leads to unreliable or incorrect outputs, making data quality important in a decision support system.
- A
- 2
Which description best defines a data model?
- A
Concepts describing database structure and the constraints it should obey
- B
A set of instructions for installing a database on a server
- C
A diagram showing only the physical location of stored files
- D
A collection of database records and the times they were entered
Correct answer
AConcepts describing database structure and the constraints it should obey
Explanation
A data model consists of concepts for describing a database's structure and the constraints that the database should obey.
- A
- 3
Which combination best illustrates what a data model can describe?
- A
It describes the operating system and hardware but not the data
- B
It describes database structures and rules, such as tables and keys
- C
It describes database users and the devices they use
- D
It describes only the sequence of commands used to retrieve records
Correct answer
BIt describes database structures and rules, such as tables and keys
Explanation
A data model describes elements such as tables and their data, as well as constraints such as unique identifiers and relational keys.
- A
- 4
What are data model operations?
- A
They determine which computer hardware stores the database
- B
They specify database retrievals and updates using data-model concepts
- C
They define how users perceive the meaning of stored information
- D
They create a visual diagram of every database component
Correct answer
BThey specify database retrievals and updates using data-model concepts
Explanation
Data model operations are instructions for retrieving or updating a database using the concepts of the data model.
- A
- 5
In database terminology, what does retrieval mean?
- A
Adding new information to the database
- B
Changing existing information in the database
- C
Removing information from the database
- D
Extracting information or data from the database
Correct answer
DExtracting information or data from the database
Explanation
Retrieval means extracting information or data from a database.
- A
- 6
Which set of actions consists of database updates?
- A
Displaying a schema diagram without changing stored information
- B
Mapping an external view to a conceptual schema
- C
Extracting information without changing the database
- D
Adding, modifying, or removing stored information
Correct answer
DAdding, modifying, or removing stored information
Explanation
Updates include adding new data, modifying existing data, and removing data.
- A
- 7
What is the main purpose of a conceptual data model?
- A
It records the database's contents at a particular time
- B
It captures users' perceptions and concepts about the data
- C
It specifies how data is physically stored on a computer
- D
It translates storage instructions into operating-system commands
Correct answer
BIt captures users' perceptions and concepts about the data
Explanation
A conceptual data model is high-level and captures how users perceive and conceptualize the data.
- A
- 8
Which set of terms refers to the conceptual data model?
- A
It is also called the procedural, record-based, or low-level model
- B
It is also called the internal, physical, or storage model
- C
It is also called the high-level, semantic, or entity-based model
- D
It is also called the occurrence, state, or instance model
Correct answer
CIt is also called the high-level, semantic, or entity-based model
Explanation
The conceptual data model is also called a high-level, semantic, or entity-based data model.
- A
- 9
What role does the implementation data model play?
- A
It records the complete database contents at a single moment
- B
It describes only users' external views of the database
- C
It specifies only the physical locations of data on storage devices
- D
It provides an intermediate representation between conceptual and physical models
Correct answer
DIt provides an intermediate representation between conceptual and physical models
Explanation
The implementation data model, also called the representational data model, provides an intermediate translation between conceptual and physical models.
- A
- 10
What does a database schema describe?
- A
It is a set of retrieval instructions issued by a user
- B
It is the actual collection of data at a particular moment
- C
It is the physical device on which the database is stored
- D
It is a description of database structure and constraints
Correct answer
DIt is a description of database structure and constraints
Explanation
A database schema describes the database, including its structure and constraints.
- A
- 11
What is a diagrammatic display of a database schema called?
- A
A database instance
- B
A schema diagram
- C
A data sublanguage
- D
A physical data model
Correct answer
BA schema diagram
Explanation
A diagrammatic display of a schema is called a schema diagram.
- A
- 12
What is a schema construct?
- A
A mapping between the conceptual and internal schemas
- B
The whole database's contents at a particular time
- C
A component or object within a schema, such as a row or column
- D
A language used only to define external views
Correct answer
CA component or object within a schema, such as a row or column
Explanation
A schema construct is a component or object within a schema, such as a row or a column.
- A
- 13
Which statement defines a database instance?
- A
A single component, such as a column, within a schema
- B
A diagrammatic representation of the database schema
- C
The actual data stored in the database at a given moment
- D
The rules describing the database's structure
Correct answer
CThe actual data stored in the database at a given moment
Explanation
A database instance is the actual data stored in the database at a particular moment.
- A
- 14
Why can two database instances taken at different times differ?
- A
It can vary over time as the stored data changes
- B
It remains fixed unless the schema is redesigned
- C
It changes only when the database is moved to new hardware
- D
It is determined exclusively by the database's external views
Correct answer
AIt can vary over time as the stored data changes
Explanation
A database instance may change as data is added, modified, or removed, so instances can differ at different times.
- A
- 15
In this context, what do “state of the database” and “occurrence of the database” mean?
- A
They refer to the conceptual data model
- B
They refer to a schema construct
- C
They refer to a schema diagram
- D
They refer to a database instance
Correct answer
DThey refer to a database instance
Explanation
State of the database and occurrence of the database are alternative terms for a database instance.
- A
- 16
Which statement correctly distinguishes a schema from a database instance?
- A
A schema is the stored data, whereas an instance is a diagram of the rules
- B
A schema describes structure and constraints, whereas an instance is the current stored data
- C
A schema is one database row, whereas an instance is one database column
- D
A schema describes hardware, whereas an instance describes user perceptions
Correct answer
BA schema describes structure and constraints, whereas an instance is the current stored data
Explanation
A schema describes the database's structure and constraints, whereas an instance is the actual data stored at a particular time.
- A
- 17
Which statement describes the external level of the three-schema architecture?
- A
It contains only the physical arrangement of stored data
- B
It contains only the constraints governing database tables
- C
It contains end-user views, which may be the same or different
- D
It contains the database's actual contents at one moment
Correct answer
CIt contains end-user views, which may be the same or different
Explanation
The external level contains views for end users. Different users may have different external views, and some views may also be the same.
- A
- 18
How does the conceptual schema relate to external views?
- A
It records each user's data at a particular moment
- B
It converts individual database records into programming loops
- C
It provides the conceptual basis used to create external views
- D
It stores database files directly on nonvolatile devices
Correct answer
CIt provides the conceptual basis used to create external views
Explanation
The conceptual schema facilitates the creation of external views and represents the database at the conceptual level.
- A
- 19
What does the internal schema represent?
- A
It defines the user's conceptual meaning for each entity
- B
It describes how the database is stored internally
- C
It describes how each end user perceives the data
- D
It specifies which data should be retrieved by a query
Correct answer
BIt describes how the database is stored internally
Explanation
The internal schema concerns how the database is stored within the computer system.
- A
- 20
What does the external/conceptual mapping connect?
- A
The mapping between an external view and the conceptual schema
- B
The mapping between the conceptual schema and physical storage
- C
The mapping between a schema construct and an instance
- D
The mapping between database updates and retrieval operations
Correct answer
AThe mapping between an external view and the conceptual schema
Explanation
The external/conceptual mapping translates between an external view and the conceptual schema.
- A
- 21
Which two levels are connected by the conceptual/internal mapping?
- A
A data sublanguage and a programming language
- B
The conceptual schema and the internal schema
- C
A schema diagram and a schema construct
- D
An external view and a database instance
Correct answer
BThe conceptual schema and the internal schema
Explanation
The conceptual/internal mapping connects the conceptual schema to the internal schema.
- A
- 22
Which factors are described as relevant to implementing the internal schema?
- A
It depends only on whether queries use a procedural language
- B
It depends on the computer, operating system, and DBMS, with storage on nonvolatile media
- C
It depends only on the user's preferred external view
- D
It depends only on the conceptual model's entity names
Correct answer
BIt depends on the computer, operating system, and DBMS, with storage on nonvolatile media
Explanation
The internal storage arrangement depends on the chosen computer, operating system, and DBMS, and the data is kept on permanent storage such as a hard disk or SSD.
- A
- 23
What is the central organization of the three-schema architecture?
- A
It separates database updates from database retrievals
- B
It separates table structures from their schema diagrams
- C
It divides database languages into SQL, Python, and C++
- D
It organizes the system into external, conceptual, and internal levels
Correct answer
DIt organizes the system into external, conceptual, and internal levels
Explanation
The three-schema architecture distinguishes external, conceptual, and internal levels, with mappings between adjacent levels.
- A
- 24
What is the primary role of Data Definition Language (DDL)?
- A
DDL specifies only the external views presented to users
- B
DDL specifies the conceptual schema and may also specify other schemas in some systems
- C
DDL specifies only how data is stored on a physical device
- D
DDL is used exclusively to retrieve and update database records
Correct answer
BDDL specifies the conceptual schema and may also specify other schemas in some systems
Explanation
DDL specifies the conceptual schema, although some database systems also use it to specify external and internal schemas.
- A
- 25
What schema is Storage Definition Language (SDL) primarily used to specify?
- A
It specifies the external schema
- B
It specifies user perceptions in the conceptual model
- C
It specifies the internal schema
- D
It specifies the current database instance
Correct answer
CIt specifies the internal schema
Explanation
Storage Definition Language (SDL) is used to specify the internal schema.
- A
- 26
What is the purpose of View Definition Language (VDL)?
- A
The external schema
- B
The actual data stored at a given moment
- C
The constraints for procedural loops
- D
The physical storage structure
Correct answer
AThe external schema
Explanation
View Definition Language (VDL) is used to specify the external schema.
- A
- 27
In a DBMS that uses separate languages for the three schema levels, how are DDL, VDL, and SDL typically assigned?
- A
DDL specifies conceptual, VDL specifies external, and SDL specifies internal
- B
DDL specifies instances, VDL specifies constraints, and SDL specifies retrievals
- C
DDL specifies external, VDL specifies internal, and SDL specifies conceptual
- D
DDL specifies internal, VDL specifies conceptual, and SDL specifies external
Correct answer
ADDL specifies conceptual, VDL specifies external, and SDL specifies internal
Explanation
In systems that use distinct languages for each schema level, DDL is associated with the conceptual schema, VDL with the external schema, and SDL with the internal schema.
- A
- 28
What is the purpose of Data Manipulation Language (DML)?
- A
It presents the external schema to end users
- B
It defines the internal storage schema
- C
It specifies database updates and retrievals
- D
It specifies the conceptual structure of the database
Correct answer
CIt specifies database updates and retrievals
Explanation
Data Manipulation Language (DML) specifies database updates and retrievals.
- A
- 29
Which statement describes the two forms of DML discussed in the content?
- A
DML must always be embedded in a programming language
- B
DML must always be a stand-alone language
- C
DML may be embedded in a programming language or used as a stand-alone language
- D
DML is divided into schema diagrams and database instances
Correct answer
CDML may be embedded in a programming language or used as a stand-alone language
Explanation
DML operations can be expressed through a data sublanguage embedded in a general programming language or through a stand-alone data manipulation language.
- A
- 30
What is a data sublanguage?
- A
It is a language used only to describe physical storage
- B
It is a visual diagram used to define a database schema
- C
It is a stand-alone language independent of programming languages
- D
It is a data-manipulation language embedded in a general programming language
Correct answer
DIt is a data-manipulation language embedded in a general programming language
Explanation
A data sublanguage is embedded in a general-purpose programming language and provides a way to manipulate database data.
- A
- 31
What characterizes a stand-alone data manipulation language?
- A
A visual notation for displaying a schema
- B
A language used only to define internal schemas
- C
A language embedded in a particular programming language
- D
An independent data manipulation language, also called a query language
Correct answer
DAn independent data manipulation language, also called a query language
Explanation
A stand-alone data manipulation language is also called a query language and is independent of a general programming language.
- A
- 32
How is SQL characterized in relation to data manipulation?
- A
SQL is a data sublanguage tied to one specific programming language
- B
SQL is a diagramming notation for conceptual data models
- C
SQL is a stand-alone data manipulation language for retrievals and updates
- D
SQL is a storage definition language for physical database layouts
Correct answer
CSQL is a stand-alone data manipulation language for retrievals and updates
Explanation
SQL, or Structured Query Language, is described as a stand-alone data manipulation language used to update and retrieve database information.
- A
- 33
How does a data sublanguage relate to a general programming language?
- A
It is determined by the database instance's date and time
- B
It is independent of all general programming languages
- C
It is associated with the general programming language in which it is embedded
- D
It is associated only with the database's physical storage device
Correct answer
CIt is associated with the general programming language in which it is embedded
Explanation
The data sublanguage used for manipulation is associated with its general programming language; learning that programming language entails learning its associated data-manipulation facilities.
- A
- 34
Which terms are used for high-level DBMS languages?
- A
They are also called procedural or record-by-record languages
- B
They are also called non-procedural or declarative languages
- C
They are also called physical, internal, or storage languages
- D
They are also called embedded, external, or schema languages
Correct answer
BThey are also called non-procedural or declarative languages
Explanation
High-level DBMS languages are also called non-procedural or declarative languages.
- A
- 35
What is a key characteristic of high-level DBMS languages?
- A
They define only the physical arrangement of database files
- B
They process one record at a time and require explicit loops
- C
They specify only database constraints and avoid retrieval instructions
- D
They work with sets and specify what data to retrieve and how
Correct answer
DThey work with sets and specify what data to retrieve and how
Explanation
High-level DBMS languages are set-oriented: they specify the data to retrieve and how to retrieve it as a set.
- A
- 36
How does SQL fit into the distinction between high- and low-level DBMS languages?
- A
It is an example of an internal storage definition language
- B
It is an example of a high-level, non-procedural language
- C
It is an example of an external schema diagram
- D
It is an example of a low-level, record-at-a-time language
Correct answer
BIt is an example of a high-level, non-procedural language
Explanation
SQL is given as the primary example of a high-level, non-procedural DBMS language.
- A
- 37
Which description best fits a low-level DBMS language?
- A
They are declarative and specify only a complete set of results
- B
They are conceptual and capture users' perceptions of data
- C
They are representational and translate between data models
- D
They are procedural and specify processing one record at a time
Correct answer
DThey are procedural and specify processing one record at a time
Explanation
Low-level DBMS languages are procedural languages that specify one record at a time.
- A
- 38
What extra details can low-level procedural languages require?
- A
They retrieve sets without describing procedures or constraints
- B
They specify how to retrieve data, including constraints and loops
- C
They specify only the database's conceptual schema
- D
They specify only which data is needed and omit retrieval procedures
Correct answer
BThey specify how to retrieve data, including constraints and loops
Explanation
Low-level procedural languages specify how to retrieve data and include constraints and associated loops.
- A
- 39
Why are high-level DBMS languages generally easier for programmers to use?
- A
They require users to specify every record and processing loop
- B
They operate only when embedded in a general programming language
- C
They directly specify the physical locations of all data
- D
They generally require less explicit detail about constraints and loops
Correct answer
DThey generally require less explicit detail about constraints and loops
Explanation
High-level languages are generally easier for people or programmers because they do not require the same explicit specification of constraints and loops.
- A
- 40
Why might a system use a low-level DBMS language despite its additional detail?
- A
They can expedite processing through greater speed and lower computing overhead
- B
They eliminate the need for a database schema
- C
They automatically improve the quality of stored input data
- D
They make every retrieval set-oriented and non-procedural
Correct answer
AThey can expedite processing through greater speed and lower computing overhead
Explanation
Low-level languages may be chosen to speed up processing because they can be faster and have lower computing overheads.
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.