Database Application Development Final Test Solutions - 1294 Verified Questions

Page 1


Database Application Development

Final Test Solutions

Course Introduction

Database Application Development explores the principles and practices involved in designing, building, and deploying robust database-driven applications. The course covers conceptual modeling, relational database design, and Structured Query Language (SQL) for data manipulation and retrieval. Students will gain hands-on experience with modern database management systems and learn to integrate databases with programming languages and web technologies. Topics include transaction management, security, performance optimization, and application frameworks, equipping students to create scalable, efficient, and secure database applications for real-world environments.

Recommended Textbook

Database Design Application Development and Administration 3rd Edition by Michael Mannino

Available Study Resources on Quizplus

17 Chapters

1294 Verified Questions

1294 Flashcards

Source URL: https://quizplus.com/study-set/3249

Page 2

Chapter 1: Introduction to Database Management

Available Study Resources on Quizplus for this Chatper

76 Verified Questions

76 Flashcards

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

Sample Questions

Q1) Persistency of business data refers to which of the following?

A) Business data are kept in the computer main memory

B) Business data are saved on stable storage such as magnetic disks for the life of the business

C) Business data are saved on stable storage such as magnetic disks for as long as it is needed by the business

D) Once the business data has been saved, its values never change

Answer: C

Q2) In transaction processing,inconsistency in the database is a concern of the user,not the DBMS processing the transaction.

A)True

B)False

Answer: False

Q3) Data is said to be interrelated when all of the data is stored in the same database and multiple users can access it at the same time.

A)True

B)False

Answer: False

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

3

Chapter 2: Introduction to Database Development

Available Study Resources on Quizplus for this Chatper

76 Verified Questions

76 Flashcards

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

Sample Questions

Q1) One of the common characteristics of data quality is _________________,meaning failures or interferences do not corrupt the database.

Answer: reliability

Q2) Indexing on a column or group of columns of a table can improve the performance of update operations in a database,but it slows down the retrieval process of queries.

A)True

B)False

Answer: False

Q3) Analysis functions,which are supported by most products,are the most widely used function in CASE tools.

A)True

B)False

Answer: False

Q4) The conceptual data modeling and logical database design phases are not concerned with the efficient implementation of a database.

A)True

B)False

Answer: True

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

Chapter 3: The Relational Data Model

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

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

Sample Questions

Q1) Unary relationships involve multiple tables and are common in database design.

A)True

B)False

Answer: False

Q2) The relationship connecting Employee to Department and expressing that an employee belongs to a department (foreign key Empdeptno)is:

A) 1-M from Employee to Department

B) 1-M from Department to Employee

C) M-N

D) Self-referencing

Answer: B

Q3) To retrieve the projects in which any employee participates,the following operator would be used:

A) Outer join

B) Natural join

C) Divide

D) Extended cross product

Answer: B

Q4) A(n)_________________ set operator retrieves all rows in either input table. Answer: union

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

Chapter 4: Query Formulation With SQL

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

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

Sample Questions

Q1) SQL is an acronym for ___________________________.

Q2) The execution of the query SELECT BirthPlace,AVG(Age)AS Avgage FROM CUSTOMER

WHERE BirthPlace = 'TAMPA' OR BirthPlace = 'ERIE' GROUP BY BirthPlace

Will produce the following number of rows:

A) 1

B) 2

C) 3

D) 4 or more

Q3) To test for null values in columns you would use the _________________ operator.

Q4) When two tables are joined in the WHERE clause,it is not necessary to list both table names in the FROM clause if the result set will come from only one table.

A)True B)False

Q5) You can use a SELECT and an INSERT in the same statement to insert multiple rows into a table at one time.

A)True

B)False

6

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

Chapter 5: Understanding Entity Relations

Available Study Resources on Quizplus for this Chatper

76 Verified Questions

76 Flashcards

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

Sample Questions

Q1) Author-rank-in-book is:

A) An attribute

B) An entity

C) A relationship

D) A primary key

Q2) Any book in the database has been written by:

A) One author only

B) One or several authors

C) More than one author

D) Zero, one, or several authors

Q3) With regards to a generalization hierarchy,the __________________ constraint means that subtypes do not have any entities in common.

Q4) An M-way relationship between three entity types is known as a(n)____________ relationship.

Q5) Which of the following entities does not inherit the primary key SS#?

A) Administrator

B) Department

C) RN

D) Md

Q6) In Crow's Foot notation,a circle means a cardinality of ______________.

Page 7

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

Chapter 6: Developing Data Models for Business Databases

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

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

Sample Questions

Q1) In order to enforce referential integrity constraints when converting a generalization hierarchy,the ON DELETE CASCAED option should be specified for actions on referenced rows.

A)True

B)False

Q2) Relationships often appear as ________ connecting nouns previously identified as entity types.

Q3) The basic rules for converting an ERD cannot be applied to converting self-referencing relationships or more complex identification dependencies.

A)True

B)False

