Assessment 7 - Attempt Review
Assessment 7 - Attempt Review
Question 1
Correct
There is only one type of relational calculus.
Mark 1.00 out of
1.00
Select one:
True
False
Question 2
Correct
The DIFFERENCE operator subtracts one table from the other.
Mark 1.00 out of
1.00
Select one:
True
False
Question 3
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
Select one:
True
False
Question 4
Incorrect
A/an ______________ is a join where the only comparison operator used in the predicate is =.
Mark 0.00 out of
1.00
Dashboard Calendar
a. theta-join
b. equi-join
Dashboard / Courses / UNISA / 2023 / Year / INF2603-23-Y / Welcome Message / Assessment 7
c. natural join
d. outer join
Question 5
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 6
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 7
Correct
In a _________________, if no match is made between the tuples in the relation, the new relation does not include the
Mark 1.00 out of
unmatched tuple. and the column on which the join was made occurs only once in the new relation.
1.00
a. equi-join
b. natural join
c. theta-join
d. outer-join
Question 8
Correct
____ yields a vertical subset of a table.
Mark 1.00 out of
1.00
Dashboard Calendar
a. project
b. select
Dashboard / Courses / UNISA / 2023 / Year / INF2603-23-Y / Welcome Message / Assessment 7
c. union
d. difference
Question 9
Correct
A formulae in predicate calculus cannot comprise
Mark 1.00 out of
1.00
a. <
b. >
c. V
d. Ω
Question 10
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 11
Correct
The Universal Quantifiers states the formulae must be true for
Mark 1.00 out of
1.00 all
instances.
Question 12
Incorrect
What is meant by the term union compatibility?
Mark 0.00 out of
1.00
Dashboard Calendar
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.
Dashboard / Courses / UNISA / 2023 / Year / INF2603-23-Y / Welcome Message / Assessment 7
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 13
Correct
If two relations are not
Mark 1.00 out of
1.00 union-comp
, then the UNION operator cannot be applied as the results would be invalid.
Question 14
Incorrect
Tables must have the same attribute characteristics (the columns and domains must be compatible) to be used in a
Mark 0.00 out of
UNION.
1.00
Select one:
True
False
Question 15
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
Select one:
True
False
Question 16
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
Dashboard Calendar
a. equal
b. unique
Dashboard / Courses / UNISA / 2023 / Year / INF2603-23-Y / Welcome Message / Assessment 7
c. foreign
d. natural
Question 17
Correct
The equijoin takes its name from the comparison operator ____ used in the condition.
Mark 1.00 out of
1.00
a. *
b. <
c. =
d. >
Question 18
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
Question 19
Correct
The relational operators have the property of
Mark 1.00 out of
1.00 closure
; that is, the use of relational algebra operators on existing relations (tables) produces new relations.
Question 20
Correct
____ yields only the rows that appear in both tables.
Mark 1.00 out of
1.00
Dashboard Calendar
a. intersect
b. union
Dashboard / Courses / UNISA / 2023 / Year / INF2603-23-Y / Welcome Message / Assessment 7
c. difference
d. select