Search Header Logo

DBI202 02

Authored by Le CT)

World Languages

KG

Used 32+ times

DBI202 02
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

QN=21 (8032) An association class in UML is similar to ______ in the ER model

a. attributes on a relationship

b. Attributes

c. Entities

d. entity sets

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

QN=22 (8009) In UML, what is the difference between an aggregation and a composition?

a. In composition, when the owning object is destroyed, so are the contained objects. In aggregation, this is not necessarily true.

b. In aggregation, when the owning object is destroyed, so are the contained objects. In composition, this is not necessarily true.

c. All of the others

d. There is no difference between an aggregation and a composition

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

QN=23 (8222) Which of the following is NOT a standard aggregation operator?

a. GROUP

b. SUM

c. COUNT

d. AVG

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

QN=24 (8238) Consider the law, that holds for set relations:
T intersect(R union S) = (T intersect R) union (T intersect S) The above law still hold for bag relations?

a. True

b. False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

QN=25 (8236) Choose the correct statement:

a. Aggregate functions perform a calculation on a set of values and return a single value

b. Aggregate functions perform a calculation on a single value and return a single value

c. Aggregate functions perform a calculation on a set of values and return a relation

d. Aggregate functions perform a calculation on a set of values and return a row

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

QN=26 (8507) Suppose the relation S(B,C,D) has tuples:

B C D
------------------------------------
a 4 6
c 6 8
c 5 5
e 9 9
F 10 10
c 7 9

Compute the result of the following query:

SELECT SUM(D)
FROM S
WHERE D < 8 AND D > 5

Choose the row that appears in the computed result.

a. 6

b. 7

c. 8

d. 9

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

QN=27 (8500) Suppose the relation S(B,C,D) has tuples:

B C D
-----------------------------------
a 4 6
c 6 8
c 5 5
e 9 9
f 10 10
c 7 9

Compute the result of the following query:

SELECT D, SUM(C)
FROM S
GROUP BY D

Choose rows that are appear in the computed result

a. (9,12)

b. (9,14)

c. (9,16)

d. (9,18)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?