Database Programming Pre-Test Questions - 1194 Verified Questions

Page 1


Database Programming

Pre-Test Questions

Course Introduction

Database Programming is a course designed to introduce students to the concepts and practices involved in building, managing, and interacting with databases using modern programming languages. The course covers fundamental topics such as database design, data modeling, and normalization, as well as hands-on experience with Structured Query Language (SQL) for creating, querying, and modifying database structures. Students will also explore the integration of databases into applications through the use of programming languages like Python, Java, or PHP, emphasizing techniques for connecting to databases, executing transactions, and handling data securely and efficiently. By the end of the course, students will have the skills to design robust databases and develop applications that effectively utilize database technologies in real-world scenarios.

Recommended Textbook

Database Systems Design Implementation and Management 13th Edition by Carlos Coronel

Available Study Resources on Quizplus

16 Chapters

1194 Verified Questions

1194 Flashcards

Source URL: https://quizplus.com/study-set/1337 Page 2

Chapter 1: Database Systems

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/26666

Sample Questions

Q1) The only way to access the data in a database is through the DBMS.

A)True

B)False

Answer: True

Q2) Data processing can be as simple as organizing data to reveal patterns.

A)True

B)False

Answer: True

Q3) _____ data exist in a format that does not lend itself to processing that yields information.

A) Structured

B) Semistructured

C) Unstructured

D) Historical

Answer: C

Q4) Web and mobile technologies that enable "anywhere, anytime, always on" human interactions are forms of _____.

Answer: social media

Q5) Raw data must be properly _____ for storage, processing and presentation.

Answer: formatted

To view all questions and flashcards with answers, click on the resource link above. Page 3

Chapter 2: Data Models

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/26667

Sample Questions

Q1) What components should an implementation-ready data model contain?

Answer: An implementation-ready data model should contain at least the following components:

A description of the data structure that will store the end-user data. A set of enforceable rules to guarantee the integrity of the data.

A data manipulation methodology to support the real-world data transformations.

Q2) M:N relationships are not appropriate in a relational model.

A)True

B)False

Answer: True

Q3) In the _____ model, each parent can have many children, but each child has only one parent.

A) hierarchical

B) network

C) relational

D) entity relationship

Answer: A

Q4) From a database point of view, the collection of data becomes meaningful only when it reflects properly defined _____.

Answer: business rules

Page 4

To view all questions and flashcards with answers, click on the resource link above.

Chapter 3: The Relational Database Model

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/26668

Sample Questions

Q1) _____ logic, used extensively in mathematics, provides a framework in which an assertion (statement of fact) can be verified as either true or false.

A) Predicate

B) Database

C) Relational

D) Index

Answer: A

Q2) The DIVIDE operation uses one single-column table (e.g., column "a") as the divisor and one two-column table (e.g., columns "a" and "b") as the dividend.

A)True

B)False

Answer: True

Q3) A(n) ______ provides a detailed description of all tables found within the user/designer-created database.

Answer: data dictionary

Q4) A(n) _____ links tables on the basis of an equality condition that compares specified columns of each table.

Answer: equijoin

To view all questions and flashcards with answers, click on the resource link above.

Chapter 4: Entity Relationship Er Modeling

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/26669

Sample Questions

Q1) A derived attribute is indicated in the Chen notation by a _____ that connects the attribute and an entity.

A) single line

B) dashed line

C) double dashed line

D) double line

Q2) What is a weak relationship? Provide an example.

Q3) The entity relationship model uses the associative entity to represent a(n) _____ relationship between two or more entities.

A) M:N

B) 1:M

C) N:1

D) M:1

Q4) Identifying the attributes of entities helps in the better understanding of _____ among entities.

Q5) A composite identifier is a primary key composed of more than one attribute.

A)True

B)False

Q6) A person's Social Security number would be an example of a(n) _____ attribute.

Page 6

To view all questions and flashcards with answers, click on the resource link above.

Chapter 5: Advanced Data Modeling

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/26670

Sample Questions

Q1) A weak entity in a strong identifying relationship with a parent entity is normally used to represent a(n) _____ that is represented in the data model as two separate entities.

Q2) From a data modeling point of view, _____ data refer to data whose values change over time and for which one must keep a history of the data changes.

Q3) A(n) _____ is the attribute in the supertype entity that determines to which entity subtype each supertype occurrence is related.

A) subtype discriminator

B) inheritance discriminator

C) specialization hierarchy

D) entity supertype

Q4) _____ completeness means that every supertype occurrence must be a member of at least one subtype.

Q5) While using a surrogate key, one must ensure that the candidate key of the entity in question performs properly through the use of the "_____" and "not null" constraints.

Q6) The _____ is the result of adding more semantic constructs to the original entity relationship (ER) model.

