InfoTechSite | Your Ultimate Source for IT Tutorials, MCQs, and Quizzes

CS/IT MCQ Collections

MCQ of Database Management System with answer set-4

Pinterest LinkedIn Tumblr Reddit WhatsApp
Here are the collections of MCQ questions on fundamental of database management system which includes objective questions on SQL commands used to create DDL , DML and DCL statements. It also contains collections of  objective type questions different terms used in DBMS such as primary key, composite key, candidate key, foreign key and super key.

1. In SQL, which command is used to issue multiple CREATE TABLE, CREATE VIEW and GRANT statements in a single transaction?
A) CREATE PACKAGE
B) CREATE SCHEMA
C) CREATE CLUSTER
D) All of the above

2. In SQL, the CREATE TABLESPACE is used
A) to create a place in the database for storage of scheme objects, rollback segments, and naming the data files to comprise the tablespace.
B) to create a database trigger.
C) to add/rename data files, to change storage
D) All of the above

3. Which character function can be used to return a specified portion of a character string?
A) INSTR
B) SUBSTRING
C) SUBSTR
D) POS

4. Which of the following is TRUE for the System Variable $date$?
A) Can be assigned to a global variable.
B) Can be assigned to any field only during design time.
C) Can be assigned to any variable or field during run time.
D) Can be assigned to a local variable.

5. What are the different events in Triggers?
A) Define, Create
B) Drop, Comment
C) Insert, Update, Delete
D) Select, Commit

6. Which is the subset of SQL commands used to manipulate Oracle Database Structures, including tables?
A) Data Definition Language
B) Data Manipulation Language
C) Data Described Language
D) Data Retrieval Language

7. The SQL statement SELECT SUBSTR(‘123456789’, INSTR(‘abcabcabc’,’b’), 4) FROM EMP; prints
A) 6789
B) 2345
C) 1234
D) 456789

8. Which of the following SQL command can be used to modify existing data in a database table?
A) MODIFY
B) UPDATE
C) CHANGE
D) NEW

9. When SQL statements are embedded inside 3GL, we call such a program as ……….
A) nested query
B) nested programming
C) distinct query
D) embedded SQL

10. ……………. provides option for entering SQL queries as execution time, rather than at the development stage.
A) PL/SQL
B) SQL*Plus
C) SQL
D) Dynamic SQL

11) The RDBMS terminology for a row is
A. tuple
B. relation
C. attribute
D. degree

12) To change column value in a table the ……… command can be used.
A. create
B. insert
C. alter
D. update

13) The full form of DDL in Database Management System is
A. Dynamic Data Language
B. Detailed Data Language
C. Data Definition Language
D. Data Derivation Language

14) To pass on granted privileges to other user the …… clause is used
A. create option
B. grant option
C. update option
D. select option

15) A set of possible data values is called
A. attribute
B. degree
C. tuple
D. domain

16) ……… is critical in formulating database design.
A. row column order
B. number of tables
C. functional dependency
D. normalizing

17) A primary key if combined with a foreign key creates
A. Parent-Child relationship between the tables that connect them
B. Many to many relationship between the tables that connect them
C. Network model between the tables that connect them
D. None of the above

18) A …………. represents the number of entities to which another entity can be associated
A. mapping cardinality
B. table
C. schema
D. information

19) Which two files are used during operation of the DBMS
A. Query languages and utilities
B. DML and query language
C. Data dictionary and transaction log
D. Data dictionary and query language

20) A ……….. is a set of column that identifies every row in a table.
A. composite key
B. candidate key
C. foreign key
D. super key

We have created a quiz including interview Questions on the database management system. Please take this quiz to test your knowledge on DBMS fundamentals.

Quiz for Fundamentals of DBMS

 

