Database Management System

Oracle , SQL , Commands , ER - Diagrams

26 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

In which types of files does multimedia database store?

  1. HTTP
  2. Hypermedia files
  3. HTML files
  4. None of these
Question 2 Multiple Choice (Single Answer)

Which one of the following steps is not involved in processing a query?

  1. Distribution
  2. Parsing and translation
  3. Optimizing
  4. Evaluation
Question 3 Multiple Choice (Single Answer)

When do we use rollback of transaction?

  1. To repeat the transaction
  2. To update transaction
  3. To save all transactions
  4. To recover from transaction failure
Question 4 Multiple Choice (Single Answer)

Which of the following is true by means of 5NF?

  1. Transitive dependency
  2. Multivalued dependency
  3. Join dependency
  4. None of these
Question 5 Multiple Choice (Single Answer)

Which of the following is true by means of 4NF?

  1. Join dependency
  2. Transitive dependency
  3. Multivalued dependency
  4. None of these
Question 6 Multiple Choice (Single Answer)

Which of the following statements is true by the mean of BCNF?

  1. Not less join but dependency preserving
  2. Loss less join but not dependency preserving
  3. Loss less join and dependency preserving
  4. None of these
Question 7 Multiple Choice (Single Answer)

Which of the following is not true about the proper state of transaction?

  1. Aborted
  2. Commited
  3. Rollback
  4. Partially aborted
Question 8 Multiple Choice (Single Answer)

When can we say a statement is not an embedded SQL?

  1. If all query processing is performed by the database system
  2. Use of correct and exact syntax with respect to an SQL language embedded
  3. Embedded SQL must follow RDBMS rules
  4. Embedded SQL expression for database modifications always return a value
Question 9 Multiple Choice (Single Answer)

Which of the following is used to represent the relationship betwen tables?

  1. Primary Key
  2. Secondary Key
  3. Foreign Key
  4. None of these
Question 10 Multiple Choice (Single Answer)

At which level of architecture for a database system is the ANSI/SPARC report proposed?

  1. Level 1
  2. Level 2
  3. Level 3
  4. None of these
Question 11 Multiple Choice (Single Answer)

Which commands are used to check which users have which privileges over which objects?

  1. CASCADE and MVD
  2. GRANT and REVOKE
  3. COMMIT and ROLLBACK
  4. None of these
Question 12 Multiple Choice (Single Answer)

Which key provides the basic tuple-level addressing mechanism in a relational system?

  1. Primary Key
  2. Candidate Key
  3. Super Key
  4. Foreign Key
Question 13 Multiple Choice (Single Answer)

In which of the following models the SET concept is used?

  1. Network model
  2. Hierarchical model
  3. Relational model
  4. None of these
Question 14 Multiple Choice (Single Answer)

How can we terminate a transaction, if the transaction is initiated by BEGIN TRANSACTION?

  1. COMMIT TRANSACTION
  2. ROLL BACK TRANSACTION
  3. (1) or (2)
  4. None of these
Question 15 Multiple Choice (Single Answer)

Which of the following keys should be one or more than one in a table?

  1. Candidate key
  2. Super key
  3. Primary key
  4. Both (1) and (2)
Question 16 Multiple Choice (Single Answer)

Which of the following operations is used to construct the complex entries?

  1. Union
  2. NESTED IF
  3. AGGREGATION
  4. None of these
Question 17 Multiple Choice (Single Answer)

What do we call a view of a database that appears in an application program?

  1. Schema
  2. Database instance
  3. Sub-schema
  4. All of the above
Question 18 Multiple Choice (Single Answer)

Which of the following statements is false?

  1. The conceptual level is a level of indirection.
  2. The conceptual view is a view of the total database content.
  3. All the data are not atomic
  4. A view is a named table having independent existence of its own
Question 19 Multiple Choice (Single Answer)

By which integrity rule does the number key attribute of a row may be null?

  1. Referential integrity rule
  2. Distinct rows in a table
  3. Entity integrity rule
  4. None of these
Question 20 Multiple Choice (Single Answer)

How can we resolve the problem of data concurrency?

  1. Redundancy
  2. Versioning
  3. Transition
  4. None of these
Question 21 Multiple Choice (Single Answer)

What will happen if the union of primary keys of the related entity sets?

  1. It becomes super key.
  2. It becomes candidate key.
  3. It becomes foreign key.
  4. It becomes primary key
Question 22 Multiple Choice (Single Answer)

How do we produce the relation that has attributes of X1 and X2?

  1. Difference
  2. Projection
  3. Natural join
  4. Cartesian product
Question 23 Multiple Choice (Single Answer)

Who is reponsible for ensuring that the database remains in a consistent state despite system failure?

  1. Transaction manager
  2. End user
  3. Storage manager
  4. None of these
Question 24 Multiple Choice (Single Answer)

What provides fast access to an arbitary record of a file in a file organization?

  1. Unordered file
  2. Ordered file
  3. Hash file
  4. None of these
Question 25 Multiple Choice (Single Answer)

Suppose X entity is associated with any number of entities in Y, however, entity Y is associated with almost 1 entity in X. What is the relation between X and Y?

  1. Many to many
  2. Many to one
  3. One to many
  4. None of these
Question 26 Multiple Choice (Single Answer)

Which of the following operations will increase the length of the list?

  1. Update
  2. Modify
  3. Insert
  4. All of the above