Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Multiple choice questions:

1.Which of the following is a recursive relationship ?


a)Unary relationship
b)Binary relationship
c)Ternary relationship
d)All the above
Ans:(a)

2.Weak entity type is also called as ________ entity type.


a) Regular
b) Independent
c) Dependent
d)None of the above
Ans:(c)

3. A column or a group of columns in a each row has a distinct Value in which constraint?
A. Primary key
B. Check
C. Unique
D. Not null

Ans: C

4.which one of the following is a set of one or more attributes taken collectively to uniquely identify a
record
a.candidate key
b.sub key
c.super key
d.foreign key
ansc

5.The subset of a super key is a candidate key under what condition


a.no proper subset is a super key
b.all subsets are super keys
c.subset is a super key
d.each subset is a super key
ansa

6. What type of approach is generalization?


A. top- down
B. Bottom-up
C. Top-up
D. None

Ans: B

7.normalization is used to design________________


A . join dependencies
B . relational database
C . multi-valued dependencies
D . cyclic dependencies
ANS:(A)

8.symbol for projection operatior


A.σ(Sigma)
B.∏(Pi)
C.X(Cross)
D. None of the above
Ans:B.∏(Pi)

9.E-R diagram is ______representation of database.


A. Numerical
B.graphical (or) pictorial
C.both a & b
D.none of the above
Answer: (B)

10.DROP is a ______________ statement in SQL.


A . Query
B . Embedded SQL
C . DDL
D . DCL
Ans.C

10.The associate/link entities with one another are represented in ?


A.Relationship
B.Identiier
C.Attributes
D.Classes
Ans:A

11.The entity represented in the E-R diagram?


A.Circle
B.Rectangular box
C.diamond
D.filled diamond
Ans:B

12.For represent the weak entity in ER figure, which of the following size is used.
A.Oval ( line of points )
B.Oval (solid line)
C.Perpendicular (single solid line)
D.Perpendicular (double solid line)
answ:D

13._symbol is used to denote derived attributes in ER Model.

A.Dashed ellipse
B.Squared ellipse
C.Ellipse with attribute name underlined
D.Double ellipse
answ:A

14.Which of the following database object does not physically exist?


A.Base table
B.Index
C .View
D.None of the above
Answer :C(View)
15.A___is a request to a database to obtain information in the desired way.
A.query
B.trigger
C.None of the above
D.command
Answer:A(query)

16.which symbol is used to select tuples in relational algebra ?


A. Alpha
B.beta
C.Sigma
D.phi
Answer:C

17. In Hierarchial model records are organized as?


A. List
B.Tree
C.Links
D.Graph
Answer:B

18. In Hierarchial model records are organized as?


A.List
B.Tree
C.Links
D.Graph
Answer:B

19.What does the following statement in SQL do?


DROP TABLE student;
A Deletes a table called student.
B.Creates a table called student.
C.Check if there is a table called student.
D.None of the above
Ans:A

20.The entity relationship set is represented in E-R diagram as


a) Double diamonds
b) Undivided rectangles
c) Dashed lines
d) Diamond
Ans :d

21.Which of the following gives a logical structure of the database graphically?


a) Entity-relationship diagram
b) Entity diagram
c) Database diagram
d) Architectural representation
Ans:a

22.What is the symbol used for aggregate functions


A.a or A
B.f or F
C.g or G
D.none
Answer:C

23.Which one of the following is not an aggregate function


A.Add
B.Min
C.Max
D.Count
Answer:A

24._________________ operations do not preserve non-matched tuples.


a) Left outer join
b) Inner join
c) Natural join
d) Right outer join

Answer : B

25.The full form of DDL is


A . Dynamic Data Language
B . Detailed Data Language
C . Data Definition Language
D . Data Derivation Language
Ans: C

Fill in the Blanks:

1. A _______is an organized collection of data.


Ans - Database

2. A ________ is a software package that can be used for creating and managing databases.
Ans - DBMS

3. A _______ is a database management system that is based on the relational model.


Ans - RDBMS
4. A _______ refers to the logical and visual configuration of the entire relational database
Ans - database schema

5. A ________ Key is a unique value that identifies a row in a table.


Ans - Primary key

6. _______ Key is a combination of one or more columns.


Ans - Composite

7. A ____ is a set of data elements that is organized using a model of vertical columns and horizontal
rows.
Ans - Table

8. A _____is a set of data values of a particular type, one for each row of the table.
Ans - Column

9. A _____ represents a single, data item in a table.


Ans - Row

10. _______ are used to identify which type of data we are going to store in the database.
Ans - Datatype / Domain

11. Common DDL statements are _______


Ans - create, alter and drop.

12. _______ is properties or details about an entity.


Ans - Attribute

13. A ______ constraint in DBMS refers to a set of rules applied to one or more columns in a database
table to ensure the uniqueness and integrity of data
Ans - Key

14. The types of languages used for creating and manipulating the data in the Database are _____
Ans - DDL & DML.

15. ____ is a raw Fact that can be recorded or stored


Ans - Data

16. DDL and DML stands for _________


Ans - Data Definition Language & Data Manipulation Language

17. A popular data manipulation language is ______


Ans - SQL

18. Tables are the basic building blocks of a _______


Ans - database.

19. There are _______ types of Relationships in a table.


Ans - Three

20.SQL stands for _______


Ans - Structured Query Language

21.A _______ entity is not dependent on any other entity in the schema
Ans - Strong

22.A relational symbol is denoted in DBMS is _____


Ans - sigma (σ)

23.______ command is used to remove all rows from a table?


Ans - TRUNCATE

24.A _______ clause is used to combine rows from two or more tables, based on a related column
between them.
Ans - JOIN

25.______ Levels ANSI SPARC Database System


Ans - 3

You might also like