New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

Ace Your 1D0-541 CIW Web Development Series Exam

Page: 4 / 4
Question 16

Consider the Information Engineering diagram shown in the exhibit. Building_ID, R_ID, Room_Count and Room_Num are integer numbers, whereas Bldg_Name, Location and Res_Name are all represented by variable-length strings with a maximum of 20 characters.

Which SQL statement best implements the RESIDENT relation shown in this diagram?

Options:

A.

CREATE TABLE RESIDENT (

R_ID INTEGER NULL PRIMARY KEY,

Room_Num FLOAT,

Res_Name VARCHAR,

Building_ID INTEGER NULL,

FOREIGN KEY Building_ID REFERENCES BUILDING (Building_ID));

B.

CREATE TABLE RESIDENT (

R_ID INTEGER NOT NULL PRIMARY KEY,

Room_Num BINARY,

Res_Name VARCHAR (20),

Building_ID INTEGER NOT NULL,

FOREIGN KEY Building_ID REFERENCES BUILDING (Building_ID));

C.

CREATE TABLE RESIDENT (

R_ID INTEGER NOT NULL PRIMARY KEY,

Room_Num INTEGER,

Res_Name VARCHAR (20),

Building_ID INTEGER NOT NULL);

D.

CREATE TABLE RESIDENT (

R_ID INTEGER NOT NULL PRIMARY KEY,

Room_Num INTEGER,

Res_Name VARCHAR (20),

Building_ID INTEGER NOT NULL,

FOREIGN KEY Building_ID REFERENCES BUILDING (Building_ID));

Question 17

A relation for a construction company is shown in the exhibit. Which of the following best defines the relationship between Cust_ID and Cust_Name?

Options:

A.

Cust_Name is the determinant.

B.

Cust_Name is transitively dependent on Cust_ID.

C.

Cust_ID is transitively dependent on Cust_Name.

D.

Cust_Name is functionally dependent on Cust_ID.

Question 18

Which of the following occurs in a relation when records are added or removed?

Options:

A.

The number of domains changes.

B.

The attributes in the domain change.

C.

The cardinality of the relation is fixed but the degree varies.

D.

The degree of the relation is fixed but the cardinality varies.

Page: 4 / 4
Exam Code: 1D0-541
Exam Name: CIW v5 Database Design Specialist
Last Update: Dec 22, 2024
Questions: 128
1D0-541 pdf

1D0-541 PDF

$25.5  $84.99
1D0-541 Engine

1D0-541 Testing Engine

$28.5  $94.99
1D0-541 PDF + Engine

1D0-541 PDF + Testing Engine

$40.5  $134.99