Sie sind auf Seite 1von 7

Question 1

Answer saved
Marked out of 1.00

Flag question
Question text

A type of constraint that is used to limit the value range that can
be placed in a column.

Select one:
a. Default
b. Unqiue
c. Not Null
d. Check
Clear my choice
Question 2
Answer saved
Marked out of 1.00

Flag question
Question text

Which two of the following forms key itergrity constraint.

Select one:
a. Primary Key and Unique
b. Foreign Key and Unique
c. Check and Not Null
d. Foreign key and Primary Key
Clear my choice

Question 3
Answer saved
Marked out of 1.00

Flag question
Question text

Which of the following is the correct example of create a default


constraint.

Select one:
a. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20) DEFAULT ‘Invalid’));
b. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20),
CONSTRAINT CODE_df DEFAULT(CODE BSIT));
c. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20),
CONSTRAINT CODE_df DEFAULT(CODE 'BSIT'));
d. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20) CONSTRAINT CODE_df
DEFAULT(CODE 'BSIT');
Clear my choice
Question 4
Answer saved
Marked out of 1.00

Flag question
Question text

A type of constraint that is used to insert a default value into a


column.

Select one:
a. Not Null
b. Default
c. Unqiue
d. Check
Clear my choice
Question 5
Answer saved
Marked out of 1.00

Flag question
Question text

This is used to deactivate an integrity constraint.


Select one:
a. ENABLE CONSTRAINT
b. DISABLE CONSTRAINT
c. ON DELETE CASCADE
d. DROP CASCADE
Clear my choice
Question 6
Answer saved
Marked out of 1.00

Flag question
Question text

This is used to delete a primary key constraint in a parent table


and will automatically drop the foreign key constraint in the
child table.

Select one:
a. ON DELETE CASCADE
b. ENABLE CONSTRAINT
c. DROP CASCADE
d. DISABLE CONSTRAINT
Clear my choice
Question 7
Answer saved
Marked out of 1.00
Flag question
Question text

It is used to ensures that data values inside a database follow


defines rules for values, range and format

Select one:
a. Entity Itegrity
b. Referential Itegrity
c. Domain Intergrity
d. Not Null
Clear my choice

Question 8
Answer saved
Marked out of 1.00

Flag question
Question text

A type of constraint that ensures the relationship between


tables remain preserved as data is inserted, deleted and
modified.

Select one:
a. Unique and Primary Key
b. Primary key
c. Unique
d. Foreign key
Clear my choice
Question 9
Answer saved
Marked out of 1.00

Flag question
Question text

This is used to delete child row when a parent key is deleted.

Select one:
a. DISABLE CONSTRAINT
b. ENABLE CONSTRAINT
c. DROP CASCADE
d. ON DELETE CASCADE
Clear my choice

Question 10
Answer saved
Marked out of 1.00

Flag question
Question text

A type constraint that uniquely identifies each record in a


database table and can be applied on one or more column.

Select one:
a. Primary key
b. Unique
c. Check
d. Foreign key
Clear my choice

Das könnte Ihnen auch gefallen