To view all questions and flashcards with answers, click on the resource link above. Page 7

Chapter 6: Normalization of Database Tables

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/26671

Sample Questions

Q1) When a table contains only one candidate key, _____ are considered to be equivalent.

A) the 1NF and the 2NF

B) the 3NF and the BCNF

C) the 4NF and the 3NF

D) the BCNF and the DKNF

Q2) An attribute that is part of a key is known as a(n) _____ attribute.

A) important

B) nonprime

C) prime

D) entity

Q3) Explain normalization and its different forms.

Q4) _____ databases reflect the ever-growing demand for greater scope and depth in the data on which decision support systems increasingly rely.

A) Normalized

B) Data warehouse

C) Temporary

D) Report

Q5) All relational tables satisfy the _____ requirements.

Q6) _____ is a process to help reduce the likelihood of data anomalies.

Page 8

To view all questions and flashcards with answers, click on the resource link above.

Chapter 7: Introduction to Structured Query Language Sql

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/26672

Sample Questions

Q1) The ANSI SQL standards are also accepted by the ISO.

A)True

B)False

Q2) What are the wildcard characters that are used with the LIKE command? Provide one or more examples of each.

Q3) You cannot insert a row containing a null attribute value using SQL.

A)True

B)False

Q4) The _____ command defines a default value for a column when no value is given.

A) CHECK

B) UNIQUE

C) NOT NULL

D) DEFAULT

Q5) Describe the important features and applications of SQL functions.

Q6) The syntax of theEXCEPT statement in Oracle is _____.

Q7) An alias is especially useful when a table must be joined to itself in a(n) _____ query.

Q8) DATE() and SYSDATE are special functions that return today's date in MS Access and _____, respectively.

Q9) In the SQL environment, the word _____ covers both questions and actions. Page 9

To view all questions and flashcards with answers, click on the resource link above.

Page 10

Chapter 8: Advanced Sql

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/26673

Sample Questions

Q1) In Oracle, _____ make(s) it possible to merge SQL and traditional programming constructs, such as variables, conditional processing (IF-THEN-ELSE), basic loops (FOR and WHILE loops,) and error trapping.

A) dynamic SQL

B) stored procedures

C) embedded SQL

D) Procedural Language SQL

Q2) A view is a virtual table based on a SELECT query.

A)True

B)False

Q3) Just like database triggers, stored procedures are stored in the database.

A)True

B)False

Q4) The _____ command permanently saves all changes-such as rows added, attributes modified, and rows deleted-made to any table in the database.

A) COMMIT

B) SELECT

C) ROLLBACK

D) UPDATE

To view all questions and flashcards with answers, click on the resource link above. Page 11

Chapter 9: Database Design

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/26674

Sample Questions

Q1) What are the factors affecting the purchasing decision for DBMS software?

Q2) In the Systems Development Life Cycle (SDLC), problems defined during the planning phase are examined in greater detail during the analysis phase.

A)True

B)False

Q3) Once the data has been loaded into the database, the _____ tests and fine-tunes the database for performance, integrity, concurrent access, and security constraints.

A) programmer

B) manager

C) database administrator

D) systems administrator

Q4) The traditional Systems Development Life Cycle (SDLC) is divided into _____ phases.

A) two

B) three

C) four

D) five

Q5) Explain the concept of logical design and list the steps involved.

Q6) The first step in _____ is to discover the data element characteristics.

Page 12

To view all questions and flashcards with answers, click on the resource link above.

Chapter 10: Transaction Management and Concurrency Control

Available Study Resources on Quizplus for this Chatper

74 Verified Questions

74 Flashcards

Source URL: https://quizplus.com/quiz/26675

Sample

Questions

Q1) _____ are required to prevent another transaction form reading inconsistent data.

A) Locks

B) Schedules

C) Stamps

D) Logs

Q2) A _____ lock will lock the entire table, preventing access to any row by a transaction while another transaction is using the table.

A) database-level

B) table-level

C) page-level

D) row-level

Q3) The _____ protocol ensures that transaction logs are always written before any database data is actually updated.

Q4) The scheduler establishes the order in which the operations within concurrent transactions are executed.

A)True

B)False

Q5) What is transaction isolation and why it is important?

To view all questions and flashcards with answers, click on the resource link above. Page 13

Chapter 11: Database Performance Tuning and Query

Optimization

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/26676

Sample Questions

Q1) The purpose of an I/O operation is to move data to and from different computer components or devices.

A)True

B)False

Q2) List and describe some typical DBMS processes.

Q3) _____ are ordered sets of values that are crucial in speeding up data access.

Q4) A(n) _____ request is a low-level read or write data access operation to or from computer devices.

Q5) A DBA determines the initial size of the data files that make up the database; however, as required, the data files can automatically expand in predefined increments known as _____.

