MCQ DBMS

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

MCQ- DBMS

1) Which of the following is generally used for performing tasks like creating the
structure of the relations, deleting relation?
a. DML(Data Manipulation Language)
b. Query
c. Relational Schema
d. DDL(Data Definition Language)

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?
a. DML(Data Manipulation Language)
b. DDL(Data Definition Language)
c. Query
d. Relational Schema

3) The given Query can also be replaced with_______:


1. SELECT name, course_id
2. FROM instructor, teaches
3. WHERE instructor_ID= teaches_ID;
a. Select name,course_id from teaches,instructor where instructor_id=course_id;
b. Select name, course_id from instructor natural join teaches;
c. Select name, course_id from instructor;
d. Select course_id from instructor join teaches;

4) Which one of the following given statements possibly contains the error?
a. select * from emp where empid = 10003;
b. select empid from emp where empid = 10006;
c. select empid from emp;
d. select empid where empid = 1009 and Lastname = 'GELLER';

5) Ready the Query carefully:


1. SELECT emp_name
2. FROM department
3. WHERE dept_name LIKE ' _____ Computer Science';
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?
a. &
b. _
c. %
d. $

6) What do you mean by one to many relationships?


a. One class may have many teachers
b. One teacher can have many classes
c. Many classes may have many teachers
d. Many teachers may have many classes

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?
1. SELECT *
2. FROM instructor
3. ORDER BY salary ____, name ___;
a. Ascending, Descending
b. Asc, Desc
c. Desc, Asc
d. All of the above

8) The given Query can be replaced with ____________:


1. SELECT name
2. FROM instructor1
3. WHERE salary <= 100000 AND salary >= 90000;
a.
1. SELECT name
2. FROM instructor1
3. WHERE salary BETWEEN 100000 AND 90000
b.
1. SELECT name
2. FROM instructor|
3. WHERE salary BETWEEN 90000 AND 100000;
c.
1. SELECT name
2. FROM instructor1
3. WHERE salary BETWEEN 90000 AND 100000;
d.
1. SELECT name
2. FROM instructor!
3. WHERE salary <= 90000 AND salary>=100000;
9) A Database Management System is a type of _________software.
a. It is a type of system software
b. It is a kind of application software
c. It is a kind of general software
d. Both A and C

10) The term "FAT" is stands for_____


a. File Allocation Tree
b. File Allocation Table
c. File Allocation Graph
d. All of the above

11) Which of the following can be considered as the maximum size that is supported by
FAT?
a. 8GB
b. 4GB
c. 4TB
d. None of the above

12) The term "NTFS" refers to which one of the following?


a. New Technology File System
b. New Tree File System
c. New Table type File System
d. Both A and C

13) Which of the following can be considered as the maximum size that is supported by
NTFS?
a. 4GB
b. 16TB
c. 64TB
d. 8TB

14) A huge collection of the information or data accumulated form several different
sources is known as ________:
a. Data Management
b. Data Mining
c. Data Warehouse
d. Both B and C
15) Which of the following can be used to extract or filter the data & information from
the data warehouse?
a. Data redundancy
b. Data recovery tool
c. Data mining
d. Both B and C

16) Which one of the following refers to the copies of the same data (or information)
occupying the memory space at multiple places.
a. Data Repository
b. Data Inconsistency
c. Data Mining
d. Data Redundancy

17) Which one of the following refers to the "data about data"?
a. Directory
b. Sub Data
c. Warehouse
d. Meta Data

18) Which of the following refers to the level of data abstraction that describes exactly
how the data actually stored?
a. Conceptual Level
b. Physical Level
c. File Level
d. Logical Level

19) To which of the following the term "DBA" referred?


a. Data Bank Administrator
b. Database Administrator
c. Data Administrator
d. None of the above

20) In general, a file is basically a collection of all related______.


a. Rows & Columns
b. Fields
c. Database
d. Records
21) The term "Data" refers to:
a. The electronic representation of the information( or data)
b. Basic information
c. Row Facts and figures
d. Both A and C

22) Rows of a relation are known as the _______.


a. Degree
b. Tuples
c. Entity
d. All of the above

23) Which of the following refers to the number of tuples in a relation?


a. Entity
b. Column
c. Cardinality
d. None of the above

