DBMS MCQs
DBMS MCQs
ANS
WER
: A
ANS
WER
: B
ANS
WER
: A
ANSWER: D
ANS
WER
: C
A. Tuples. B. Attributes
C. Tables. D. Rows.
ANSWER:c
A. HLL B. DML
C. DDL D. DCL
ANSWER: C
ANS
WER
: D
Q.12 An entity set that does not have sufficient attributes to form a primary key is a
ANS
WER
: B
A. Graph. B. List.
C. Links. D. Tree.
ANSWER: D
A. rectangle. B. square.
C. ellipse. D. triangle.
ANS
WE
R: C
ANS
WE
R: A
A. ¬P1 Ú P2 B. P1 Ú P2
C. P1 Ù P2 D. P1 Ù¬P2
ANSWER: A In tuple relational calculus P1 P2 is equivalent to ¬P1 Ú P2.
(The logical implication expression A B, meaning if A then B,is equivalent to ¬A Ú B)
Q.17 The language used in application programs to request data from the DBMS is referred
to as the
A. DML B. DDL
C. VDL D. SDL
ANSWER: A
ANSWER: A
ANSWER: B Related data fields in a database are grouped to form a data record.
Q.20 The database environment has all of the following components except:
ANS
WER
: A
Q.21 The language which has recently become the defacto standard for interfacing application
A. Oracle. B. SQL.
C. DBase. D. 4GL.
ANSWER: B
Q.22 The way a particular application views the data from the database that the application
uses is a
ANS
WER
: D
A. rectangle. B. ellipse.
ANS
WER
: A
ANS
WER
: B
(C) Data stored in a database is independent of the application programs using it.
ANSWER: D
ANSWER: C
(B) is much more data independence than some other database models.
ANSWER: B
(B) needs data volume and processing frequencies to determine the size of the database.
Q.30 The method in which records are physically stored in a specified order according to a key
A. hash. B. direct.
(In hash method, a hash function is performed on the key value to determine the
C. groups. D. columns.
(Count function counts all the not null values in the specific column. If we want to
count only distinct values than the DISTINCT keyword is also to be used)
administrator.
(B) Data elements in the database can be modified by changing the data dictionary.
(C) The data dictionary contains the name and description of each data element.
administrator. ANSWER: B
above. ANSWER: C
Q.35 A DBMS query language is designed to
ANSWER: B
A. direct. B. hash.
C. random. D. sequential.
ANS
WE
R: B
Q.40 The statement in SQL which allows to change the definition of a table is
A. Alter. B. Update.
C. Create. D. select.
ANS
WE
R: A
(B) Diamond
(D) None of
these ANSWER: A
ANSWER: C
ANS
WER
: C
C. Intersection D) Product
ANS
WER
: A
Q.46 The file organization that provides very fast access to any arbitrary record of a file is
ANS
WER
: C
ANS
WER
: D
A. Groups B. Table
C. Attributes D. Switchboards
ANS
WE
R: C
Q.49 In a relation
(C) a SQL query will not work if there are no indexes on the relations
software. ANSWER: D
A. Unary B. Binary
C. Ternary D. Quaternary
ANS
WE
R: B
Q.54 Which of the following operation is used if we are interested in only certain columns of
a table?
A. PROJECTION B. SELECTION
C. UNION D. JOIN
ANSWER: A
A. CHARACTER B. NUMERIC
ANS
WE
R: D
A. tuple. B. relation.
C. attribute. D) degree.
ANS
WE
R: A
Q.57 Which of the following operations need the participating relations to be union compatible?
A. UNION B. INTERSECTION
ANS
WE
R: D
ANS
WE
R: C
ANS
WE
R: D
above ANSWER: B
ANS
WE
R: B
A. External B. Internal
C. Physical D. Conceptual
ANS
WE
R: A
Q.63 Which are the two ways in which entities can participate in a relationship?
ANS
WE
R: B
Q.64 The result of the UNION operation between R1 and R2 is a relation that includes
columns ANSWER: D
A. = B. LIKE
ANS
WE
R: D
Q.66 A set of possible data values is called
A. attribute. B. degree.
C. tuple. D. domain.
ANS
WE
R: D
Q.67 Which of the operations constitute a basic set of operations for manipulating relational
data?
ANSWER:C
A. Child B. Owner
Q.69 Which of the following database object does not physically exist?
(C) view
ANSWER: C
ANSWER: D
ANSWER: A
Q.73 A file manipulation command that extracts some of the records from a file is called
A. SELECT B. PROJECT
C. JOIN D. PRODUCT
ANS
WE
R: A
Q.74 The physical location of a record is determined by a mathematical formula that trAnsforms
ANS
WE
R: B
Q.75 Using Relational Algebra the query that finds customers, who have a balance of over
1000 is
ANSWER: A
Q.76 A primary key is combined with a foreign key creates
(A) Parent-Child relation ship between the tables that connect them.
(B) Many to many relationship between the tables that connect them.
C. Rectangle D. Triangle
Ans B
ANS
WE
R: C
Q.80 Consider the join of a relation R with relation S. If R has m tuples and S has n tuples,
A. mn B. m+n
C. (m+n)/2 D. 2(m+n)
ANS
WE
R: A
product ANSWER: D
ANSWER: C
(B) Many to many relationship between the tables that connect them.
ANSWER: A
C. Rectangle D. Diamond
ANS
WE
R: D
ANSWER: A
Q.86 To delete a particular column in a relation the command used is:
A. UPDATE B. DROP
C. ALTER D. DELETE
ANS
WE
R: C
Q.87 The ______ operator is used to compare a value to a list of literals values that have been
specified.
A. BETWEEN B. ANY
C. IN D. ALL
ANS
WE
R: A
D) none of these
ANS
WE
R: D
A. m B. m+1
C. m-1 D. m/2
ANS
WE
R: A
Q.90 function divides one numeric expression by another and returns the
remainder.
A. POWER B. MOD
C. ROUND D. REMAINDER
ANS B
WE
R:
Q.91 A data manipulation command the combines the records from one or more tables is called
A. SELECT B. PROJECT
C. JOIN D. PRODUCT
ANS
WE
R: C
C. Rectangle D. Triangle
ANS
WE
R: D
Q.93 is a virtual table that draws its data from the result of an SQL
SELECT statement.
A. View B. Synonym
C. Sequence D. TrAnsaction
ANS
WE
R: A
A. Direct B. Hash
C. Random D. Sequential
ANS
WE
R: B
ANS
WE
R: B
A. RAW B. CHAR
C. NUMERIC D. VARCHAR
ANS
WE
R: A