| [Tut/Lab Sessions] [Tut/Lab Sessions Schedule] | [Course Information] [COMP2400/6240 Home] |
![]()
![]()
Revise the material from Lecture 01 and Lecture 02.
![]()
![]()
State whether each of the following statements/propositions is True or False.
All databases are relational.
The relational model was first introduced by Ted Codd of IBM Research in a classic paper "A Relational Model of Data for Large Shared Data Banks".
A relation is physically represented as a table.
{d, i, l, m, o, m} is a set.
{r, a, t, b, e, r, t} is a bag.
{a, b, c} is equal to {b, a, c}.
{a, b, c} is equal to {A, B, C}.
The empty set is represented by { } or Ø.
The empty set should not be represented by {Ø}.
The proper subsets of {x, y} are {x} and {y}.
![]()
Complete each of the sentences below.
The length of the line in the sentences is constant and does not necessarily indicate the length of the answer to be supplied.
One organisation which stores information about me on a database is ________________________.
The relational model has its theoretical basis in ________________________ theory and first-order predicate ________________________.
The number of attributes in a relation is called its ________________________.
The number of tuples in a relation is called its ________________________.
Each tuple is distinct; there are no ________________________ tuples.
The order of tuples has no ________________________ significance.
All information in a relational database is represented explicitly at the logical level and in exactly one way - by values in a ________________________.
The totality of objects of interest is called the ________________________ set, which is denoted by U.
The objects in a set are called the ________________________ of the set.
The ________________________ set is a subset of every set.
The subsets of S {a, b} are ________________________.
If a set contains 4 elements, the set has ________________________ subsets.
If a set contains 5 elements, the set has ________________________ proper subsets.
If A equals B, then A is a subset of B and B is a subset of ________________________.
The ________________________ of A is the set of all elements x in U such that x is not in A.
The ________________________ of B minus A is the set of all elements x in U such that x is in B and x is not in A.
The ________________________ of A and B is the set of all elements x in U such that x is in A and x is in B.
The ________________________ of A and B is the set of all elements x in U such that x is in A or x is in B.
![]()
Complete each of the following truth tables.
| fred | mary | NOT fred | (NOT fred) AND mary |
|---|---|---|---|
| TRUE | TRUE | ||
| TRUE | FALSE | ||
| FALSE | TRUE | ||
| FALSE | FALSE |
| fred | mary | fred AND mary | NOT (fred AND mary) |
|---|---|---|---|
| TRUE | TRUE | ||
| TRUE | FALSE | ||
| FALSE | TRUE | ||
| FALSE | FALSE |
| fred | mary | fred OR mary | fred XOR mary |
|---|---|---|---|
| TRUE | TRUE | ||
| TRUE | FALSE | ||
| FALSE | TRUE | ||
| FALSE | FALSE |
![]()
|
URL: http://computer/student/comp2400.2006/tutlabs/tut1/index.shtml
Last modified: Friday, 28-Jul-2006 16:38:30 EST |