DBMS MCQThis section of interview questions and answers focuses on "Database Management System". One shall practice these interview questions to improve their concepts for various interviews such as campus interviews, walk-in interviews, company interviews, placements, entrance exams and other competitive exams. 1) Which of the following is generally used for performing tasks like creating the structure of the relations, deleting relation?
Answer: D Explanation: The term "DDL" stands for Data Definition Language, used to perform all other essential tasks such as deleting relation and related schemas in defining the structure relation. 2) Which of the following provides the ability to query information from the database and insert tuples into, delete tuples from, and modify tuples in the database?
Answer: A Explanation: The term "DML" stands for the Data Manipulation Language used to perform the required changes in the relation's values. 3) The given Query can also be replaced with_______:
Answer: B Explanation: Join clause joins two tables by matching the common column 4) Which one of the following given statements possibly contains the error?
Answer: D Explanation: The Query given in option D does not contain the "from" clause, which specifies the relation from which the values have to be selected or fetched. Therefore the correct answer is D. 5) Ready the Query carefully: In the above-given Query, which of the following can be placed in the Query's blank portion to select the "dept_name" that also contains Computer Science as its ending string?
Answer: C Explanation: In the above-given Query, the "%" (like) operator will be used, which is generally used while searching for a certain pattern in the strings. It represents the single and multiple characters. In this case, it used with "Where "louse to select the "dept_name" that contains the Computer Since as its ending string. To understand it more clearly, consider the following syntax: Syntax SELECT column1, column2, ... FROM table_name WHERE columnN LIKE pattern; 6) What do you mean by one to many relationships?
Answer: B Explanation: We can understand the "one to many" relationship as a teacher who may have more than one class to attend. 7) In the following Query, which of the following can be placed in the Query's blank portion to display the salary from highest to lowest amount, and sorting the employs name alphabetically?
Answer: C Explanation: To sort the salary from highest to lowest amount and display the employee's name alphabetically, one can use the "Desc and Asc" in the above-given Query. 8) The given Query can be replaced with ____________: a. b. c. d. Answer: C Explanation: The "SQL" contains a comparison known as the "BETWEEN," which is also used in one of the given queries, as you can see. The "BETWEEN" operator is generally used to simplify the "WHERE" clause that is used to specify that the value is greater than one value or greater than some values, less than one or more values. 9) A Database Management System is a type of _________software.
Answer: A Explanation: The DBMS (or Database Management System) is a kind of system software used for several operations such as creating tables/databases, storing data, managing databases. It also allows modifying the data stored in the database as well. 10) The term "FAT" is stands for_____
Answer: B Explanation: The term "FAT" can be described as a file structure (or file architecture). In which all the information about the files where they are stored and where all these files need to be stored or in which directory, all that information generally stored in the file structure. Therefore the Operating system creates a table in which all the files and clusters are stored, known as the file allocation table. 11) Which of the following can be considered as the maximum size that is supported by FAT?
Answer: B Explanation: The files with a size of less than 4 GB or equal to 4GB are easily supported by the FAT. All files with a size greater than the maximum size (or is 4Gb) are not supported by the FAT. 12) The term "NTFS" refers to which one of the following?
Answer: A Explanation: In the old operating systems, the file structure used to store and manage files is called the FAT 32 ( or File Allocation Table). Later, when the technology evolves with time, a new type of file system is introduced, known as the New Technology File System. It overcomes all the drawbacks, issues that exist in FAT file architecture and has many other new features such as it is fast, it can handle files whose size is even greater than 4 GB. 13) Which of the following can be considered as the maximum size that is supported by NTFS?
Answer: A Explanation: The New Technology File System was introduced in 1993 for the very first time as a part of new Windows operating systems (Windows NT 3.1). You may be surprised to know that windows are still using it because of its fast speed and can support files whose size is up to 16TB (16 terabytes), which is much more than that file size supported by the old system. 14) A huge collection of the information or data accumulated form several different sources is known as ________:
Answer: C Explanation: A huge collection of different types of data/information which collected from many different sources stored in one place is called a data warehouse. It works just like the standard warehouse, which is generally a type of holding area/building to store the different types of different goods in huge quantities until they are further distributed. Therefore the correct answer is Data Warehouse. 15) Which of the following can be used to extract or filter the data & information from the data warehouse?
Answer: C Explanation: The tools used to obtain meaningful information or Data from the large collection of data (or from the Data Warehouses) are known as the Data mining tools. Through data mining, one can easily filter the useful information or data from the massive collection of the data. Therefore the correct answer is Data Mining. 16) Which one of the following refers to the copies of the same data (or information) occupying the memory space at multiple places.
Answer: D Explanation: The data redundancy generally occurs whenever more than one copy of the exact same data exists in several different places. Sometimes it may cause data inconsistency, which can result in an unreliable source of data or information that is not good for anyone. 17) Which one of the following refers to the "data about data"?
Answer: D Explanation: The Mata Data refers to the type of data that describes the other data or information. A general file or document is nothing more than a sequence of bytes that contains information like file name, file size, and date & time when the document was created or modified. To understand it in more details, consider the following example: For a common music file, the metadata may include the singer's name, the year it was released, and the lyrics, etc. 18) Which of the following refers to the level of data abstraction that describes exactly how the data actually stored?
Answer: B Explanation: Data abstraction means displaying or sharing only the data that is needed and hiding from all other data until it is necessary to share it. However, the data abstraction level that describes how the data was actually stored in the user's machine (or system) is known as the Physical level. Therefore the correct answer is B. 19) To which of the following the term "DBA" referred?
Answer: B Explanation: The term "DBA" refers to the Database Administrator that manages the whole database and updates the database on a regular basis. In short, the database administrator has the responsibility of the whole database and to maintain it in an optimal & stable state. 20) In general, a file is basically a collection of all related______.
Answer: D Explanation: Whenever we have some related data, information or records, we collect all those related data (or records), put them together, store them in one place, and give that collection a name that is known as a file. 21) The term "Data" refers to:
Answer: C Explanation: In general, the term "data" refers to the row facts and figure, whereas the information referred to as the data, which is really important for someone or a particular person. Therefore the correct answer is C. 22) Rows of a relation are known as the _______.
Answer: D Explanation: In SQL, the relation is represented by a table, and a table is a collection of rows and columns. Therefore the collection of rows & columns is called the table, whereas a table is known as the relation in the SQL. So in a relation (or we can say table), rows are called the tuples. So, the correct answer will be tuples. 23) Which of the following refers to the number of tuples in a relation?
Answer: C Explanation: Cardinality refers to the number of tuples of relation because cardinality represents the number of tuples in a relation. To understand it in more detail, consider the following given example: Suppose we have a relation (or table) that contains 30 tuples (or Rows) and four columns, so the cardinality of our relation will be 30. 24) Which one of the following is a type of Data Manipulation Command?
Answer: C Explanation: In data manipulation language, the command like select, insert, update, and delete is used to manipulate the information (or data, records), for example create a table, update table delete table, etc. Therefore the correct answer is C. 25) Which of the following command is a type of Data Definition language command?
Answer: A Explanation: The Data definition language is generally used to maintain or define the structure of the database. For example, creating a table, drop table, alter table. In short, we can say that the command of data definition languages is used to work on the table's schemas inside the database. 26) Which of the following is a top-down approach in which the entity's higher level can be divided into two lower sub-entities?
Answer: C Explanation: In specialization, the top-down approach is used, and it is apposite to the generalization. In the specialization, the higher-level entity can be divided into sub lower entities. It is generally used for identifying the subset of an entity set which share the distinguishing characteristics. To understand it more clearly, consider the following example: Suppose you have an entity, e.g., A vehicle. So through the specialization, you can be divided further into sub-entities like two-wheelers and four-wheelers. Therefore the correct answer is C. 27) In which one of the following, the multiple lower entities are grouped (or combined) together to form a single higher-level entity?
Answer: B Explanation: The bottom-up approach is used in the generalization. The several lower-level sub-entities are grouped together to make an individual higher-level entity. In short, we can say that it is totally the opposite of specialization. To understand it more clearly, consider the following example: Example Suppose you have several lower entities like bus, car, motorbike etc. So, in order to make a more generalize (or higher level ) entity, you can combine them under a new higher-level entity such as a vehicle. 28) In a relation database, every tuples divided into the fields are known as the______.
Answer: B Explanation: In a database, the number of rows inside a table is known as tuples, and if we further divide those tuples (or rows) into those fields, they become the domains. So the correct answer will be B. 29) The term "TCL" stands for_____.
Answer: D Explanation: The term "TCL" refers to the Transaction Control Language, which is another language just like the "DDL" and "DML". The commands like commit, save point, rollback come under the TCL used to control the transactions. Therefore the correct answer will be D. 30) In the relational table, which of the following can also be represented by the term "attribute"?
Answer: C Explanation: In the database, the number of rows inside a table is called the tuples, and the numbers of columns are known as the attributes. Therefore the correct answer is C. 31) Which of the following refers to the number of attributes in a relation?
Answer: A Explanation: The column inside the table is called the attribute, and the total number of attributes inside the table is called the degree. So, here as we can see, degree refers to the number of attributes in a relation. Therefore the correct answer is C. 32) Which of the following is used in the application programs to request data from the database management system?
Answer: A Explanation: To fetch data from the database management system, generally, the "select" statement is used. Therefore, the Data Manipulation Language is used in the application programs while requesting the data from the database management system. 33) Which one of the following command is used to delete the existing row in a table?
Answer: A Explanation: To delete an existing row in a table the generally, the "delete" command is used. The "delete" command is one of the commands that belong to the Data manipulation language. 34) Which of the following commands is used to save any transaction permanently into the database?
Answer: A Explanation: The Transaction Control Language is used while working with the transactions. To save any transaction permanently into the database generally, the "commit" command is used, by which any changes get reflected permanently into the database, and they become irreversible. 35) Which one of the following commands is used for removing (or deleting) a relation forms the SQL database?
Answer: B Explanation: To removing( or deleting) a relation, the "drop" command is used instead of delete because here we are working on the objects of the database. So, to maintain the objects of a database, the Data definition language is used. Therefore the "drop" command is used to delete a relation form a database instead of using the "delete" command. 36) Which one of the following commands is used to restore the database to the last committed state?
Answer: B Explanation: As we all know that while working with the Transactions, the Transaction Control Language is used. To restore the database to the last committed state ( or to undo the latest changes), the "rollback" command is used that belongs to the Transaction Control Language. 37) The database management system can be considered as the collection of ______ that enables us to create and maintain the database.
Answer: B Explanation: The Database management system can also considered as the set of programs that enables users to create and maintain the database. 38) The term "DFD" stands for?
Answer: C Explanation: The term"DFD" stands for the Data Flow Diagram, and to represent the flow of the data( or information), the data flow diagram is used. The data flow diagram also helps in understanding how the data is managed in the application. Therefore the correct answer is C. 39) Which of the following refers collection of the information stored in a database at a specific time?
Answer: B Explanation: The collection of data (or information) stored in a database at a particular moment is known as the instance of the database. Therefore the correct answer is B. 40) The term "SQL" stands for
Answer: C Explanation: The term "SQL" stands for the structured query language, which is one of the most widely, used programming languages for relational databases. It can also be used for managing and organizing data in all sorts of systems in which different data relationships exist. Therefore the correct answer is C. 41) The term "Data independence" refers to____
Answer: Explanation: The term "Data independence" refers that the program should not be dependent on either the logical attributes of data or physical attributes of data. 42) What is the relation calculus?
Answer: B Explanation: In database management systems, relation calculus is a type of non-procedural query language that describes what data needs to be retrieved. However, it does not explain how to retrieve the data. 43) Which one of the following refers to the total view of the database content?
Answer: A Explanation: The conceptual view refers to the total view of the content available in the database. Therefore the correct answer is A. 44) For what purpose the DML is provided?
Answer: B Explanation: The term "DML" refers to the data manipulation language, which is commonly used to perform basic operations such as insert data, delete, and update data in a database. So the correct answer will be B. 45) The term "ODBC" stands for_____
Answer: C Explanation: The term "ODBC" refers to the Open Database Connectivity that is a SQL based programming interface introduced by Microsoft. 46) The architecture of a database can be viewed as the ________
Answer: C Explanation: A database's architecture can be viewed as the three levels of abstraction that are named as the internal level, external level, and the conceptual level. Therefore the correct answer is C. 47) In the relation model, the relation are generally termed as ________
Answer: D Explanation: In the relation model, the relations are also referred to as the tables because the relations are considered as the technical name of the table. So the correct answer is D. 48) The Database Management Query language is generally designed for the _____
Answer: D Explanation: The database management query language is generally designed by keeping in mind that it must support the end-users who are familiar with the English-like commands. It should also boost the process of development of the complex applications software and helps in specifying the structure of the database. 49) Which of the following keys is generally used to represents the relationships between the tables?
Answer: B Explanation: To represent the relationships between the various tables in the database, generally, the foreign key is used. Therefore the correct answer is the foreign key. 50) Which of the following levels is considered as the level closed to the end-users?
Answer: B Explanation: The database's external level is the one and only level that is considered the closest level to the end-users. So the correct answer will be the B. 51) A computer security protocol for logging-in can be considered as the example of the ______ component of an information system.
Answer: C Explanation: A computer security protocol for logging-in can be considered as the procedure component of an information system. Therefore the correct answer is C. 52) Which one of the following keyword is used to find out the number of values in a column?
Answer: B Explanation: The "COUNT" keyword is used to find the total number of values inside a column. So whenever a user wants to find the total values in a column, he can use the keyword "COUNT". 53) Which one of the following is commonly used to define the overall design of the database?
Answer: C Explanation: In order to define the overall design of the database, generally, the schema is used. Therefore the correct answer is C. 54) Which one of the following commands is used to modify a column inside a table?
Answer: C Explanation: To make manipulations in a column of a specific table, the "alter" command is used. To understand it more clearly, consider the following example:
Next TopicDBMS Tutorial
|