Q4) Identification dependency is required to transform a single entity type into two entity types and a relationship.

A)True

B)False

Q5) In refining a data model,you should generate ______________ and evaluate them according to user requirements.

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

8

Chapter 7: Normalization of Relational Tables

Available Study Resources on Quizplus for this Chatper

76 Verified Questions

76 Flashcards

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

Sample Questions

Q1) An unexpected side effect that occurs when data is changed in a table that contains excessive redundancies is called a ___________________.

Q2) Which of the following is not one of the modification anomalies discussed in the text:

A) an update anomaly

B) a write anomaly

C) a deletion anomaly

D) an insertion anomaly

Q3) An experienced database designer always tries to achieve at least 3NF in all of their tables.

A)True

B)False

Q4) The following is a multivalued dependency in the table STUDENTA:

A) Name -> ->Major | Minor

B) Name -> Major

C) Name -> Minor

D) None of the above

Q5) A table with multiple candidate keys violates 3NF and BCNF.

A)True

B)False

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

Chapter 8: Physical Database Design

Available Study Resources on Quizplus for this Chatper

76 Verified Questions

76 Flashcards

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

Sample Questions

Q1) Which of the following is used in establishing table profiles?

A) Number of rows

B) Number of physical records

C) Distribution of values in a column

D) All of the above

Q2) A bitmap join index is actually a precomputed join from a column in a parent table to the rows of the child table that join with rows of the parent table.

A)True

B)False

Q3) In RAID technology,striping involves the allocation of logical records to different disks.

A)True

B)False

Q4) A Sequential File is a simple file organization in which records are stored in insertion order or by key value.

A)True

B)False

Q5) A simple file structure in which records are stored by a key value is a(n)_________________ file.

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

Chapter 9: Advanced Query Formulation With SQL

Available Study Resources on Quizplus for this Chatper

74 Verified Questions

74 Flashcards

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

Sample Questions

Q1) SELECT MAKE FROM RENTALS,CUSTOMER WHERE RENTALS.CID = CUSTOMER.CID AND RESID_CITY = 'HEMET ' GROUP BY MAKE HAVING COUNT (DISTINCT RENTALS.CID)= (SELECT COUNT(*)FROM CUSTOMER WHERE RESID_CITY = 'HEMET')

The meaning of this query is the following:

A) List all makes of cars rented to customers residing in Hemet

B) List all makes of cars rented to at least one customer residing in Hemet

C) List all makes of cars rented to all customers residing in Hemet

D) None of the above

Q2) One-Sided Outer Join: an operator that generates the join result (the nonmatching rows)from one of the input tables.SQL supports the one-sided outer join operator through the LEFT JOIN and RIGHT JOIN keywords.

A)True

B)False

Q3) In SQL statements,________________ conditions involve one or more simple conditions connected by a Boolean operator.

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

Page 11

Chapter 10: Application Development With Views

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

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

Sample Questions

Q1) (Access)INSERT INTO View2 (RTN,MAKE,PICKUP,RENTALS.CID. VALUES (10,'GM','SD',10)

Which of the following is not true?

A) This command inserts 1 row into RENTALS

B) This command inserts 1 row into CUSTOMER

C) After execution of this command, SELECT MAKE FROM View2 will show 5 rows where MAKE has 'GM' for value

D) The CUSTOMER table is not updated

Q2) In a hierarchical form,the fixed part is called the parent form and the variable part is called the child form.

A)True

B)False

Q3) A method to process a query on a view by executing the query directly on the stored view is known as _____________________.

Q4) To define a view,SQL provides the __________________ statement,in which you identify the view name and the underlying SELECT statement.

Q5) One of the rules for 1-M updatable queries states that the ________________ of the parent tables must be either a primary key or some other unique specification.

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

Chapter 11: Stored Procedures and Triggers

Available Study Resources on Quizplus for this Chatper

76 Verified Questions

76 Flashcards

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

Sample Questions

Q1) Because the optimization process can consume considerable computing resources,it is usually desirable to determine the access plan at run-time using dynamic statement binding.

A)True

B)False

Q2) In PL/SQL,a function is used instead of a procedure when:

A) You want to manipulate output variables.

B) You want to produce a side effect.

C) You are returning a single value.

D) You want to return more than one result.

Q3) In the case of overlapping triggers,which of the following is true?

A) The firing order is predictable and can be depended on to be the same every time.

B) The firing order has not been specified for SQL:2003.

C) The firing order is the same for all DBMSs.

D) None of the above.

Q4) The common SQL*Plus command used to list the columns of a table is

Q5) The concept of ______________ for a database programming language involves the association of an SQL statement with its access plan.

Page 13

Q6) A package ________________ contains the private details of a package.

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

Chapter 12: View Design and Integration

Available Study Resources on Quizplus for this Chatper

76 Verified Questions

76 Flashcards

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

Sample Questions

Q1) The use of forms in view design precludes gathering requirements in other formats such as interviews and documentation of an existing system.

