DBMS
Covers database management system concepts including data abstraction, ER diagrams, database architecture, and SQL command types (DDL, DML, TCL, DCL)
Questions
In which level of data abstraction is data stored?
- View level
- Physical level
- Logical level
- Virtual level
- None of these
Which sign is used to represent entity set in ER-diagram?
- Rectangle
- Ellipse
- Diamond
- Line
- Double ellipse
The process of designating sub grouping within an entity set is called
- generalization
- aggregation
- attribute inheritance
- specialization
- none of these
Which of the following is represented by double lines in ER-diagram?
- Multi-valued attribute
- Relationship status
- Derived attribute
- Total participation of an entity set
- None of these
Which sign is used to represent derived attribute?
- Line
- Ellipse
- Double ellipse
- Dashed ellipse
- None of these
What is the function of view level in DBMS?
- Simplifies how data is stored
- Simplifies what data is stored in the database
- Collects the information stored in the database at a particular moment
- Simplifies database interaction with the system
- None of these
What is described by the sub-schema?
- Database design at logical level
- Different views of the database
- Database design at physical level
- Complex low-level data structure
- None of these
The interface between low-level data stored in the data base and the application program is provided by
- storage manager
- query processor
- data model
- only 2 and 3
- none of these
What is represented by double rectangles?
- Weak entity sets
- Total participation of an entity in a relationship set
- Relationship set
- Link attribute to entity set and entity set to the relationship set
- None of these
Which of the following is used to write database schema?
- XML
- HTML
- DDL
- DML
- None of these
Find the odd one out.
- Selection
- Rename
- Projection
- Union
- None of these
DDL and DML statements are compiled and executed by
- query processor
- storage manager
- data model
- only 1 and 3
- none of these
Which of the following is a DML command?
- CREATE
- COMMIT
- ALTER
- SELECT
- None of these
What is/are instance(s) of database?
- The relationship among data
- The collection of conceptual tools for describing data
- The collection of information stored at a particular moment
- Only 1 and 3
- None of these
Which type(s) of attribute(s) is/are phone number?
- Composite attribute
- Single-valued attribute
- Multi-valued attribute
- Derived attribute
- Only 2 and 4
Which type of command is DROP?
- Data Definition Language (DDL) command
- Transaction Control Language (TCL) command
- Data Query Language (DQL) command
- Data Manupulation Language (DML) command
- None of these
What is the function of the SAVEPOINT command?
- To save information in a database after updation
- To identify a point in a transaction to which you can later roll back
- To save a table
- To save after RENAME a table
- None of these
Which of the following is/are example(s) of Transaction Control Language (TCL) command?
- TRANCATE
- COMMIT
- ROLLBACK
- GRANT
- Only 2 and 3
What function(s) is/are done by the Transaction Control Language (TCL) command?
- Used for managing data within schema objects
- Used to manage the changes made by DML statements and allows statements to be grouped together into logical transactions.
- Statements are used to define the database structure or schema.
- Only 1 and 2
- None of these
Which type of command is GRANT?
- Transaction Control Language (TCL) command
- Data Query Language (DQL) command
- Data Control language (DCL) command
- Data Definition Language (DDL) command
- None of these