Relational Database Systems Solved Exam Questions - 600 Verified Questions

Page 1


Relational Database Systems Solved

Exam Questions

Course Introduction

Relational Database Systems explores the fundamental principles and concepts of organizing, storing, and retrieving data using relational models. The course covers key topics such as relational algebra, data normalization, SQL querying, database design, transaction management, and indexing techniques. Students will gain hands-on experience with relational database management systems (RDBMS), learning to model data structures, implement complex queries, enforce integrity constraints, and optimize database performance, preparing them for practical challenges in data-driven applications.

Recommended Textbook

A Guide to SQL 8th Edition by Philip J. Pratt

Available Study Resources on Quizplus

8 Chapters

600 Verified Questions

600 Flashcards

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

Page 2

Chapter 1: Introduction to Premiere Products, Henry Books, and Alexamara Marina Group

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

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

Sample Questions

Q1) The owner number appears in the OWNER table and the ____________________ table in the Alexamara Marina Group database.

Answer: MARINA_SLIP

Q2) The order number appears in the ORDERS table and the ____________________ table in the Premiere Products database.

Answer: ORDER_LINE

Q3) The ____ field of the WROTE table of Henry Books indicates the order in which the authors of a particular book are listed on the cover.

A) ORDER

B) SEQUENCE

C) ORDERS

D) NUMBER

Answer: B

Q4) In the Henry Books database, the table named BOOK contains information about whether or not a book is available at a particular branch.

A)True

B)False

Answer: False

Page 3

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

Chapter 2: Database Design Fundamentals

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

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

Sample Questions

Q1) A determinant is any column (or collection of columns) that determines another table.

A)True

B)False

Answer: False

Q2) A programmer interviews users, examines existing and proposed documents, and examines organizational policies to determine exactly the type of data needs the database must support.

A)True

B)False

Answer: False

Q3) A table is in third normal form if it is in second normal form and no nonkey column is dependent on only a portion of the primary key.

A)True

B)False

Answer: False

Q4) An unnormalized relation is a relation that may contain repeating groups.

A)True

B)False

Answer: True

Page 4

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

Chapter 3: Creating Tables

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

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

Sample Questions

Q1) When adding rows to character columns, make sure you enclose the values in single quotation marks.

A)True

B)False

Answer: True

Q2) SQL was developed in the mid-____.

A) 1960s

B) 1970s

C) 1980s

D) 1990s

Answer: B

Q3) To view the data in a table, you use the ____________________ command.

Answer: SELECT

Q4) Table names cannot contain spaces.

A)True

B)False

Answer: True

Q5) In Oracle 10 G Express, you enter a command in the SQL editor pane and then click the ____________________ button to execute the command.

Answer: Run

Page 5

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

Chapter 4: Single-Table Queries

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

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

Sample Questions

Q1) You use the ____________________ clause to retrieve rows that satisfy some condition.

Q2) In a nested query, the outer query is evaluated first.

A)True

B)False

Q3) You can use the ____ operator followed by a collection of values to provide a concise way of phrasing certain conditions.

A) LIKE

B) CONTAIN

C) VALUES

D) IN

Q4) A simple condition has the form: column name, comparison operator, and then either another column name or a value.

A)True

B)False

Q5) Oracle supports only the <> version of the "not equal to" comparison operator.

A)True

B)False

Q6) The column on which data is to be sorted is called a sort

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

Chapter 5: Multiple-Table Queries

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

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

Sample Questions

Q1) It is permissable to qualify all column names in a query.

A)True

B)False

Q2) When using a DBMS without an optimizer, the formulation of a query can make a difference in the speed with which the query is executed..

A)True

B)False

Q3) The ____________________ of two tables is the set of all rows that are in the first table but that are not in the second table.

Q4) Joining a table to itself is called a(n) ____________________.

Q5) The subquery that involves a table listed in the outer query is called a(n) ____________________ subquery.

Q6) You can perform special operations, such an self-joins, within SQL.

A)True

B)False

Q7) If the SQL implementation truly supports the union operation, it will remove any duplicate ____________________ automatically.

Q8) What steps should you take to construct the SQL command to join (relate) tables?

Page 7

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

Chapter 6: Updating Data

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

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

Sample Questions

Q1) It is a good idea to use a SELECT command to display the data you changed to verify that the correct update was made.

A)True

B)False

Q2) To permanently remove both a table and its data, you must issue both a DROP TABLE command and a DELETE command.

A)True B)False

Q3) Which of the following is a valid SQL command?

A) COMMIT TABLE;

B) COMMIT CHANGES;

C) COMMIT DB;

D) COMMIT;

Q4) To sort rows in a specific order, use the ____________________ clause with the desired sort key(s).

Q5) In a transaction, if you can complete all updates successfully, execute the ____________________ command after completing the final update.

Q6) With SQL, you can change a table's structure by using the ____________________ command.

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

Chapter 7: Database Administration

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

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

Sample Questions

Q1) ____________________ is the prevention of unauthorized access to a database.

Q2) The privilege ____ can be granted to retrieve data.

A) SELECT

B) UPDATE

C) RETRIEVE

D) READ

Q3) To create a view definition, use the ____________________ command.

Q4) The clause WITH GRANT OPTION is meaningful as part of a REVOKE command.

A)True

B)False

Q5) The command used to delete an index is ____________________.

Q6) Explain what happens when you create a query that involves a view.

Q7) The system catalog is also called the ____.

A) system database

B) data dictionary

C) master data table

D) transaction database

Q8) A view is a derived table.

A)True

B)False Page 9

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

Page 10

Chapter 8: SQL Functions and Procedures

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

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

Sample Questions

Q1) In T-SQL, all arguments start with the ampersand (&) symbol.

A)True

B)False

Q2) To create a stored procedure in Oracle, use the ____________________ command.

Q3) Variable names in PL/SQL must start with a letter and can contain letters, dollar signs, underscores, and number signs, but cannot exceed ____ characters.

A) 15

B) 30

C) 45

D) 60

Q4) Oracle uses ____________________ as an extension of SQL to accomplish procedural tasks.

Q5) To handle processing of errors, include an ABORT clause in a stored procedure.

A)True

B)False

Q6) In SQL Server, the INSERTED table is a temporary system table that contains a copy of the values that the last SQL command inserted.

A)True

B)False

Page 11

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.