24) Which one of the following is a type of Data Manipulation Command?


a. Create
b. Alter
c. Delete
d. All of the above

25) Which of the following command is a type of Data Definition language command?
a. Create
b. Update
c. Delete
d. Merge

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?
a. Aggregation
b. Generalization
c. Specialization
d. All of the above

27) In which one of the following, the multiple lower entities are grouped (or combined)
together to form a single higher-level entity?
a. Specialization
b. Generalization
c. Aggregation
d. None of the above

28) In a relation database, every tuples divided into the fields are known as the______.
a. Queries
b. Domains
c. Relations
d. All of the above

29) The term "TCL" stands for_____.


a. Ternary Control Language
b. Transmission Control Language
c. Transaction Central Language
d. Transaction Control Language

30) In the relational table, which of the following can also be represented by the term
"attribute"?
a. Entity
b. Row
c. Column
d. Both B &C

31) Which of the following refers to the number of attributes in a relation?


a. Degree
b. Row
c. Column
d. All of the above

32) Which of the following is used in the application programs to request data from the
database management system?
a. Data Manipulation language
b. Data Definition Language
c. Data Control Language
d. All of the above

33) Which one of the following command is used to delete the existing row in a table?
a. Delete
b. Update
c. Insert
d. None of the above

34) Which of the following commands is used to save any transaction permanently into
the database?
a. Commit
b. Rollback
c. Savepoint
d. None of the above

35) Which one of the following commands is used for removing (or deleting) a relation
forms the SQL database?
a. Delete
b. Drop
c. Remove
d. All of the above

36) Which one of the following commands is used to restore the database to the last
committed state?
a. Savepoint
b. Rollback
c. Commit
d. Both A & B

37) The database management system can be considered as the collection of ______ that
enables us to create and maintain the database.
a. Translators
b. Programs
c. Keys
d. Language activity

38) The term "DFD" stands for?


a. Data file diagram
b. Data flow document
c. Data flow diagram
d. None of the above
39) Which of the following refers collection of the information stored in a database at a
specific time?
a. Independence
b. Instance of the database
c. Schema
d. Data domain

40) The term "SQL" stands for


a. Standard query language
b. Sequential query language
c. Structured query language
d. Server-side query language

41) The term "Data independence" refers to____


a. Data is defined separately and not included in the programs
b. Programs are not dependent on the logical attributes of the data
c. Programs are not dependent on the physical attributes of the data
d. Both B & C

42) What is the relation calculus?


a. It is a kind of procedural language
b. It is a non-procedural language
c. It is a high-level language
d. It is Data Definition language

43) Which one of the following refers to the total view of the database content?
a. Conceptual view
b. Physical view
c. Internal view
d. External view

44) For what purpose the DML is provided?


a. Addition of new structure in the database
b. Manipulation & processing of the database
c. Definition of the physical structure of the database system
d. All of the above

45) The term "ODBC" stands for_____


a. Oral database connectivity
b. Oracle database connectivity
c. Open database connectivity
d. Object database connectivity

46) The architecture of a database can be viewed as the ________


a. One level
b. Two-level
c. Three-level
d. Four level

47) In the relation model, the relation are generally termed as ________
a. Tuples
b. Attributes
c. Rows
d. Tables

48) The Database Management Query language is generally designed for the _____
a. Support end-users who use English like commands
b. Specifying the structure of the database
c. Support in the development of the complex applications software
d. All of the above

49) Which of the following keys is generally used to represents the relationships between
the tables?
a. Primary key
b. Foreign key
c. Secondary key
d. None of the above

50) Which of the following levels is considered as the level closed to the end-users?
a. Internal Level
b. External Level
c. Conceptual Level
d. Physical Level

51) A computer security protocol for logging-in can be considered as the example of the
______ component of an information system.
a. Data
b. Software
c. Procedure
d. Hardware

52) Which one of the following keyword is used to find out the number of values in a
column?
a. TOTAL
b. COUNT
c. SUM
d. ADD

53) Which one of the following is commonly used to define the overall design of the
database?
a. Application program
b. Data definition language
c. Schema
d. Source code

54) Which one of the following commands is used to modify a column inside a table?
a. Drop
b. Update
c. Alter
d. Set
https://www.javatpoint.com/dbms-mcq

You might also like