Database Management System
SQL , RDBMS concepts , Oracle queries
Questions
Which of the following is not a view level of database?
- Conceptual view
- Internal view
- External view
- None of the above
Which of the following is/are the properties of master list of an indexed file?
- It has a number assigned to each record.
- It contains only a list of keys and record numbers
- It is sorted in ascending order.
- Both (2) and (3)
Which of the following schemas has been established from top to bottom relationship among items in a database?
- Hierarchy schema
- Network schema
- Relational schema
- All of the above
How is recovery of the transaction done if deadlock occurs?
- By rollback of transaction
- By locking up the data
- Projection
- None of the above
The syntax of the query can be verified by
- rollback
- database administrator
- parser
- none of the above
Referential integrity constraint in relational database is specified with the help of
- primary key
- secondary key
- foreign key
- none of the above
Which syntax is used for duplicate removal?
- Select * from table
- Select distinct from table
- Select column 1and column 2 from table
- Select column 1 from table
A collection of information stored in a database at a particular moment is called
- index
- instance
- view
- none of the above
Which file contains information about transaction before it is committed?
- BLOB
- Updated.log
- LogFileMaxRolls
- None of the above
Which of the following parts has concurrency control?
- Command processing
- Projection
- Subschema
- None of the above
The QUEL query language belongs to
- Oracle
- Ingress
- Mysql
- None of the above
What do we call a directed graph which represents the deadlock?
- Deadlock graph
- Cyclic graph
- Wait for graph
- None of the above
What does multilevel indexing use?
- It uses a binary search tree.
- It uses binary search.
- Both (1) and (2)
- None of the above
Why do we use hashing function in a hierarchial database?
- To locate collisions
- To locate root
- To locate duplicate records
- To locate primary key
Which term do we use if DBMS comes between the users and database?
- Refree
- Barrier
- Gateway
- Interface
Duplicate data is also referred to as ________ .
- storage data
- control data
- redundant data
- accurate data
What are the preventive measures to be taken if we have begun an update operation to avoid dead lock?
- Lock the database
- Change the password
- Lock all the rows or tables
- Lock one row
Which of the following is not a database object?
- Index
- Cursor
- Sequence
- Trigger
Which of the following does not ignore NULLS values in its result?
- COUNT
- COUNT(*)
- MIN
- MAX
How can we process a data query statement in QUEL?
- By select statement
- By get statement
- By retrieve statement
- None of the above
What are the additional features included in EER modelling?
- Generalization
- Specialization
- Categorization
- All of the above
How can we evaluate the query execution strategy?
- By using cursors
- By using query tree
- By using singleton select
- None of the above
ER diagram was discovered by
- Mark Zuckerberg
- Dries Buytaert
- Prof. Peter Chen
- Lawrence Ellison and Bruce Scott
Which expression is used to fetch all column's data in a table?
- %
- +
- ?
- *
How can we create ROW level TRIGGER from following clauses used in creating trigger?
- For level
- For row level
- For each row
- None of the above