Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 31 pages
Exam (elaborations)

DBI202 EXAM 2024/2025 QUESTIONS AND ANSWERS (VERIFIED ANSWERS).

Document preview thumbnail
Preview 4 out of 31 pages

DBI202 EXAM 2024/2025 QUESTIONS AND ANSWERS (VERIFIED ANSWERS).

Content preview

DBI202 EXAM 2024/2025 QUESTIONS AND ANSWERS
(VERIFIED ANSWERS)
Which of the following statement is belong to DML?
Select one:
a. CREATE
b. INSERT
c. GRANT
d. ALTER

b



Suppose a relation R(A,B) and S(B,C) are bags. R has 2 tuples (1,3),
(2,4) and S has 3 tuples (1,2), (1,2) and (4,5). The theta join R ⋈
R.B>S.B S has __________ tuples
Select one:
a. 2
b. 3
c. 6
d. 4

d

Choose a right statement about high level design.
Select one:
a. high level design is process of constructing a model of information
used in an enterprise based on a specific data model, but independent
of a particular DBMS or other physical considerations
b. High-level design describes exactly the information needs of the
business
c. high level design is process translating the logical description of
the data into technical specifications for storing and retrieving data

b



1|Page

, DBI202 EXAM 2024/2025 QUESTIONS AND ANSWERS
(VERIFIED ANSWERS)
Which of the followings is false about UML?
Select one:
a. None of the others
b. UML does not support the multi-way relationships
c. UML classes are sets of objects, with states and behaviors
d. UML supports the subclass structures

a



In __________, a key is composed of attributes, some or all of them
belong to another entity set
Select one:
a. Weak entity set
b. Sub class
c. Super class
d. Supporting entity set

a



Which of the following statements is valid?
Select one:
a. If A->->B, B->->C hold in relation R, then A->->C holds, too
b. If A->->B, B->C hold in relation R, then A->->C holds, too
c. If A->B, B->->C hold in relation R, then A->->C holds, too
d. All of the others

d

Which of the followings is TRUE about E/R model?
Select one:
a. Attributes are associated to both entity sets and relationship


2|Page

, DBI202 EXAM 2024/2025 QUESTIONS AND ANSWERS
(VERIFIED ANSWERS)
types
b. Attributes cannot have the same name in the same entity set
c. Attributes are very simple types, e.g. integers or character
strings
d. All of the others

d



Which of the following statements is correct about weak entity set?
Select one:
a. Weak entity set can have only one supporting relationship
b. None of the others
c. Weak entity set can not have more than one supporting entity set
d. The key of weak entity set includes all key attributes from
supporting entity sets

d



What often is used to describe about data model?


Select one:
a. All of others
b. Structure of data
c. Constraints
d. Operations on data

a



Suppose relation R(A,B,C,D,E), and set of FD's S={ A -> D, BD -> E}.
Which of the followings is a key of R?

3|Page

, DBI202 EXAM 2024/2025 QUESTIONS AND ANSWERS
(VERIFIED ANSWERS)
Select one:
a. AB
b. ABC
c. ABCD
d. A

b

Suppose a relation R(A,B,C,D) and a constraint says that in every
tuple of this relation a value on D component must be equal to the
total of values on other components. How can we implement this
constraint?
Select one:
a. We create a referential integrity constraint
b. We create a not null constraint
c. We create four attribute-based CHECK constraint for each attribute
d. We create a tuple-based CHECK constraint

d



Suppose there are two relations R(A,B,C) and S(E,F), and a referential
integrity constraint from attribute F of S to attribute A of R, where
A is a primary key of R. Which of the followings can violate this
constraint ?
Select one:
a. All of the others
b. Insert a new tuple to the relation S
c. Delete an exist tuple from the relation S
d. Insert a new tuple to the relation R

b



4|Page

Document information

Uploaded on
April 9, 2025
Number of pages
31
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$18.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TESTCHIEF
4.2
(11)
Sold
80
Followers
10
Items
1345
Last sold
4 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions