Application Development with Databases Exam Materials - 1294 Verified Questions

Page 1


Application Development with Databases

Exam Materials

Course Introduction

This course explores the fundamental concepts and practical techniques for developing robust applications that interact with databases. It covers the design and implementation of relational databases, including data modeling, normalization, and SQL querying. Students will learn how to connect applications to databases using programming languages and modern frameworks, manage transactions, ensure data integrity, and optimize performance. The course also introduces best practices for security and scalability in database-driven applications, preparing students to build efficient, real-world software solutions that rely on reliable data management.

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) Which one of the following is true of a procedural language interface to a database?

A) It is faster to develop by a ratio of 10 than a nonprocedural interface

B) It is faster to develop by a ratio of 100 than a nonprocedural interface

C) It provides more processing capabilities than a nonprocedural interface

D) It is usually developed with the sole use of a language such as SQL

Answer: C

Q2) Which one of the following languages is not a procedural language?

A) SQL

B) Oracle PL/SQL

C) Microsoft Access VBA

D) Microsoft SQL Server Transact-SQL

Answer: A

Q3) Database administrators:

A) Have technical responsibilities

B) Have non technical responsibilities

C) Participate in database design

D) All of the above

Answer: D

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) Conceptual data modeling is especially process-oriented and requires mostly hard skills of the database designer.

A)True

B)False

Answer: False

Q2) Prototyping tools are useful for creating forms and reports,but their main disadvantage is that they cannot generate code.

A)True

B)False

Answer: False

Q3) The systems analysis phase produces problem statement and feasibility study,which are inputs into the systems design phase.

A)True

B)False

Answer: False

Q4) A set of related components that work together to accomplish some objective is known as a(n)__________________.

Answer: system

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) The primary key of a table is chosen among:

A) All attributes

B) All superkeys

C) All combinations of all attributes

D) All candidate keys

Answer: D

Q2) A relationship in which a foreign key refers to the same table and represents an association among the members of the same set is known as a(n)__________________ relationship.

Answer: self-referencing

Q3) A(n)_________________ set operator retrieves all rows in either input table.

Answer: union

Q4) In the alternative terminology for relational databases,the ______________ -oriented terminology uses the terms file,record and field,and appeals to information systems professionals.

Answer: record

Q5) The _______________ operator produces a table in which the values of a column from one input table are associated with all the values from a column of a second input table.

Answer: divide

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) In the execution of a query,the WHERE clause eliminates rows that do not match the condition(s)before the grouping operation is performed.

A)True B)False

Q2) In a table STUDENT containing 8 columns and 50 rows,the SQL statement "SELECT * FROM STUDENT" would return a result table with ____ columns.

Q3) Case sensitivity in string matching varies depending on which DBMS product you are using.

A)True B)False

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

Q5) A join between two copies of the same table which is useful for determining relationships among rows of the same table is called a(n)__________________.

Q6) The SQL:2003 standard for the wildcard character used for substring matching is

Q7) SQL can be used in two contexts: standalone and embedded. A)True B)False

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

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) In a generalization hierarchy,since each subtype entity is a supertype entity,the relationship between the two is known as ISA.

A)True

B)False

Q2) Author-rank-in-book is:

A) An attribute

B) An entity

C) A relationship

D) A primary key

Q3) If we want to indicate that the authors of a book have conceived it when visiting another author in some country,we would use a relationship that is:

A) M-N

B) 1-1

C) 1-M

D) ternary

Q4) A relationship that involves more than two entity types is called a(n)__________________ relationship.

Q5) In an ERD,a property of an entity type or relationship is known as a(n)___________________.

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

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 converting the ERD diagram to a relational database,"ON DELETE CASCADE" option is set in the following number of tables:

A) 3

B) 4

C) 5

D) 6

Q2) Assuming that we do not use the rule(s)that avoid null values in tables,the table BOOK obtained in converting the ERD diagram to a relational database will contain the following number of attributes:

A) 3

B) 4

C) 5

D) 6

Q3) One common refinement to an initial ERD would be to split compound attributes into smaller attributes.

A)True

B)False

Q4) When performing the identification of primary keys,ideally,primary keys should be _______ and _________.

To view all questions and flashcards with answers, click on the resource link above. Page 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) The following is a nontrivial multivalued dependency in the table STUDENTC:

A) Name -> ->Major | Minor

B) Name -> Major

C) Name -> Minor

D) None of the above

Q2) If an analysis of relationship independence reveals that redundancies exist,the way to alleviate this situation is to replace the entity with two binary relationships which will each be converted to a table.

A)True

B)False

Q3) By definition,any table that is in BCNF must be in _____________.

Q4) The table STUDENTC satisfies the following normal form (choose the highest NF):

A) 1NF

B) 2NF

C) 3NF

D) 4NF

Q5) When part of a key determines a non-key,this is a violation of BCNF.

A)True

B)False

Q6) A table is said to be in ___________ if every determinant is a candidate key.

Page 9

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

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 not an output of physical design?

A) Choice of index files

B) Choice of candidate keys

C) Placing rows from two tables in the same physical record

D) Lowering the normal form level of two tables by combining them

Q2) Which of the following is not true about the difficulty of index selection?

A) The number of choices of indexes is linear in the number of columns

B) The query optimizer may have subtle reasons not to use an index

C) Values of parameters used in SQL statements of forms often vary from highly selective to not very selective

D) Index choices can be interrelated in a subtle way

Q3) In a ____________ index,the order of the data records is close to the index order.

Q4) To retrieve logical record 2312,how many physical records will need to be accessed?

A) 1

B) 2

C) 3

D) 4

Q5) ______________ is a collection of disks that operates as a single disk.

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) If a problem narrative specifies a requirement to list the values of one column that match any of the values in another column,this problem would require the use of a(n)_________________ operation.

Q2) The following two functions will always produce the same value when performed in a SQL statement:

SUM(Column1)+ SUM(Column2)

SUM(Column1 + Column2)

A)True

B)False

Q3) (ORACLE)SELECT CNAME,DATE_OUT,RTN FROM CUSTOMER,RENTALS

WHERE CUSTOMER.CID = RENTALS.CID AND BIRTHPLACE IN ('ERIE','CARY')AND EXISTS

(SELECT * FROM RENTCOST WHERE COST < 40 AND RENTALS.MAKE= RENTCOST.MAKE)

The CNAMEs shown by the execution of this query are:

A) SIMON

B) GREEN, BLACK, SIMON

C) GREEN

D) GREEN, SIMON

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) A(n)__________________ is a document designed to support a business task,such as processing an order.

Q2) In a 1-M updatable query,you cannot insert a row into the parent table without also inserting a corresponding row into the child table.

A)True

B)False

Q3) To process queries that reference a view,____________________ is not usually the best strategy because it requires the DBMS to execute two queries.

Q4) In a data warehouse environment,views are materialized on demand,i.e.when the view query is submitted.

A)True

B)False

Q5) In Access,a(n)_____________________ query involves two tables,with one table playing the role of parent and another table playing the role of child.

Q6) A formatted window for data entry and display which is comprised of a fixed part and a variable part is called a(n)___________________.

Q7) A hierarchical report is also known as a(n)_________________.

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) To catch a specific error in a stored procedure,you should use a predefined exception or create a user-defined exception.

A)True

B)False

Q2) Inside a package implementation,each procedure or function must be terminated by a(n)_____________ statement containing the procedure or function name.

Q3) Open Database Connectivity (ODBC)and Java Database Connectivity (JDBC)are the most widely used _____________ level interfaces.

Q4) A package ________________ contains the definitions of procedures and functions along with other objects that can be specified in the DECLARE section of a PL/SQL block.

Q5) A Call-Level Interfaceis a language style for integrating a programming language with a nonprocedural language such as SQL.A statement-level interface involves changes to the syntax of a host programming language to accommodate embedded SQL statements.

A)True B)False

Q6) In a PL/SQL IF statement,the keywords AND,OR and NOT are ____________ operators.

Page 13

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) During form analysis,to resolve questions about the cardinality between derived entity types you should examine additional form instances and

Q2) Form analysis is a linear process and the steps involved are best performed sequentially,without any backtracking.

A)True

B)False

Q3) In the fifth step of form analysis,the ERD is checked against the form structure for ______________ and _______________.

Q4) In a parent node,how is the node key value unique? ______________________

Q5) When adding relationships in the fourth step of form analysis,where should the entity type containing the primary key of the form be placed in the ERD? ______________

Q6) The incremental approach to view integration has more steps than the parallel approach,but the steps are smaller.

A)True

B)False

Q7) Given two forms A and B,if form A must be completed before form B,this is known as a(n)___________________.

Page 14

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

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) ___________________ is a database security approach in which a user can access a database element if their clearance level provides access to the classification level of that element.

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

Q3) The following level of management deals with summarized,integrated operational databases:

A) Strategic

B) Tactical

C) Operational

D) None of the above

Q4) With discretionary access control,users may be individually given access rights to specific data,or these access privileges may be granted to groups of users.

A)True

B)False

Q5) Development of an enterprise data model is one of the most important responsibilities of the data administrator.

A)True

B)False

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

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) The Atomic property of a transaction means that the entire transaction must be completed or the database is restored to the state it was in before the transaction started.

A)True

B)False

Q2) One of the advantages of concurrency transparency is that relative to the results produced,a transaction takes place as if the transaction was executing alone.

A)True

B)False

Q3) Consider a transaction that updates each of the 100 employees' salaries in a table (there is one row per employee)under the deferred update mode and completes after a checkpoint.The system crashes after the checkpoint.What should the recovery procedure perform to make sure the transaction completes as desired?

A) Redo from first log record

B) Redo from first log record followed by execution of the transaction again

C) Undo

D) Undo followed by execution of the transaction again

Q4) Name three types of inconsistent retrievals:

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

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) In data warehouse maintenance,the workflow phases of preparation,integration and update are performed in the initial data load,and also in the subsequent periodic refreshments of the data warehouse.

A)True

B)False

Q2) A multidimensional data model used in relational databases that has multiple levels of dimension tables related to one or more fact tables is known as a(n)_____________________ schema.

Q3) To have the data for Australia in Table1,you would:

A) Add 4 new rows to Table1

B) Add 1 new row to Table1

C) Add 1 new column to Table1

D) Add 1 new row and one new column to Table1

Q4) One of the decision support operations that can be performed on a data cube is the _______________ operation,which allows users to navigate from a more general level of a hierarchical dimension to a more specific level.

Q5) A(n)___________________ is a multidimensional format sometimes known as a hypercube,because conceptually it could have an infinite number of dimensions.

Page 17

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

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) In distributed transaction processing,transactions do not necessarily have to conform to all of the ACID properties that non-distributed transactions do.

A)True

B)False

Q2) Which of the following is true of a fragment in a distributed DBMS?

A) It may contain specific rows of a table

B) It may contain specific columns of a given table

C) It may be replicated at several sites

D) All of the above

Q3) Which of the following statement is not true of loosely integrated DBMS?

A) All local DBMS must be relational

B) Some local DBMS may be hierarchical

C) A local mapping schema provides information to use local data in the distributed database

D) A local mapping schema may provide information to use data of a non-standard data type

Q4) In a loosely integrated distributed DBMS environment,a(n)___________________ describes the exportable data at the site and provides conversion rules to translate data from a local format into a global format.

Page 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) In client-server processing:

A) A client may be viewed as an object

B) Objects may be distributed on different computers

C) The DBMS ensures proper binding of a method

D) All of the above

Q2) If there are two employees with last names respectively Smith and Martin,which of the following statements is not true?

A) Two objects of the class Employee may be created to represent these two employees

B) Only one object of the class Employee may exist at a given time

C) To get the last name of an employee, the method GetLastName will be sent to the object representing that employee

D) To get the job of an employee, the method GetJob will be sent to the object representing that employee

Q3) An implicit method of a user-defined type used to create an empty instance of that type is called a(n)_________________ method.

Q4) In SQL:1999,a(n)_______________ is an alternative table definition that references a user-defined type instead of listing column names and associated data types.

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

Page 19

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.