Professional Documents
Culture Documents
Assessment 7 - Attempt Review2
Assessment 7 - Attempt Review2
Question 1
Correct
Domain relational calculus is classed as a
Mark 1.00 out of
1.00 non-proced
query language
Question 2
Correct
A/an ______________ is a join where the only comparison operator used in the predicate is =.
Mark 1.00 out of
1.00
a. theta-join
b. equi-join
c. natural join
d. outer join
Question 3
Correct
An equijoin which links tables on the basis of an
Mark 1.00 out of
1.00 equality
condition that compares specified columns of each table.
Correct
A left outer join on tables CUSTOMER and AGENT yields all of the rows in the CUSTOMER table, including those that do
Mark 1.00 out of
not have a matching value in the AGENT table.
1.00
Dashboard Calendar
Select one:
Dashboard / Courses / UNISA / 2023 / Year / INF2603-23-Y / Welcome Message / Assessment 7
True
False
Question 5
Correct
What is meant by the term union compatibility?
Mark 1.00 out of
1.00
a. When two or more tables share the same number of columns and when they share the same domains.
b. When two or more tables share the same number of columns.
c. When two or more tables have the same degree.
d. When two or more tables share the same (or compatible) domains.
The correct answer is: When two or more tables share the same number of columns and when they share the same
domains.
Question 6
Correct
A(n) ____ join links tables by selecting only the rows with common values in their common attribute(s).
Mark 1.00 out of
1.00
a. equal
b. unique
c. foreign
d. natural
Question 7
Correct
A formulae in predicate calculus cannot comprise
Mark 1.00 out of
1.00
a. <
b. >
c. V
d. Ω
Correct
Tables must have the same attribute characteristics (the columns and domains must be compatible) to be used in a
Mark 1.00 out of
UNION.
1.00
Dashboard Calendar
Select one:
Dashboard / Courses / UNISA / 2023 / Year / INF2603-23-Y / Welcome Message / Assessment 7
True
False
Question 9
Correct
PRODUCT yields all possible pairs of rows from two tables—also known as the
Mark 1.00 out of
1.00 Cartesian
product.
Question 10
Incorrect
A/an ______________ is a join where the tuples in a cartesian product of two relations satisfying some predicate which uses
Mark 0.00 out of
any of the following comparison signs (= ≠ < > ≤ ≥).
1.00
a. equi-join
b. natural join
c. theta-join
d. outer-join
Question 11
Correct
____ combines all rows from two tables, excluding duplicate rows.
Mark 1.00 out of
1.00
a. intersect
b. union
c. difference
d. select
Correct
There is only one type of relational calculus.
Mark 1.00 out of
1.00
Dashboard Calendar
Select one:
True
Dashboard / Courses / UNISA / 2023 / Year / INF2603-23-Y / Welcome Message / Assessment 7
False
Question 13
Correct
____ yields only the rows that appear in both tables.
Mark 1.00 out of
1.00
a. intersect
b. union
c. difference
d. select
Question 14
Correct
In an outer join, the matched pairs would be retained and any unmatched values in the other table would be left ____.
Mark 1.00 out of
1.00
a. in another table
b. null
c. out of the results
d. with matching values from the original table
Question 15
Correct
The DIVIDE operation uses one single-column table (e.g., column "a") as the divisor and one two-column table (e.g.,
Mark 1.00 out of
columns "a" and "b") as the dividend.
1.00
Select one:
True
False
Correct
The SELECT operator yields a vertical subset of a table.
Mark 1.00 out of
1.00
Dashboard Calendar
Select one:
True
Dashboard / Courses / UNISA / 2023 / Year / INF2603-23-Y / Welcome Message / Assessment 7
False
Question 17
Correct
____, also known as RESTRICT, yields values for all rows found in a table that satisfy a given condition.
Mark 1.00 out of
1.00
a. Intersect
b. Union
c. Difference
d. Select
Question 18
Correct
To be considered minimally relational, the DBMS must support the key relational operators ____, PROJECT, and JOIN.
Mark 1.00 out of
1.00
a. intersect
b. union
c. difference
d. select
Question 19
Correct
____ yields a vertical subset of a table.
Mark 1.00 out of
1.00
a. project
b. select
c. union
d. difference
Correct
In a natural join, the column on which the join was made occurs twice in the new table.
Mark 1.00 out of
1.00
Dashboard Calendar
Select one:
True
Dashboard / Courses / UNISA / 2023 / Year / INF2603-23-Y / Welcome Message / Assessment 7
False