A)True

B)False

Q2) To actually identify a Reservation entity,the following attributes are required:

A) Rental#

B) Rental#, Item#

C) Rental#, Item#, CustId

D) Rental#, CustId

Q3) To resolve synonyms and homonyms,you would rename the homonyms to the same term,and rename the synonyms to different terms.

A)True

B)False

Q4) Which of the following is not a major step found in the form analysis process?

A) Identify entity types

B) Identify generalization hierarchies

C) Identify relationships

D) Check completeness and consistency

Q5) In a form hierarchy diagram,a rectangle is used to identify a(n)______________.

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

Chapter 14: Data and Database Administration

Available Study Resources on Quizplus for this Chatper

76 Verified Questions

76 Flashcards

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

Sample Questions

Q1) One of the responsibilities of the data administrator is to monitor the performance of the enterprise's databases.

A)True

B)False

Q2) Tables with the names USERS,DOMAINS,COLUMNS,and REFERENTIAL_CONSTRAINTS would be examples of important ________________________ found in the SQL:2003 Definition_Schema.

Q3) Switching from a badly chosen DBMS to a good DBMS will typically involve the following costs:

A) Data conversion

B) Recoding software

C) Retraining employees

D) All of the above

Q4) A conceptual data model of an entire organization,which is used for data planning and decision support,is called a(n)_______________________.

Q5) ___________________ rules are checked when a user first connects to a DBMS.

Q6) Metadata can be found in the information resource dictionary.

A)True

B)False

15

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

Chapter 15: Transaction Management

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

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

Sample Questions

Q1) With the _____________________ approach,database updates are written to disk only after a transaction commits.

Q2) Locking Granularity: the size of the database item locked.Locking granularity is a trade-off between waiting time (amount of concurrency permitted)and overhead (number of locks held).

A)True

B)False

Q3) To restore a database using the immediate update approach,both undo and redo operations may be necessary,whereas with the deferred update approach only redo operations are used.

A)True

B)False

Q4) Which one of the following is the least likely to be viewed as a transaction?

A) Retrieving a customer's latest purchase

B) Transferring $1000 from a customer's savings account to the customer's checking account

C) Reserving a seat on a plane

D) Reserving a hotel room

Q5) Name three types of inconsistent retrievals:

16

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

Chapter 16: Data Warehouse Technology and Management

Available Study Resources on Quizplus for this Chatper

78 Verified Questions

78 Flashcards

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

Sample Questions

Q1) We have added the following capability to Table2: showing the data for 3 age groups (20-39,40-60,over 60)as a third dimension.Showing the data for age groups 20-39 and 40-60 is called:

A) Slice

B) Dice

C) Drill-Down

D) Roll-up

Q2) The dimension StoreDim gets data from how many tables?

A) 1

B) 2

C) 3

D) None of the above

Q3) HOLAP (Hybrid OLAP)involves both relational and multidimensional data storage,and can combine data from both of these sources for data cube operations.

A)True

B)False

Q4) ______________ indicates the extent of empty cells in a data cube.

Q5) Numeric values such as unit sales dollars contained in the cells of a data cube are known as ______________.

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

Chapter 17: Client-Server Processing and Distributed

Databases

Available Study Resources on Quizplus for this Chatper

76 Verified Questions

76 Flashcards

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

Sample Questions

Q1) Scalability refers to the ease of maintaining and adapting a system.

A)True

B)False

Q2) In a client-server database architecture which of the following is not a middleware function?

A) Validation of data

B) Insuring interoperability among clients and servers

C) Scheduling messages arriving to a server

D) Routing messages

Q3) _______________________ can be used to provide a uniform interface between relational and non-relational data using SQL.

Q4) Horizontal fragments can be defined using restriction or outer-join operations.

A)True

B)False

Q5) Fragmentation transparency requires the least effort from the user to write SQL commands for a specific task,but requires the most work for the DBMS.

A)True

B)False

18

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

Chapter 18: Object Database Management Systems

Available Study Resources on Quizplus for this Chatper

83 Verified Questions

83 Flashcards

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

Sample Questions

Q1) Since Oracle 9i differs from SQL:1999 in that system-generated object identifiers are not explicitly named,the REF function must be used in data manipulation statements in Oracle 9i to retrieve the object identifier.

A)True

B)False

Q2) Class reusability and improved organization of software are two of the benefits of inheritance.

A)True

B)False

Q3) An implicit method of a user-defined type used to change the value stored in an attribute is called a(n)______________ method.

Q4) Which of the following applications is supported by a relational DBMS?

A) Identifying the code number of a spare part using a drawing of the spare part

B) Listing the suppliers of a spare part identified by its code number

C) Showing how to dismount an automobile part

D) All of the above

Q5) A(n)_______________ is a combination of data and procedures.

Q6) ___________ binding binds a method name with a method implementation at the time of execution of the message.

Page 19

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

Turn static files into dynamic content formats.

Create a flipbook