Database Management System
Oracle , SQL , Commands , ER - Diagrams
Questions
In which types of files does multimedia database store?
- HTTP
- Hypermedia files
- HTML files
- None of these
Which one of the following steps is not involved in processing a query?
- Distribution
- Parsing and translation
- Optimizing
- Evaluation
When do we use rollback of transaction?
- To repeat the transaction
- To update transaction
- To save all transactions
- To recover from transaction failure
Which of the following is true by means of 5NF?
- Transitive dependency
- Multivalued dependency
- Join dependency
- None of these
Which of the following is true by means of 4NF?
- Join dependency
- Transitive dependency
- Multivalued dependency
- None of these
Which of the following statements is true by the mean of BCNF?
- Not less join but dependency preserving
- Loss less join but not dependency preserving
- Loss less join and dependency preserving
- None of these
Which of the following is not true about the proper state of transaction?
- Aborted
- Commited
- Rollback
- Partially aborted
When can we say a statement is not an embedded SQL?
- If all query processing is performed by the database system
- Use of correct and exact syntax with respect to an SQL language embedded
- Embedded SQL must follow RDBMS rules
- Embedded SQL expression for database modifications always return a value
Which of the following is used to represent the relationship betwen tables?
- Primary Key
- Secondary Key
- Foreign Key
- None of these
At which level of architecture for a database system is the ANSI/SPARC report proposed?
- Level 1
- Level 2
- Level 3
- None of these
Which commands are used to check which users have which privileges over which objects?
- CASCADE and MVD
- GRANT and REVOKE
- COMMIT and ROLLBACK
- None of these
Which key provides the basic tuple-level addressing mechanism in a relational system?
- Primary Key
- Candidate Key
- Super Key
- Foreign Key
In which of the following models the SET concept is used?
- Network model
- Hierarchical model
- Relational model
- None of these
How can we terminate a transaction, if the transaction is initiated by BEGIN TRANSACTION?
- COMMIT TRANSACTION
- ROLL BACK TRANSACTION
- (1) or (2)
- None of these
Which of the following keys should be one or more than one in a table?
- Candidate key
- Super key
- Primary key
- Both (1) and (2)
Which of the following operations is used to construct the complex entries?
- Union
- NESTED IF
- AGGREGATION
- None of these
What do we call a view of a database that appears in an application program?
- Schema
- Database instance
- Sub-schema
- All of the above
Which of the following statements is false?
- The conceptual level is a level of indirection.
- The conceptual view is a view of the total database content.
- All the data are not atomic
- A view is a named table having independent existence of its own
By which integrity rule does the number key attribute of a row may be null?
- Referential integrity rule
- Distinct rows in a table
- Entity integrity rule
- None of these
How can we resolve the problem of data concurrency?
- Redundancy
- Versioning
- Transition
- None of these
What will happen if the union of primary keys of the related entity sets?
- It becomes super key.
- It becomes candidate key.
- It becomes foreign key.
- It becomes primary key
How do we produce the relation that has attributes of X1 and X2?
- Difference
- Projection
- Natural join
- Cartesian product
Who is reponsible for ensuring that the database remains in a consistent state despite system failure?
- Transaction manager
- End user
- Storage manager
- None of these
What provides fast access to an arbitary record of a file in a file organization?
- Unordered file
- Ordered file
- Hash file
- None of these
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?
- Many to many
- Many to one
- One to many
- None of these
Which of the following operations will increase the length of the list?
- Update
- Modify
- Insert
- All of the above