Home »
MCQs »
DBMS MCQs
DBMS Language Multiple-Choice Questions (MCQs)
DBMS Language MCQs: This section contains DBMS Language Multiple-Choice Questions (MCQs) and Answers.
Submitted by Anushree Goswami, on January 17, 2022
1. The DBMS provides interfaces and __________ for querying and updating the database.
- Languages
- Inferences
- Texts
- Lines
Answer: A) Languages
Explanation:
The DBMS provides interfaces and languages for querying and updating the database.
Discuss this Question
2. Database languages can be used to ___________________ the data in the database.
- Read
- Store
- Update
- All of the above
Answer: D) All of the above
Explanation:
Database languages can be used to read, store and update the data in the database.
Discuss this Question
3. How many types of DBMS languages are there?
- 1
- 2
- 3
- 4
Answer: d) 4
Explanation:
There are 4 types of DBMS languages.
Discuss this Question
4. Which of the following is not the type of DBMS language?
- DDL
- DCL
- TCL
- None of the above
Answer: D) None of the above
Explanation:
The types of DBMS languages are -
- DDL
- DCL
- DML
- TCL
Discuss this Question
5. What is the full form of DDL?
- Data Distinct Language
- Data Different Language
- Data Dominant Language
- Data Definition Language
Answer: D) Data Definition Language
Explanation:
The full form of DDL is Data Definition Language.
Discuss this Question
6. What is TRUE about DDL?
- Database structure or patterns are defined by it.
- A schema, table, index, constraint, etc. are created in a database using it.
- A database skeleton can be created with DDL statements.
- All of the above
Answer: D) All of the above
Explanation:
In case of DDL -
- Database structure or patterns are defined by it.
- A schema, table, index, constraint, etc. are created in a database using it.
- A database skeleton can be created with DDL statements.
Discuss this Question
7. In the ____, metadata are stored, such as how many rows and columns per table, their names, indexes, constraints, etc.
- DDL
- DML
- DCL
- TCL
Answer: A) DDL
Explanation:
In the Data Definition Language, metadata are stored, such as how many rows and columns per table, their names, indexes, constraints, etc.
Discuss this Question
8. Which of the following comes under DDL?
- Create
- Alter
- Drop
- All of the above
Answer: D) All of the above
Explanation:
The following tasks comes under DDL -
- Create
- Alter
- Drop
- Truncate
- Rename
- Comment
Discuss this Question
9. What is Create used for in DDL?
- Data dictionary comments are made with this tool.
- All records in a table can be removed using this function.
- A database object is created with this function.
- The database structure can be altered with it.
Answer: C) A database object is created with this function
Explanation:
A database object is created with a create function in DDL.
Discuss this Question
10. What is Comment used for in DDL?
- Data dictionary comments are made with this tool.
- All records in a table can be removed using this function.
- A database object is created with this function.
- The database structure can be altered with it.
Answer: A) Data dictionary comments are made with this tool
Explanation:
Data dictionary comments are made with the Comment tool in DDL.
Discuss this Question
11. The create, alter, comment, etc., tasks are under Data definition language since they are used to update the ____.
- Database Instance
- Database Schema
- Database Instant
- Database Scheme
Answer: B) Database Schema
Explanation:
Therefore, they are under Data definition language since they are used to update the database schema.
Discuss this Question
12. What is the full form of DML?
- Data Mandatory Language
- Data Multiplication Language
- Data Manipulation Language
- Data Manifestation Language
Answer: C) Data Manipulation Language
Explanation:
The full form of DML is Data Manipulation Language.
Discuss this Question
13. Which of the following tasks comes under DML.
- Create
- Truncate
- Merge
- Rename
Answer: C) Merge
Explanation:
The Merge task comes under DML.
Discuss this Question
14. A database is _____ with Data Manipulation Language.
- Accessed and Multiplied
- Added and Manipulated
- Access and Manipulated
- Added and Multiplied
Answer: C) Access and Manipulated
Explanation:
A database is accessed and manipulated with Data Manipulation Language.
Discuss this Question
15. In DML, the lock table controls the _____.
- Concurrency
- Comments
- Creation
- Computation
Answer: A) Concurrency
Explanation:
In DML, the lock table controls the Concurrency.
Discuss this Question
16. What does the UPSERT operation refer to?
- Upstart and Insert
- Update and Insert
- Uphold and Insert
- Uprise and Insert
Answer: B) Update and Insert
Explanation:
The UPSERT operation refers to Update and Insert.
Discuss this Question
17. What does the call function in DML used to do?
- To call the structured query language
- To call the Java subprogram
- Both A and B
- None of the above
Answer: C) Both A and B
Explanation:
The call function in DML used to -
- To call the structured query language
- To call the Java subprogram
Discuss this Question
18. What is the full form of DCL?
- Data Concurrency Language
- Data Control Language
- Data Creation Language
- Data Cumulative Language
Answer: B) Data Control Language
Explanation:
The full form of DCL is Data Control Language.
Discuss this Question
19. DCL execution is -
- Transitional
- Transitive
- Transactional
- Transcripted
Answer: C) Transactional
Explanation:
DCL execution is transactional.
Discuss this Question
20. Which of the following tasks comes under the DCL?
- Grant
- Revoke
- Both A and B
- None of the above
Answer: C) Both A and B
Explanation:
The grand and revoke tasks come under the DCL.
Discuss this Question
21. Which of the following operations are there in Revoke?
- Connect
- Insert
- Usage
- All of the above
Answer: D) All of the above
Explanation:
The following operations comes under Revoke -
- Connect
- Insert
- Usage
- Execute
- Delete
- Update
- Select
Discuss this Question
22. What is the full form of TCL?
- Transitional Control Language
- Transactional Control Language
- Transitional Concurrent Language
- Transactional Concurrent Language
Answer: B) Transactional Control Language
Explanation:
The full form of TCL is transactional control language.
Discuss this Question
23. Using TCL, the ___ statement's changes are executed.
- DDL
- DML
- DCL
- All of the above
Answer: B) DML
Explanation:
Using TCL, the DML statement's changes are executed.
Discuss this Question
24. There are _______ transactions within TCL.
- Analytical
- Logical
- Physical
- Practical
Answer: B) Logical
Explanation:
There are logical transactions within TCL.
Discuss this Question
25. Which of the following tasks comes under TCL?
- Commit
- Rollback
- Both A and B
- None of the above
Answer: C) Both A and B
Explanation:
The following tasks comes under TCL -
- Commit
- Rollback
Discuss this Question
26. What is Commit used for in TCL?
- Transcriptions are stored in the database using this method.
- Transitions are stored in the database using this method.
- Transactions are stored in the database using this method.
- None of the above
Answer: C) Transactions are stored in the database using this method
Explanation:
Transactions are stored in the database using this method.
Discuss this Question
27. What is rollback used for in TCL?
- In the event the database isn't restored back to its original state since the last commit, this method is used.
- In the event the database is restored back to its original state since the last commit, this method is used.
- In the event the database isn't restored back to its original state since the last command, this method is used.
- In the event the database isn't restored back to its original state since the last creation, this method is used.
Answer: A) In the event the database isn't restored back to its original state since the last commit, this method is used
Explanation:
In the event the database isn't restored back to its original state since the last commit, this method is used.
Discuss this Question
28. Which of the following statements is TRUE about DCL?
- The Oracle database, however, permits rolling back in the execution of data control language.
- The Oracle database, however, does not permit rolling back in the execution of data control language.
- The MySQL database, however, does not permit rolling back in the execution of data control language.
- The MySQL database, however, permits rolling back in the execution of data control language.
Answer: B) The Oracle database, however, does not permit rolling back in the execution of data control language
Explanation:
The Oracle database, however, does not permit rolling back in the execution of data control language.
Discuss this Question
29. What is the truncate command used for in DDL?
- Add all the records
- Remove all the records
- Transit all the records
- None of the above
Answer: B) Remove all the records
Explanation:
The truncate command is used to remove all the records in DDL.
Discuss this Question
30. ____ handles the user requests.
- DDL
- DML
- DCL
- TCL
Answer: B) DML
Explanation:
DML handles the user requests.
Discuss this Question