Database Objective Type Questions
Database Objective Type Questions
Database Objective Type Questions
Q.12 An entity set that does not have sufficient attributes to form a primary key is a
(A) strong entity set. (B) weak entity set.
(C) simple entity set. (D) primary entity set.
(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
(A)
Q.20 The database environment has all of the following components except:
(A) users. (B) separate files.
(C) database. (D) database administrator.
(A)
Q.21 The language which has recently become the defacto standard for interfacing application
programs with relational database system is
(A) Oracle. (B) SQL.
(C) DBase. (D) 4GL.
(B)
Q.22 The way a particular application views the data from the database that the application
uses is a
(A) module. (B) relational model.
(C) schema. (D) sub schema.
(C)
Q.30 The method in which records are physically stored in a specified order according to a key
field in each record is
(A) hash. (B) direct.
(C) sequential. (D) all of the above.
(C)may be
Q.40 The statement in SQL which allows to change the definition of a table is
(A) Alter. (B) Update.
(C) Create. (D) select.
(A)
Q.41 E-R model uses this symbol to represent weak entity set ?
(A) Dotted rectangle.
(B) Diamond
(C) Doubly outlined rectangle
(D) None of these
(c)
Q.49 In a relation
(A) Ordering of rows is immaterial
(B) No two rows are identical
(C) (A) and (B) both are true
(D) None of these.
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
(A)
Q.63 Which are the two ways in which entities can participate in a relationship?
(A) Passive and active (B) Total and partial
(C) Simple and Complex (D) All of the above
(C)
Q.64 The result of the UNION operation between R1 and R2 is a relation that includes
(A) all the tuples of R1
(B) all the tuples of R2
(C) all the tuples of R1 and R2
(D) all the tuples of R1 and R2 which have common columns
(C)
Q.67 Which of the operations constitute a basic set of operations for manipulating relational
data?
(A) Predicate calculus (B) Relational calculus
(C) Relational algebra (D) None of the above
Q.69 Which of the following database object does not physically exist?
(A) base table (B) index
(C) view
(D) none of the above
(C)
Q.70 NULL is
(A) the same as 0 for integer
(B) the same as blank for character
(C) the same as 0 for integer and blank for character
(D) not a value
(D)
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
Q.74 The physical location of a record is determined by a mathematical formula that trAnsforms
a file key into a record location is :
(A) B-Tree File (B) Hashed File
(C) Indexed File (D) Sequential file.
(C) may be
Q.75 Using Relational Algebra the query that finds customers, who have a balance of over
1000 is
(A) PCustomer_name(s balance >1000(Deposit))
(B) s Customer_name(Pbalance>1000(Deposit))
(C) PCustomer_name(s balance >1000(Borrow))
(D) s Customer_name(Pbalance>1000(Borrow))
(C)
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) Network model between the tables that connect them.
(D) None of the above.
(A)
Q.79 An instance of relational schema R (A, B, C) has distinct values of A including NULL
values. Which one of the following is true?
(A) A is a candidate key (B) A is not a candidate key
(C) A is a primary Key (D) Both (A) and (C)
(A)
Q.80 Consider the join of a relation R with relation S. If R has m tuples and S has n tuples,
then the maximum size of join is:
(A) mn (B) m+n
(C) (m+n)/2 (D) 2(m+n)
(A)
Q.90 _____________ function divides one numeric expression by another and returns the
remainder.
(A) POWER (B) MOD
(C) ROUND (D) REMAINDER
(B)
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
(C)
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
(A)