Quiznetik

Advanced Database Management Systems (ADBMS) | Set 2

1. Which of the following is the operation that is used if we are interested in only certain attributes or columns of a table?

Correct : B. PROJECT

2. Which of the following is not a procedural language?

Correct : C. Relational calculus

3. Who developed QBE?

Correct : C. M.M. Zloof

4. What is the expansion of QBE?

Correct : A. Query by Example

5. Who developed Structured English Query Language?

Correct : B. D. Chamberlain

6. Which of the following is the first commercial RDBMS?

Correct : D. None of the above

7. Which of the following is IBM’s first RDBMS?

Correct : C. SQL/DS

8. The ____ is used as a temporary storage area for ORDER BY or GROUP BY operations, as well as for index-creation functions.

Correct : A. sort cache

9. The DBMS processes queries in three phases; the first is ____.

Correct : A. parsing

10. Generally, what will provide the best database client performance in terms of CPU speed?

Correct : D. the fastest processor

11. Working with data in the data cache is many times faster than working with data in the data files because ____.

Correct : B. the DBMS doesn't have to wait for the hard disk to retrieve the data

12. When creating a database, in order to optimize performance, put high-usage tables in their own ____.

Correct : D. table spaces

13. Database statistics are stored in the system catalog in specially designated ____.

Correct : D. Tables

14. To optimize queries, use simple columns or literals as operands in a conditional expression and avoid the use of conditional expressions with ____ whenever possible.

Correct : B. functions

15. The architecture of a DBMS is represented by the ____ and structures used to manage a database.

Correct : C. processes

16. The ____ is a shared, reserved memory area that stores the most recently accessed data blocks in RAM.

Correct : C. data cache

17. Index ____ is a measure of how likely an index will be used in query processing.

Correct : D. selectivity

18. A(n) ____ is a logical grouping of several data files that store data with similar characteristics.

Correct : A. table space

19. The majority of current database performance problems are related to ____.

Correct : B. poorly written SQL code

20. Which type of entity represents a logical generalization whose actual occurrence is represented by a second, associated entity?

Correct : C. Archetype entity

21. Which of the following is the preferred way to recover a database after a transaction in progress terminates abnormally?

Correct : A. Rollback

22. Concurrency control is important for which of the following reasons?

Correct : A. To ensure data integrity when updates occur to the database in a multiuser environment

23. The transaction log includes which of the following?

Correct : D. The essential data of the record

24. Which of the following is not true of SQL views?

Correct : A. Oracle views cannot use the ORDER BY clause in view definitions.

25. Which of the following is NOT an Oracle-supported trigger?

Correct : B. DURING

26. What is the type of Oracle backup in which all uncommitted changes have been removed from the datafiles?

Correct : B. Consistent backup

27. Which of the following is true concerning a procedure?

Correct : C. They include procedural and SQL statements.

28. A CASE SQL statement is which of the following?

Correct : A. A way to establish an IF-THEN-ELSE in SQL.

29. Which of the following statements is true concerning routines and triggers?

Correct : A. Both consist of procedural code.

30. A distributed database has which of the following advantages over a centralized database?

Correct : D. Modular growth

31. An autonomous homogenous environment is which of the following?

Correct : A. The same DBMS is at each node and each DBMS works independently.

32. A transaction manager is which of the following?

Correct : D. All of the above

33. Location transparency allows for which of the following?

Correct : D. All of the above.

34. A heterogeneous distributed database is which of the following?

Correct : D. A different DBMS is used at each location and data are distributed across all nodes.

35. Some of the columns of a relation are at different sites is which of the following?

Correct : C. Vertical Partitioning

36. Which of the following is true concerning a global transaction?

Correct : B. The required data are located in at least one nonlocal site and the distributed DBMS routes requests as necessary.

37. A homogenous distributed database is which of the following?

Correct : B. The same DBMS is used at each location and data are distributed across all nodes.

38. Replication should be used when which of the following exist?

Correct : C. The application's data can be somewhat out-of-date.

39. Storing a separate copy of the database at multiple locations is which of the following?

Correct : A. Data Replication

40. A distributed database is which of the following?

Correct : A. A single logical database that is spread to multiple locations and is interconnected by a network

41. A semijoin is which of the following?

Correct : C. Only the joining attributes are sent from one site to another and then only the required rows are return

42. Which of the following is a disadvantage of replication?

Correct : C. Each site must have the same storage capacity.

43. A distributed database can use which of the following strategies?

Correct : D. All of the above

44. Which of the following is not one of the stages in the evolution of distributed DBMS?

Correct : A. Unit of work

45. A distributed database has which of the following advantages over a centralized database?

Correct : D. Modular growth

46. Which of the following is true concerning a global transaction?

Correct : B. The required data are located in at least one nonlocal site and the distributed DBMS routes requests as necessary.

47. A transaction manager is which of the following?

Correct : D. All of the above.

48. Using the SQL GROUP BY phrase with a SELECT statement can help detect which of the following problems?

Correct : B. The inconsistent values problem

49. What SQL command will allow you to change the table STUDENT to add the constraint named GradeCheck that states that the values of the Grade column must be greater than 0?

Correct : C. ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade> 0);

50. The NOT EXISTS keyword will be true if:

Correct : B. all rows in the subquery fail the condition.

51. Changing cardinalities in a database is:

Correct : A. a common database design task.

52. Which one of the following sorts rows in SQL?

Correct : C. ORDER BY

53. The SQL keyword(s) ________ is used with wildcards.

Correct : A. LIKE only

54. If a relationship has a cascade updates constraint, then if ________ in the parent table is changed, then the same change will automatically be made to any corresponding foreign key value.

Correct : A. the primary key

55. For every relationship, how many possible types of actions are there when enforcing minimum cardinalities?

Correct : D. Six

56. In creating a procedure, you may get a message if you have compile errors. Which of the following is true?

Correct : C. To see the errors, enter SHOW ERRORS in SQL*Plus.

57. Which of the following is not true about indexes?

Correct : D. Indexes are created with the ALTER TABLE command.