1. In a relational schema, each tuple is divided into fields called
2. The database schema is written in which of the following languages?
3. Which of the following contains information that defines valid values that are stored in a column or data type?
4. Data items grouped together for storage purposes is called a
5. What is the number of tuples in a relation?
6. Which database is used as a template for all databases created?
7. Which of the following SQL commands can be used to modify existing data in a database table?
8. Which of the following are used during the operation of the DBMS?
9. Which table store information about the database or about the system?
10. Which of the following keys is used to eliminate duplicate rows?
11. What operator tests the column for the absence of data?
12. Which of the following is TRUE for the system variable "date"?
13. Which character function can be used to return a specified portion of a character string?
14. What is the full form of DDL in Database Management System?
15. Which of the following is the preferred method for enforcing data integrity?
16. Which of the following is/are the DDL statements?
17. Which normal form is considered adequate for relational database design?
18. Which of the following is not a logical database structure?
19. Which clause is an additional filter that is applied to the result?
20. Which of the following is not a binary operator in relational algebra?
21. In SQL, the CREATE TABLESPACE is used
22. In a relational model, relations are also called
23. In a snapshot, which clause tells Oracle how long to wait between refreshes?
24. What will be created if a primary key is combined with a foreign key?
25. Which of the following clauses is used to pass on granted privileges to other users?
26. What are the different events in Triggers?
27. Which of the following databases has only a strict parent-child relationship?
28. Which of the following databases contains data assisting day-to-day activities of the organization?
29. Which data type can store unstructured data?
30. What is the collection of information stored in a database at a particular moment?
31. In SQL, which command is used to issue multiple CREATE TABLE, CREATE VIEW, and GRANT statements in a single transaction?
32. In an ER model, which is described in the database by storing its data.
33. A table can have only one
34. Which of the following has to be dealt with by the integrity subsystem is to ensure that only valid values can be assigned to each data item?
35. Data independence means
36. What is a special type of integrity constraint that relates two relations & maintains consistency across the relations?
37. Which of the following components is NOT included in the database environment?
38. Which candidate key allows you to uniquely identify each row?
39. Which of the following provides an option for entering SQL queries as execution time, rather than at the development stage?
40. Which of the following is a way a particular application views the data from the database that the application uses?
41. DBMS helps to achieve
42. What is an advantage of the database management approach?
43. What is the full form of HSAM?
44. Which of the following files are used during the operation of the DBMS?
45. What is a set of columns that identifies every row in a table?
46. Which contains information about a file needed by system programs for accessing file records?
47. Which statement is executed automatically by the system?
48. DCL stands for
49. What defines the structure of a relation that consists of a fixed set of attribute-domain pairs?
50. The key to represent the relationship between tables is called
51. What is a full form of SQL?
52. Which of the following entity does not have a distinguishing attribute if its own and most are dependent entities?
53. Which of the following enables users to create and maintain a database?
54. Which keyword is used to find the number of values in a column?
55. What is the process of organizing data into related tables?
56. Which of the following clauses specifies a search condition for a group or an aggregate?
57. What is a logical schema?
58. A top-to-bottom relationship among the items in a database is established by a
59. Which of the following operators is basically a join followed by a project on the attributes of the first relation?
60. Which of the following are the properties of entities?
61. What language requires a user to specify the data to be retrieved without specifying exactly how to get it?
62. Which of the following commands can be used to modify a column in a table?
63. DFD stands for
64. Which of the following is an outstanding functionality of SQL that supports automatic selection of the target data?
65. What is the way a particular application views the data from the database that the application uses?
66. Who proposed the process of normalization in DBMS at first?
67. Which of the following is a preferred method for enforcing data integrity?
68. Grant and revoke are which of the following statements?
69. Which command is used for entering the specific database?
70. Which of the following is critical in formulating database design?
71. What is the feature of the relational model?
72. Which one of the following statements is false?
73. If a table has more than one set of attributes that could be chosen as the key, it is called
74. Which of the following defines rules regarding the values allowed in columns and is the standard mechanism for enforcing database integrity?
75. What is the view of total database content?
76. A relational database developer refers to a record as
77. Which of the following are the ways in which entities can participate in a relationship?
78. Which of the following is used to determine whether a table contains duplicate rows?
79. Which command can be used to change a column value in a table?
80. Which of the following is used to define the overall design of the database?
81. Which of the following is a condition specified on a database schema and restricts the data that can be stored in an instance of the database?
82. What is a set of possible data values?
83. Which of the following is not a characteristic of a relational database model?
84. Which is a proper subset designed to support views belonging to different classes of users in order to hide or protect information?
85. Which key is a minimal superkey that can also refer to a surrogate key?
86. Which of the following is the complex search criteria in the where clause?
87. Which of the following is a utility to capture a continuous record of server activity and provide auditing capability?
88. Which database level is closest to the users?
89. What represents the number of entities to which another entity can be associated?
90. In the relational modes, cardinality is also called

 

Answers:

1. B) CREATE SCHEMA
2. A) to create a place in the database for storage of scheme objects……….
3. C) SUBSTR
4. B) Can be assigned to any field only during design time.
5. C) Insert, Update, Delete
6. A) Data Definition Language
7. B) 2345
8. B) UPDATE
9. D) embedded SQL
10.D) Dynamic SQL
11) A. tuple
12) D. update
13) C. Data Definition Language
14) B. grant option
15) D. domain
16) C. functional dependency
17) A. Parent-Child relationship between the tables that connect them
18) A. mapping cardinality
19) C. Data dictionary and transaction log
20) D. super key

Read Next: Solved MCQ on Fundamental of Database Management System Set – 5

We have created a video on YouTube including a solved MCQ on the database management system. Please watch the video and subscribe to our channel to get more videos on DBMS.

Author

Shuseel Baral is a web programmer and the founder of InfoTechSite has over 12 years of experience in software development, internet, SEO, blogging and marketing digital products and services is passionate about exceeding your expectations.

APBCT

Write A Comment

Protected by Security by CleanTalk and CleanTalk Anti-Spam