A) procedure cache

B) buffer cache

C) supplements

D) extents

Q6) A(n)_____ is an index based on a specific SQL function or expression.

Q7) To work with data, the DBMS must retrieve the data from permanent storage and place it in RAM.

A)True

B)False Page 14

To view all questions and flashcards with answers, click on the resource link above.

Page 15

Chapter 12: Distributed Database Management Systems

Available Study Resources on Quizplus for this Chatper

74 Verified Questions

74 Flashcards

Source URL: https://quizplus.com/quiz/26677

Sample Questions

Q1) A user-friendly _____ is one advantage of a distributed database management system (DDBMS) .

Q2) A fully distributed database management system (DBMS) must perform all the functions of a centralized DBMS, and it must handle all necessary functions imposed by the distribution of data and processing.

A)True

B)False

Q3) _____ transparency allows the system to operate as if it were a centralized database management system.

A) Heterogeneity

B) Distribution

C) Performance

D) Failure

Q4) A distributed _____ contains the description of the entire database as seen by the database administrator.

A) global index

B) data dictionary

C) global catalog

D) data thesaurus

To view all questions and flashcards with answers, click on the resource link above. Page 16

Chapter 13: Business Intelligence and Data Warehouses

Available Study Resources on Quizplus for this Chatper

74 Verified Questions

74 Flashcards

Source URL: https://quizplus.com/quiz/26678

Sample Questions

Q1) _____ use web-based technologies to present key business performance indicators or information in a single integrated view, generally using graphics in a clear, concise, and easy to understand manner.

Q2) Multidimensional data analysis techniques include advanced computational functions.

A)True

B)False

Q3) What is the difference between decision support data and operational data from the point of view of data analyst?

Q4) In a typical star schema, each dimension record is related to thousands of _____ records.

A) attribute

B) fact

C) key

D) primary

Q5) _____ is a term used to describe a comprehensive, cohesive, and integrated set of tools and processes used to capture, collect, integrate, store, and analyze data with the purpose of generating and presenting information used to support business decision making.

To view all questions and flashcards with answers, click on the resource link above. Page 17

Chapter 14: Big Data and Nosql

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/26679

Sample Questions

Q1) A query in a graph database is called a ______.

A) schema

B) hierarchy

C) traversal

D) script

Q2) ______ focuses on filtering data as it enters the system to determine which data to keep and which to discard.

A) Scaling up

B) Feedback loop processing

C) Stream processing

D) Scaling out

Q3) Characteristics that are important in working with data in the relational database model also apply to Big Data.

A)True

B)False

Q4) ______minimizes the number of disk reads necessary to retrieve a row of data.

A) Column-oriented database

B) Row-centric storage

C) Column-family database

D) Column-centric storage

To view all questions and flashcards with answers, click on the resource link above. Page 18

Chapter 15: Database Connectivity and Web Technologies

Available Study Resources on Quizplus for this Chatper

73 Verified Questions

73 Flashcards

Source URL: https://quizplus.com/quiz/26680

Sample Questions

Q1) Among client-side extensions, _____ is a Microsoft specification for writing programs that run inside the Internet Explorer browser.

A) COBOL

B) ActiveX

C) JavaScript

D) Visor.Net

Q2) In the ADO.NET framework, the _____ is a disconnected, memory-resident representation of the database.

A) Command

B) DataReader

C) DataAdapter

D) DataSet

Q3) Open Database Connectivity (ODBC), a superset of the SQL Access Group Call Level Interface (CLI), is implemented by _____.

Q4) XML is used to create _____, or vocabularies for entire industries.

Q5) What are the main types of objects in the OLE-DB model? Explain.

Q6) A web _____ server is a middleware application that expands the functionality of web servers by linking them to a wide range of services.

To view all questions and flashcards with answers, click on the resource link above. Page 19

Chapter 16: Database Administration and Security

Available Study Resources on Quizplus for this Chatper

74 Verified Questions

74 Flashcards

Source URL: https://quizplus.com/quiz/26681

Sample Questions

Q1) The DSO's activities are often classified as _____ management, which includes all DBA activities designed to ensure data availability following a physical calamity or a database integrity failure.

Q2) The DBA must review the database application design to ensure that transactions are _____, meaning that they mirror real-world events.

Q3) Describe the DBA's managerial role.

Q4) _____ CASE tools provide support for the coding and implementation phases.

A) Front-end

B) Back-end

C) Vertical

D) Horizontal

Q5) The _____ component of a CASE tool produces the information system's input/output formats.

A) analysis

B) graphics

C) program document generator

D) screen painter and report generator

Q6) The _____ aspect of introducing a DBMS in an organization deals with hardware and software changes in the organization.

Page 20

To view all questions and flashcards with answers, click on the resource link above.

Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.