Sei sulla pagina 1di 61

Question 1 of 20

What is data integrity?

5.0/ 5.0 Points

A.It is the data contained in database that is shared.


B.It is the data contained in database that is secured.
C.It is the data contained in database that is non redundant.
D.It is the data contained in database that is accurate and consistent.

Question 2 of 20
A set of possible data values is called:

5.0/ 5.0 Points

A.Attribute.
B.Degree.
C.Domain.
D.Tuple.
5.0/ 5.0 Points

Question 3 of 20
The entity-relationship diagrams A and B shows the relationships between three entities in a school:
teacher, class, and classroom. Which of the following is an appropriate interpretation concerning the
diagrams? Here, " 1 1 " shows a one-to-one relationship while " 1 * " shows a one-to-many relationship.

A.In A, one class is always assigned to the same classroom. In B, one


class may be assigned to one or more classrooms.
B.In A, one class is always supervised by one teacher. In B, one class may
be supervised by one or more teachers.

C.In A, when a teacher or a classroom is decided, a single class will be


decided. In B, if a teacher and a classroom are decided, a single class
will be decided.
D.In A, a teacher is responsible for one class only. In B, a teacher may
be responsible for one or more classes.
Question 4 of 20
An advantage of the database management approach is:

5.0/ 5.0 Points

A.Data is dependent on programs.


B.Data redundancy increases.
C.Data is integrated and can be accessed by multiple programs.
D. None of the above.

Question 5 of 20
It is better to use files than a DBMS when there are:

5.0/ 5.0 Points

A.Stringent real-time requirements.


B.Multiple users wish to access the data.
C.Complex relationships among data.
D. All of the above.

Question 6 of 20
NULL is:

5.0/ 5.0 Points

A.The same as 0 for integer


B.The same as blank for character
C.The same as 0 for integer and blank for character
D.Not a value

Question 7 of 20

0.0/ 5.0 Points

If both the functional dependencies : XY and YX hold for two attributes X and Y then the relationship
between X and Y is

A.1:1
B.1:M
C.M:N
D.M:1

Question 8 of 20
Which of the following is the appropriate characteristic of a database?

5.0/ 5.0 Points

A.Because a database is created to suit the format of the data, it cannot respond flexibly to
data format changes.
B.It is difficult to share data between operations due to an exclusive control function.
C.The procedure for making backups is complicated.
D.It can be accessed by multiple users at the same time due to an exclusive control
function.
Question 9 of 20
In case of entity integrity, the primary key may be:

5.0/ 5.0 Points

A.Not Null
B.Both Null & not Null.
C.Null

Question 10 of 20
Which of the following are the properties of entities?

A.Groups
B.Switchboards

5.0/ 5.0 Points

C.Attributes
D.Table
0.0/ 5.0 Points

Question 11 of 20
You are tasked with creating a database to manage where computers are installed at a company that has
offices in several buildings. You create an asset table, a room table, and a building table, and link
each of them together. When new data is entered, the data in the referenced table must already exist.
Which of the following is the appropriate order of in-put? Here, the underlined items in each table are
either primary or foreign keys.

A.Building table Room table Asset table


B.Room table Building table Asset table
C.Asset table Building table Room table
D.Room table Asset table Building table
0.0/ 5.0 Points

Question 12 of 20
You are building a new database for a company with 10 departments. Each department contains multiple
employees. In addition, each employee might work for several departments. How should you logically
model the relationship between the department entity and the employee entity?

User(User_ID, User_Name, Address)


Reservation(User_ID, Book_Title_ID, Reservation_Date)
Book_Title(Book_Title_ID, Category_Code, Book_Title, Author)
Stocked_Book(Stocked_Book_ID, Book_Title_ID, Purchase_Date, Cumulative_Lending_Count)

A.Create a new entry, create a one-to-many relationship from the new entry to the
employee entry, and then create a one-to-many relationship from the entry to the department
entry.
B.Create a mandatory one-to-many relationship between department and employee.
C.Create an optional one-to-many relationship between department and employee.
D.Create a new entry, create a one-to-many relationship from the employee to the new
entry, and create a one-to-many relationship from the department entry to the new entry.
Question 13 of 20
The file organization that provides very fast access to any arbitrary record of a file is:

5.0/ 5.0 Points

A.Ordered file.
B. B-tree.
C.Unordered file.
D.Hashed file.

Question 14 of 20
A relation is considered a:

5.0/ 5.0 Points

A.three-dimensional table.
B.two-dimensional table.
C.Column.
D. one-dimensional table.
5.0/ 5.0 Points

Question 15 of 20
In the ERD diagram, the one-to-many relationship, "a company has multiple employees," is expressed as
follows:

Which of the following statements correctly explains the above diagram?

A.There are multiple companies, and each company has a shareholder.


B.There are multiple companies, and each company has multiple shareholders.
C.One company has one shareholder.
D.One company has multiple shareholders.
0.0/ 5.0 Points

Question 16 of 20
If the condition given below applies, which of the following is appropriate as an E-R diagram showing the
departments employees belong to?

A.

B.

C.

D.

Question 17 of 20
The values of the attribute describes a particular_____________

0.0/ 5.0 Points

A.Entity set
B.Entity instance
C.Organization
D.File

Question 18 of 20
In the relational modes, cardinality is termed as:

5.0/ 5.0 Points

A.Number of tables.
B. Number of tuples.
C.Number of attributes.
D.Number of constraints.

Question 19 of 20
What is a relationship called when it is maintained between two entities?

5.0/ 5.0 Points

A.Ternary
B.Binary
C.Quaternary
D.Unary
5.0/ 5.0 Points

Question 20 of 20
Which of the following appropriately describes a domain (defined area), a term used for relational
databases?

A. It is a specification for copying the real world to a database.


B.It is a relationship derived by applying the relational operations to the basic relationship.
C.It is the general term for data insertion, updating, deletion, and search in a database.

D.It is a set of values that attributes can hold.

Question 1 of 20
The database environment has all of the following components except:

0.0/ 5.0 Points

A.Users.
B.Database.
C.Separate files.
D. Database administrator.

Question 2 of 20
A relation is considered a:

5.0/ 5.0 Points

A.three-dimensional table.
B.two-dimensional table.
C.Column.
D. one-dimensional table.
0.0/ 5.0 Points

Question 3 of 20
Which of the following appropriately describes a domain (defined area), a term used for relational
databases?

A.It is a relationship derived by applying the relational operations to the basic


relationship.
B. It is a specification for copying the real world to a database.
C.It is a set of values that attributes can hold.
D.It is the general term for data insertion, updating, deletion, and search in a database.

Question 4 of 20
DBMS helps achieve:

5.0/ 5.0 Points

A.Data independence.
B.Centralized control of data.
C.Neither (A) nor (B).
D.Both (A) and (B).

Question 5 of 20
An entity set that does not have sufficient attributes to form a primary key is a:

5.0/ 5.0 Points

A.Weak entity set.


B.Primary entity set.
C.Strong entity set.
D.Simple entity set.
0.0/ 5.0 Points

Question 6 of 20
The method in which records are physically stored in a specified order according to a key field in each
record

A.Hash.
B.Direct.
C.Sequential.
D.All of the above.

Question 7 of 20
A set of possible data values is called:

A.Degree.
B.Tuple.
C.Domain.

5.0/ 5.0 Points

D.Attribute.
5.0/ 5.0 Points

Question 8 of 20
Which of the following appropriately describes a schema in a relational database management system?

A.It is the general term for database operations such as data insertion, updating, deletion,
search, etc.
B.It is the general term for various conditions and constraints that are used to maintain the
database in absolutely perfect condition.
C.It is a set of data definitions such as the data properties, format, relationship with other
data, etc.
D.It is not an actual table but a virtual table from the perspective of the user.
5.0/ 5.0 Points

Question 9 of 20
The entity-relationship diagrams A and B shows the relationships between three entities in a school:
teacher, class, and classroom. Which of the following is an appropriate interpretation concerning the
diagrams? Here, " 1 1 " shows a one-to-one relationship while " 1 * " shows a one-to-many relationship.

A.In A, when a teacher or a classroom is decided, a single class will be


decided. In B, if a teacher and a classroom are decided, a single class
will be decided.
B.In A, one class is always assigned to the same classroom. In B, one
class may be assigned to one or more classrooms.
C.In A, one class is always supervised by one teacher. In B, one class may
be supervised by one or more teachers.
D.In A, a teacher is responsible for one class only. In B, a teacher may
be responsible for one or more classes.
Question 10 of 20

0.0/ 5.0 Points

In an E-R diagram double lines indicate

A.Total participation.
B.Multiple participation.
C.Cardinality N.
D.None of the above.

Question 11 of 20
In a relation:

5.0/ 5.0 Points

A.Ordering of rows is immaterial.


B.No two rows are identical.
C.(A) and (B) both are true.
D.None of these.

Question 12 of 20
Which of the following is not a restriction for a table to be a relation?

0.0/ 5.0 Points

A.The cells of the table must contain a single value.


B.No two rows in a table may be identical.
C.The columns must be ordered.
D.All of the entries in any column must be of the same kind.

Question 13 of 20
The conceptual model is:

A.Dependent on software.
B.Dependent on hardware.

0.0/ 5.0 Points

C. Independent of both hardware and software.


D.Dependent on both hardware and software.

Question 14 of 20
The values of the attribute describes a particular_____________

0.0/ 5.0 Points

A.Organization
B.Entity set
C.File
D.Entity instance

Question 15 of 20
The file organization that provides very fast access to any arbitrary record of a file is:

5.0/ 5.0 Points

A. B-tree.
B.Hashed file.
C.Unordered file.
D.Ordered file.

Question 16 of 20
In case of entity integrity, the primary key may be:

5.0/ 5.0 Points

A.Both Null & not Null.


B.Not Null
C.Null
5.0/ 5.0 Points

Question 17 of 20
The DBMS acts as an interface between what two components of an enterprise-class database system?

A. Database application and the database

B.Database application and SQL


C. Data and the database
D.The user and the database application

Question 18 of 20
The RDBMS terminology for a row is:

5.0/ 5.0 Points

A.Attribute.
B.Relation.
C.Tuple.
D.Degree.

Question 19 of 20
A relational database developer refers to a record as:

0.0/ 5.0 Points

A.A criteria.
B.A tuple.
C.An attribute.
D.A relation.

Question 20 of 20
Which of the following is another name for weak entity?

A.Child
B.Owner
C.Dominant
D.All of the above

0.0/ 5.0 Points

HAUI_010_NSD_Quiz1_DB Designer
Return to Asse ssment List

Part 1 of 1 Question 1 of 20

80.0/ 100.0 Points


0.0/ 5.0 Points

Conceptual design
A.Is a documentation technique.
B.Is designing the relational model.
C. Needs data volume and processing frequencies to determine the size of the database.
D.Involves modelling independent of the DBMS.

Question 2 of 20

0.0/ 5.0 Points

In an E-R diagram attributes are represented by:


A.Rectangle.
B.Ellipse.
C.Square.
D.Triangle.

Question 3 of 20

A set of possible data values is called:


A.Tuple.
B.Domain.
C.Attribute.
D.Degree.

5.0/ 5.0 Points

Question 4 of 20

5.0/ 5.0 Points

The RDBMS terminology for a row is:


A.Relation.
B.Tuple.
C.Degree.
D.Attribute.

Question 5 of 20

5.0/ 5.0 Points

The DBMS acts as an interface between what two components of an enterprise-class database
system?
A.Database application and SQL
B. Database application and the database
C. Data and the database
D.The user and the database application

Question 6 of 20

0.0/ 5.0 Points

You are building a new database for a company with 10 departments. Each department contains
multiple employees. In addition, each employee might work for several departments. How
should you logically model the relationship between the department entity and the employee
entity?

User(User_ID, User_Name, Address)


Reservation(User_ID, Book_Title_ID, Reservation_Date)
Book_Title(Book_Title_ID, Category_Code, Book_Title, Author)
Stocked_Book(Stocked_Book_ID, Book_Title_ID, Purchase_Date, Cumulative_Lending_Count)

A.Create a new entry, create a one-to-many relationship from the new entry to the
employee entry, and then create a one-to-many relationship from the entry to the department
entry.
B.Create an optional one-to-many relationship between department and employee.
C.Create a new entry, create a one-to-many relationship from the employee to the new
entry, and create a one-to-many relationship from the department entry to the new entry.
D.Create a mandatory one-to-many relationship between department and employee.

Question 7 of 20

5.0/ 5.0 Points

A DBMS query language is designed to:


A.Support end users who use English-like commands.
B.Support in the development of complex applications software.
C.Specify the structure of a database.
D. All of the above.

Question 8 of 20

5.0/ 5.0 Points

Consider the join of a relation R with relation S. If R has m tuples and S has n tuples, then the
maximum size of join is:
A.mn
B.m+n
C.2(m+n)
D.(m+n)/2

Question 9 of 20

5.0/ 5.0 Points

Which of the following appropriately describes a schema in a relational database management


system?
A.It is a set of data definitions such as the data properties, format, relationship with other

data, etc.
B.It is not an actual table but a virtual table from the perspective of the user.
C.It is the general term for various conditions and constraints that are used to maintain the
database in absolutely perfect condition.
D.It is the general term for database operations such as data insertion, updating, deletion,
search, etc.
Question 10 of 20

5.0/ 5.0 Points

The following data model has been created as a part of a library reservation system. Which is the
correct description for it? In this question, 1 * means one-to-many cardinality and the underlined
attributes in the table definition are primary keys

User(User_ID, User_Name, Address) Reservation(User_ID, Book_Title_ID, Reservation_Date)


Book_Title(Book_Title_ID, Category_Code, Book_Title, Author)
Stocked_Book(Stocked_Book_ID, Book_Title_ID, Purchase_Date,
Cumulative_Lending_Count)
A.The Book_Title entity is an abstract entity that has no physical substance
B.The Stocked_Book to be lent can be decided at the time of reservation
C.The cardinality between the Book_Title entity and Stocked_Book entity is opposite
D. It is redundant to separate the Book_Title entity and Stocked_Booked entity

Question 11 of 20

In a relation:
A.Ordering of rows is immaterial.
B.No two rows are identical.
C.(A) and (B) both are true.

5.0/ 5.0 Points

D.None of these.

Question 12 of 20

5.0/ 5.0 Points

Which of the following is expressed by an E-R diagram?


A.Relation between entities
B.Relation between process and relationship
C.Relation between processes
D.Relation between entity and process

Question 13 of 20

5.0/ 5.0 Points

Which of the following is described graphically using an E-R diagram?


A.Data source and destination
B.Hierarchical data structure
C.Data flows between processes
D.Entities and relationships between entities

Question 14 of 20

5.0/ 5.0 Points

In the relational modes, cardinality is termed as:


A. Number of tuples.
B.Number of attributes.
C.Number of constraints.
D.Number of tables.

Question 15 of 20

The values of the attribute describes a particular_____________

5.0/ 5.0 Points

A.Organization
B.Entity set
C.Entity instance
D.File

Question 16 of 20

0.0/ 5.0 Points

If the condition given below applies, which of the following is appropriate as an E-R diagram
showing the departments employees belong to?

A.

B.

C.

D.

Question 17 of 20

5.0/ 5.0 Points

Which of the following is not a restriction for a table to be a relation?


A.All of the entries in any column must be of the same kind.
B.No two rows in a table may be identical.
C.The columns must be ordered.
D.The cells of the table must contain a single value.

Question 18 of 20

An entity set that does not have sufficient attributes to form a primary key is a:

5.0/ 5.0 Points

A.Simple entity set.


B.Primary entity set.
C.Weak entity set.
D.Strong entity set.

Question 19 of 20

5.0/ 5.0 Points

In the ERD diagram, the one-to-many relationship, "a company has multiple employees," is
expressed as follows:

Which of the following statements correctly explains the above diagram?


A.One company has multiple shareholders.
B.There are multiple companies, and each company has multiple shareholders.
C.There are multiple companies, and each company has a shareholder.
D.One company has one shareholder.

Question 20 of 20

In E-R diagram generalization is represented by


A.Dashed ellipse
B.Ellipse
C.Rectangle

5.0/ 5.0 Points

D.Triangle

Question 1 of 20

5.0/ 5.0 Points

A relational database developer refers to a record as:


A.A criteria.
B.An attribute.
C.A relation.
D.A tuple.

Question 2 of 20

0.0/ 5.0 Points

In an E-R diagram double lines indicate


A.Total participation.
B.Multiple participation.
C.Cardinality N.
D.None of the above.

Question 3 of 20

5.0/ 5.0 Points

NULL is:
A.The same as 0 for integer
B.The same as blank for character
C.The same as 0 for integer and blank for character
D.Not a value

Question 4 of 20

0.0/ 5.0 Points

If both the functional dependencies : XY and YX hold for two attributes X and Y then the
relationship between X and Y is
A.M:1
B.1:1
C.M:N
D.1:M

Question 5 of 20

5.0/ 5.0 Points

The DBMS acts as an interface between what two components of an enterprise-class database
system?
A. Database application and the database
B. Data and the database
C.Database application and SQL
D.The user and the database application

Question 6 of 20

0.0/ 5.0 Points

Which of the following is expressed by an E-R diagram?


A.Relation between entities
B.Relation between entity and process
C.Relation between processes
D.Relation between process and relationship

Question 7 of 20

DBMS helps achieve:


A.Data independence.

5.0/ 5.0 Points

B.Centralized control of data.


C.Neither (A) nor (B).
D.Both (A) and (B).

Question 8 of 20

5.0/ 5.0 Points

The database environment has all of the following components except:


A.Separate files.
B.Database.
C.Users.
D. Database administrator.

Question 9 of 20

0.0/ 5.0 Points

The following data model has been created as a part of a library reservation system. Which is the
correct description for it? In this question, 1 * means one-to-many cardinality and the underlined
attributes in the table definition are primary keys

User(User_ID, User_Name, Address) Reservation(User_ID, Book_Title_ID, Reservation_Date)


Book_Title(Book_Title_ID, Category_Code, Book_Title, Author)
Stocked_Book(Stocked_Book_ID, Book_Title_ID, Purchase_Date,
Cumulative_Lending_Count)
A.The cardinality between the Book_Title entity and Stocked_Book entity is opposite
B. It is redundant to separate the Book_Title entity and Stocked_Booked entity
C.The Book_Title entity is an abstract entity that has no physical substance
D.The Stocked_Book to be lent can be decided at the time of reservation

Question 10 of 20

5.0/ 5.0 Points

Which of the following are the properties of entities?


A.Attributes
B.Switchboards
C.Table
D.Groups

Question 11 of 20

5.0/ 5.0 Points

A relation is considered a:
A.three-dimensional table.
B.two-dimensional table.
C. one-dimensional table.
D.Column.

Question 12 of 20

5.0/ 5.0 Points

Conceptual design
A.Is designing the relational model.
B.Is a documentation technique.
C. Needs data volume and processing frequencies to determine the size of the database.
D.Involves modelling independent of the DBMS.

Question 13 of 20

0.0/ 5.0 Points

When the data model is represented to conform to the notational convention shown below,
which of the following statements appropriately interprets the designated E-R diagram?

A.It doe not occur that a single order placement is given for multiple types of products.
B.A single product is supplied by a single supplier.
C.It does not occur that a single order placement is given to multiple suppliers.
D.Order statements and delivery statements have a one-to-one correspondence.

Question 14 of 20

5.0/ 5.0 Points

You are building a new database for a company with 10 departments. Each department contains
multiple employees. In addition, each employee might work for several departments. How
should you logically model the relationship between the department entity and the employee
entity?

User(User_ID, User_Name, Address)


Reservation(User_ID, Book_Title_ID, Reservation_Date)
Book_Title(Book_Title_ID, Category_Code, Book_Title, Author)
Stocked_Book(Stocked_Book_ID, Book_Title_ID, Purchase_Date, Cumulative_Lending_Count)

A.Create a mandatory one-to-many relationship between department and employee.


B.Create a new entry, create a one-to-many relationship from the employee to the new
entry, and create a one-to-many relationship from the department entry to the new entry.
C.Create an optional one-to-many relationship between department and employee.
D.Create a new entry, create a one-to-many relationship from the new entry to the
employee entry, and then create a one-to-many relationship from the entry to the department
entry.
Question 15 of 20

5.0/ 5.0 Points

You are tasked with creating a database to manage where computers are installed at a company
that has offices in several buildings. You create an asset table, a room table, and a
building table, and link each of them together. When new data is entered, the data in the
referenced table must already exist. Which of the following is the appropriate order of in-put?
Here, the underlined items in each table are either primary or foreign keys.

A.Room table Asset table Building table


B.Room table Building table Asset table
C.Asset table Building table Room table
D.Building table Room table Asset table

Question 16 of 20

A DBMS query language is designed to:


A.Support end users who use English-like commands.

5.0/ 5.0 Points

B.Support in the development of complex applications software.


C.Specify the structure of a database.
D. All of the above.

Question 17 of 20

0.0/ 5.0 Points

Which of the following appropriately describes a schema in a relational database management


system?
A.It is the general term for various conditions and constraints that are used to maintain the
database in absolutely perfect condition.
B.It is a set of data definitions such as the data properties, format, relationship with other
data, etc.
C.It is not an actual table but a virtual table from the perspective of the user.
D.It is the general term for database operations such as data insertion, updating, deletion,
search, etc.
Question 18 of 20

5.0/ 5.0 Points

Which of the following is another name for weak entity?


A.Child
B.Owner
C.Dominant
D.All of the above

Question 19 of 20

5.0/ 5.0 Points

Consider the join of a relation R with relation S. If R has m tuples and S has n tuples, then the
maximum size of join is:
A.m+n
B.2(m+n)

C.(m+n)/2
D.mn
5.0/ 5.0 Points

Question 20 of 20

E-R model uses this symbol to represent weak entity set?


A.Dotted rectangle.
B.Diamond.
C.Doubly outlined rectangle.
D.None of these.

HAUI_010_NSD_Quiz1_DB Designer
Return to Asse ssment List

Part 1 of 1 -

50.0/ 100.0 Points

Question 1 of 20

5.0/ 5.0 Points

Which of the following appropriately describes a schema in a relational database management


system?
A.It is a set of data definitions such as the data properties, format, relationship with other
data, etc.
B.It is not an actual table but a virtual table from the perspective of the user.
C.It is the general term for various conditions and constraints that are used to maintain the
database in absolutely perfect condition.
D.It is the general term for database operations such as data insertion, updating, deletion,
search, etc.
Question 2 of 20

0.0/ 5.0 Points

The conceptual model is:


A. Independent of both hardware and software.
B.Dependent on software.
C.Dependent on both hardware and software.
D.Dependent on hardware.

Question 3 of 20

0.0/ 5.0 Points

In E-R Diagram total participation is represented by:


A.Double lines
B.Single line
C.Dashed lines
D.Triangle

Question 4 of 20

5.0/ 5.0 Points

A relation is considered a:
A. one-dimensional table.
B.Column.
C.two-dimensional table.
D.three-dimensional table.

Question 5 of 20

What is a relationship called when it is maintained between two entities?


A.Binary
B.Quaternary

5.0/ 5.0 Points

C.Ternary
D.Unary

Question 6 of 20

0.0/ 5.0 Points

The values of the attribute describes a particular_____________


A.File
B.Entity set
C.Entity instance
D.Organization

Question 7 of 20

0.0/ 5.0 Points

The file organization that provides very fast access to any arbitrary record of a file is:
A.Ordered file.
B. B-tree.
C.Hashed file.
D.Unordered file.

Question 8 of 20

5.0/ 5.0 Points

In an E-R diagram attributes are represented by:


A.Square.
B.Rectangle.
C.Triangle.
D.Ellipse.

Question 9 of 20

Which of the following is an accurate statement in regard to an E-R diagram?

0.0/ 5.0 Points

A.It clarifies the operational relations between individual processes and data. As a result,
the relations between introduced entities express the individual operational processes.
B.It creates an abstraction of information handled in operations, so as to express entities
and the relations between them.
C. It is created as a pretext to implementing a relational database
D.It expresses the entire process from data creating to destruction.

Question 10 of 20

5.0/ 5.0 Points

Which of the following is described graphically using an E-R diagram?


A.Hierarchical data structure
B.Data flows between processes
C.Data source and destination
D.Entities and relationships between entities

Question 11 of 20

0.0/ 5.0 Points

NULL is:
A.The same as 0 for integer
B.The same as blank for character
C.The same as 0 for integer and blank for character
D.Not a value

Question 12 of 20

0.0/ 5.0 Points

Conceptual design
A.Is designing the relational model.
B. Needs data volume and processing frequencies to determine the size of the database.

C.Involves modelling independent of the DBMS.


D.Is a documentation technique.

Question 13 of 20

5.0/ 5.0 Points

Which of the following is the appropriate characteristic of a database?


A.The procedure for making backups is complicated.
B.It is difficult to share data between operations due to an exclusive control function.
C.It can be accessed by multiple users at the same time due to an exclusive control
function.
D.Because a database is created to suit the format of the data, it cannot respond flexibly to
data format changes.
Question 14 of 20

5.0/ 5.0 Points

In the relational modes, cardinality is termed as:


A.Number of attributes.
B.Number of tables.
C. Number of tuples.
D.Number of constraints.

Question 15 of 20

5.0/ 5.0 Points

The entity-relationship diagrams A and B shows the relationships between three entities in a
school: teacher, class, and classroom. Which of the following is an appropriate interpretation
concerning the diagrams? Here, " 1 1 " shows a one-to-one relationship while " 1 * " shows a
one-to-many relationship.

A.In A, when a teacher or a classroom is decided, a single class will be


decided. In B, if a teacher and a classroom are decided, a single class
will be decided.
B.In A, one class is always assigned to the same classroom. In B, one
class may be assigned to one or more classrooms.
C.In A, a teacher is responsible for one class only. In B, a teacher may
be responsible for one or more classes.
D.In A, one class is always supervised by one teacher. In B, one class may
be supervised by one or more teachers.
Question 16 of 20

5.0/ 5.0 Points

What is data integrity?


A.It is the data contained in database that is secured.
B.It is the data contained in database that is accurate and consistent.
C.It is the data contained in database that is shared.
D.It is the data contained in database that is non redundant.

Question 17 of 20

5.0/ 5.0 Points

Which of the following are the properties of entities?


A.Groups
B.Switchboards
C.Attributes
D.Table

Question 18 of 20

DBMS helps achieve:

0.0/ 5.0 Points

A.Data independence.
B.Centralized control of data.
C.Neither (A) nor (B).
D.Both (A) and (B).
0.0/ 5.0 Points

Question 19 of 20

It is better to use files than a DBMS when there are:


A.Stringent real-time requirements.
B.Multiple users wish to access the data.
C.Complex relationships among data.
D. All of the above.
0.0/ 5.0 Points

Question 20 of 20

An entity set that does not have sufficient attributes to form a primary key is a:
A.Primary entity set.
B.Strong entity set.
C.Weak entity set.
D.Simple entity set.

HAUI_010_NSD_Quiz1_DB Designer
Return to Asse ssment List

Part 1 of 1 -

40.0/ 100.0 Points

Question 1 of 20

0.0/ 5.0 Points

In E-R Diagram relationship type is represented by:


A.Rectangle
B.Ellipse
C.Diamond
D.Dashed ellipse

Question 2 of 20

5.0/ 5.0 Points

In a relation:
A.Ordering of rows is immaterial.
B.No two rows are identical.
C.(A) and (B) both are true.
D.None of these.

Question 3 of 20

0.0/ 5.0 Points

Which of the following appropriately describes a schema in a relational database management


system?
A.It is the general term for various conditions and constraints that are used to maintain the
database in absolutely perfect condition.
B.It is not an actual table but a virtual table from the perspective of the user.
C.It is the general term for database operations such as data insertion, updating, deletion,
search, etc.
D.It is a set of data definitions such as the data properties, format, relationship with other
data, etc.
Question 4 of 20

5.0/ 5.0 Points

The method in which records are physically stored in a specified order according to a key field

in each record
A.Hash.
B.Direct.
C.Sequential.
D.All of the above.

Question 5 of 20

5.0/ 5.0 Points

A relational database developer refers to a record as:


A.An attribute.
B.A criteria.
C.A relation.
D.A tuple.

Question 6 of 20

0.0/ 5.0 Points

The following data model has been created as a part of a library reservation system. Which is the
correct description for it? In this question, 1 * means one-to-many cardinality and the underlined
attributes in the table definition are primary keys

User(User_ID, User_Name, Address) Reservation(User_ID, Book_Title_ID, Reservation_Date)


Book_Title(Book_Title_ID, Category_Code, Book_Title, Author)
Stocked_Book(Stocked_Book_ID, Book_Title_ID, Purchase_Date,
Cumulative_Lending_Count)
A.The Book_Title entity is an abstract entity that has no physical substance
B. It is redundant to separate the Book_Title entity and Stocked_Booked entity

C.The cardinality between the Book_Title entity and Stocked_Book entity is opposite
D.The Stocked_Book to be lent can be decided at the time of reservation

Question 7 of 20

0.0/ 5.0 Points

Which of the following appropriately describes a domain (defined area), a term used for
relational databases?
A.It is a set of values that attributes can hold.
B. It is a specification for copying the real world to a database.
C.It is the general term for data insertion, updating, deletion, and search in a database.
D.It is a relationship derived by applying the relational operations to the basic
relationship.
Question 8 of 20

0.0/ 5.0 Points

An instance of relational schema R (A, B, C) has distinct values of A including NULL values.
Which one of the following is true?
A.A is a candidate key.
B.A is not a candidate key
C.A is a primary Key
D.Both (A) and (C)

Question 9 of 20

A set of possible data values is called:


A.Degree.
B.Domain.
C.Attribute.
D.Tuple.

Question 10 of 20

0.0/ 5.0 Points

A table can have only one


A.Primary key
B.Secondary key
C.Unique key
D.Alternate key

Question 11 of 20

5.0/ 5.0 Points

Which of the following statements correctly describes data normalization?


A.It reduces the amount of required memory space by simplifying database structures.
B.It facilitates application program creation
C. It increases the efficiency of database searches
D.It prevent data multiplicity, thereby making maintenance and management easier

Question 12 of 20

0.0/ 5.0 Points

If the condition given below applies, which of the following is appropriate as an E-R diagram
showing the departments employees belong to?

A.

B.

C.

D.

Question 13 of 20

5.0/ 5.0 Points

DBMS helps achieve:


A.Data independence.
B.Centralized control of data.
C.Neither (A) nor (B).
D.Both (A) and (B).

Question 14 of 20

5.0/ 5.0 Points

Which option is not TRUE?


A.Use varchar when your strings do not have a fixed length.
B.Use char when your strings are always going to be the same length.
C.(A) and (B) is true.
D.Neither (A) nor (B)

Question 15 of 20

5.0/ 5.0 Points

In an E-R diagram an entity set is represent by a:


A.Diamond box.
B.Ellipse.
C.Rectangle.
D.Circle.

Question 16 of 20

0.0/ 5.0 Points

You are tasked with creating a database to manage where computers are installed at a company
that has offices in several buildings. You create an asset table, a room table, and a
building table, and link each of them together. When new data is entered, the data in the
referenced table must already exist. Which of the following is the appropriate order of in-put?
Here, the underlined items in each table are either primary or foreign keys.

A.Building table Room table Asset table


B.Room table Asset table Building table
C.Room table Building table Asset table
D.Asset table Building table Room table

Question 17 of 20

0.0/ 5.0 Points

The DBMS acts as an interface between what two components of an enterprise-class database
system?
A. Database application and the database
B. Data and the database
C.The user and the database application
D.Database application and SQL

Question 18 of 20

E-R model uses this symbol to represent weak entity set?


A.Dotted rectangle.
B.Diamond.
C.Doubly outlined rectangle.
D.None of these.

Question 19 of 20

0.0/ 5.0 Points

The conceptual model is:


A. Independent of both hardware and software.
B.Dependent on hardware.
C.Dependent on software.
D.Dependent on both hardware and software.

Question 20 of 20

0.0/ 5.0 Points

Which of the following is described graphically using an E-R diagram?


A.Hierarchical data structure
B.Data source and destination
C.Data flows between processes
D.Entities and relationships between entities

Question 1 of 20
What is data integrity?

5.0/ 5.0 Points

A.It is the data contained in database that is shared.


B.It is the data contained in database that is secured.
C.It is the data contained in database that is non redundant.
D.It is the data contained in database that is accurate and consistent.

Question 2 of 20
A set of possible data values is called:

5.0/ 5.0 Points

A.Attribute.
B.Degree.
C.Domain.
D.Tuple.
5.0/ 5.0 Points

Question 3 of 20
The entity-relationship diagrams A and B shows the relationships between three entities in a school:
teacher, class, and classroom. Which of the following is an appropriate interpretation concerning the
diagrams? Here, " 1 1 " shows a one-to-one relationship while " 1 * " shows a one-to-many relationship.

A.In A, one class is always assigned to the same classroom. In B, one


class may be assigned to one or more classrooms.
B.In A, one class is always supervised by one teacher. In B, one class may
be supervised by one or more teachers.
C.In A, when a teacher or a classroom is decided, a single class will be
decided. In B, if a teacher and a classroom are decided, a single class
will be decided.
D.In A, a teacher is responsible for one class only. In B, a teacher may
be responsible for one or more classes.
Question 4 of 20
An advantage of the database management approach is:

A.Data is dependent on programs.


B.Data redundancy increases.

5.0/ 5.0 Points

C.Data is integrated and can be accessed by multiple programs.


D. None of the above.

Question 5 of 20
It is better to use files than a DBMS when there are:

5.0/ 5.0 Points

A.Stringent real-time requirements.


B.Multiple users wish to access the data.
C.Complex relationships among data.
D. All of the above.

Question 6 of 20
NULL is:

5.0/ 5.0 Points

A.The same as 0 for integer


B.The same as blank for character
C.The same as 0 for integer and blank for character
D.Not a value
0.0/ 5.0 Points

Question 7 of 20
If both the functional dependencies : XY and YX hold for two attributes X and Y then the relationship
between X and Y is

A.1:1
B.1:M
C.M:N
D.M:1

Question 8 of 20
Which of the following is the appropriate characteristic of a database?

5.0/ 5.0 Points

A.Because a database is created to suit the format of the data, it cannot respond flexibly to
data format changes.
B.It is difficult to share data between operations due to an exclusive control function.
C.The procedure for making backups is complicated.
D.It can be accessed by multiple users at the same time due to an exclusive control
function.
Question 9 of 20
In case of entity integrity, the primary key may be:

5.0/ 5.0 Points

A.Not Null
B.Both Null & not Null.
C.Null

Question 10 of 20
Which of the following are the properties of entities?

5.0/ 5.0 Points

A.Groups
B.Switchboards
C.Attributes
D.Table
0.0/ 5.0 Points

Question 11 of 20
You are tasked with creating a database to manage where computers are installed at a company that has
offices in several buildings. You create an asset table, a room table, and a building table, and link
each of them together. When new data is entered, the data in the referenced table must already exist.
Which of the following is the appropriate order of in-put? Here, the underlined items in each table are
either primary or foreign keys.

A.Building table Room table Asset table


B.Room table Building table Asset table
C.Asset table Building table Room table
D.Room table Asset table Building table
0.0/ 5.0 Points

Question 12 of 20
You are building a new database for a company with 10 departments. Each department contains multiple
employees. In addition, each employee might work for several departments. How should you logically
model the relationship between the department entity and the employee entity?

User(User_ID, User_Name, Address)


Reservation(User_ID, Book_Title_ID, Reservation_Date)
Book_Title(Book_Title_ID, Category_Code, Book_Title, Author)
Stocked_Book(Stocked_Book_ID, Book_Title_ID, Purchase_Date, Cumulative_Lending_Count)

A.Create a new entry, create a one-to-many relationship from the new entry to the
employee entry, and then create a one-to-many relationship from the entry to the department
entry.
B.Create a mandatory one-to-many relationship between department and employee.
C.Create an optional one-to-many relationship between department and employee.

D.Create a new entry, create a one-to-many relationship from the employee to the new
entry, and create a one-to-many relationship from the department entry to the new entry.
Question 13 of 20
The file organization that provides very fast access to any arbitrary record of a file is:

5.0/ 5.0 Points

A.Ordered file.
B. B-tree.
C.Unordered file.
D.Hashed file.

Question 14 of 20
A relation is considered a:

5.0/ 5.0 Points

A.three-dimensional table.
B.two-dimensional table.
C.Column.
D. one-dimensional table.
5.0/ 5.0 Points

Question 15 of 20
In the ERD diagram, the one-to-many relationship, "a company has multiple employees," is expressed as
follows:

Which of the following statements correctly explains the above diagram?

A.There are multiple companies, and each company has a shareholder.


B.There are multiple companies, and each company has multiple shareholders.
C.One company has one shareholder.
D.One company has multiple shareholders.
0.0/ 5.0 Points

Question 16 of 20
If the condition given below applies, which of the following is appropriate as an E-R diagram showing the
departments employees belong to?

A.

B.

C.

D.

Question 17 of 20
The values of the attribute describes a particular_____________

0.0/ 5.0 Points

A.Entity set
B.Entity instance
C.Organization
D.File

Question 18 of 20
In the relational modes, cardinality is termed as:

5.0/ 5.0 Points

A.Number of tables.
B. Number of tuples.
C.Number of attributes.
D.Number of constraints.

Question 19 of 20
What is a relationship called when it is maintained between two entities?

5.0/ 5.0 Points

A.Ternary
B.Binary
C.Quaternary
D.Unary
5.0/ 5.0 Points

Question 20 of 20
Which of the following appropriately describes a domain (defined area), a term used for relational
databases?

A. It is a specification for copying the real world to a database.


B.It is a relationship derived by applying the relational operations to the basic relationship.
C.It is the general term for data insertion, updating, deletion, and search in a database.
D.It is a set of values that attributes can hold.

Question 1 of 20
In a relation:

A.Ordering of rows is immaterial.

5.0/ 5.0 Points

B.No two rows are identical.


C.(A) and (B) both are true.
D.None of these.
5.0/ 5.0 Points

Question 2 of 20
An instance of relational schema R (A, B, C) has distinct values of A including NULL values. Which one of
the following is true?

A.A is a candidate key.


B.A is not a candidate key
C.A is a primary Key
D.Both (A) and (C)

Question 3 of 20
DBMS helps achieve:

5.0/ 5.0 Points

A.Data independence.
B.Centralized control of data.
C.Neither (A) nor (B).
D.Both (A) and (B).

Question 4 of 20
An advantage of the database management approach is:

5.0/ 5.0 Points

A.Data is dependent on programs.


B.Data redundancy increases.
C.Data is integrated and can be accessed by multiple programs.
D. None of the above.

Question 5 of 20

5.0/ 5.0 Points

Which of the following is the appropriate characteristic of a database?

A.Because a database is created to suit the format of the data, it cannot respond flexibly to
data format changes.
B.It is difficult to share data between operations due to an exclusive control function.
C.The procedure for making backups is complicated.
D.It can be accessed by multiple users at the same time due to an exclusive control
function.
Question 6 of 20
What is a relationship called when it is maintained between two entities?

5.0/ 5.0 Points

A.Ternary
B.Quaternary
C.Unary
D.Binary

Question 7 of 20
E-R model uses this symbol to represent weak entity set?

5.0/ 5.0 Points

A.Dotted rectangle.
B.Diamond.
C.Doubly outlined rectangle.
D.None of these.

Question 8 of 20
What is data integrity?

A.It is the data contained in database that is accurate and consistent.


B.It is the data contained in database that is secured.

5.0/ 5.0 Points

C.It is the data contained in database that is non redundant.


D.It is the data contained in database that is shared.
0.0/ 5.0 Points

Question 9 of 20
The following data model has been created as a part of a library reservation system. Which is the correct
description for it? In this question, 1 * means one-to-many cardinality and the underlined attributes in the
table definition are primary keys

User(User_ID, User_Name, Address) Reservation(User_ID, Book_Title_ID, Reservation_Date)


Book_Title(Book_Title_ID, Category_Code, Book_Title, Author) Stocked_Book(Stocked_Book_ID,
Book_Title_ID, Purchase_Date, Cumulative_Lending_Count)

A. It is redundant to separate the Book_Title entity and Stocked_Booked entity


B.The cardinality between the Book_Title entity and Stocked_Book entity is opposite
C.The Book_Title entity is an abstract entity that has no physical substance
D.The Stocked_Book to be lent can be decided at the time of reservation

Question 10 of 20
The conceptual model is:

0.0/ 5.0 Points

A.Dependent on hardware.
B. Independent of both hardware and software.
C.Dependent on both hardware and software.
D.Dependent on software.

Question 11 of 20
Which of the following is expressed by an E-R diagram?

5.0/ 5.0 Points

A.Relation between entity and process


B.Relation between entities
C.Relation between processes
D.Relation between process and relationship

Question 12 of 20
Which of the following is an accurate statement in regard to an E-R diagram?

5.0/ 5.0 Points

A.It clarifies the operational relations between individual processes and data. As a result,
the relations between introduced entities express the individual operational processes.
B. It is created as a pretext to implementing a relational database
C.It expresses the entire process from data creating to destruction.
D.It creates an abstraction of information handled in operations, so as to express entities
and the relations between them.
Question 13 of 20
It is better to use files than a DBMS when there are:

0.0/ 5.0 Points

A.Stringent real-time requirements.


B.Multiple users wish to access the data.
C.Complex relationships among data.
D. All of the above.

Question 14 of 20
In the relational modes, cardinality is termed as:

A. Number of tuples.
B.Number of tables.

0.0/ 5.0 Points

C.Number of constraints.
D.Number of attributes.

Question 15 of 20
A relation is considered a:

0.0/ 5.0 Points

A.three-dimensional table.
B.two-dimensional table.
C. one-dimensional table.
D.Column.

Question 16 of 20
The database environment has all of the following components except:

0.0/ 5.0 Points

A. Database administrator.
B.Users.
C.Database.
D.Separate files.

Question 17 of 20
In E-R diagram generalization is represented by

0.0/ 5.0 Points

A.Ellipse
B.Dashed ellipse
C.Triangle
D.Rectangle

Question 18 of 20
Conceptual design

0.0/ 5.0 Points

A. Needs data volume and processing frequencies to determine the size of the database.
B.Is a documentation technique.
C.Is designing the relational model.
D.Involves modelling independent of the DBMS.
0.0/ 5.0 Points

Question 19 of 20
Which of the following appropriately describes a domain (defined area), a term used for relational
databases?

A.It is the general term for data insertion, updating, deletion, and search in a database.
B.It is a relationship derived by applying the relational operations to the basic relationship.
C. It is a specification for copying the real world to a database.
D.It is a set of values that attributes can hold.
5.0/ 5.0 Points

Question 20 of 20
In the ERD diagram, the one-to-many relationship, "a company has multiple employees," is expressed as
follows:

Which of the following statements correctly explains the above diagram?

A.One company has multiple shareholders.


B.There are multiple companies, and each company has multiple shareholders.
C.There are multiple companies, and each company has a shareholder.

D.One company has one shareholder.

HAUI_010_NSD_Quiz1_DB Designer
Return to Asse ssment List

Part 1 of 1 Question 1 of 20

90.0/ 100.0 Points


5.0/ 5.0 Points

You are tasked with creating a database to manage where computers are installed at a company
that has offices in several buildings. You create an asset table, a room table, and a
building table, and link each of them together. When new data is entered, the data in the
referenced table must already exist. Which of the following is the appropriate order of in-put?
Here, the underlined items in each table are either primary or foreign keys.

A.Building table Room table Asset table


B.Room table Building table Asset table
C.Room table Asset table Building table
D.Asset table Building table Room table

Question 2 of 20

Which of the following is expressed by an E-R diagram?


A.Relation between process and relationship
B.Relation between processes

5.0/ 5.0 Points

C.Relation between entities


D.Relation between entity and process

Question 3 of 20

5.0/ 5.0 Points

Which of the following appropriately describes a domain (defined area), a term used for
relational databases?
A.It is a relationship derived by applying the relational operations to the basic
relationship.
B.It is a set of values that attributes can hold.
C. It is a specification for copying the real world to a database.
D.It is the general term for data insertion, updating, deletion, and search in a database.

Question 4 of 20

5.0/ 5.0 Points

The file organization that provides very fast access to any arbitrary record of a file is:
A.Hashed file.
B. B-tree.
C.Unordered file.
D.Ordered file.

Question 5 of 20

0.0/ 5.0 Points

In an E-R diagram double lines indicate


A.Total participation.
B.Multiple participation.
C.Cardinality N.
D.None of the above.

Question 6 of 20

5.0/ 5.0 Points

Consider the join of a relation R with relation S. If R has m tuples and S has n tuples, then the
maximum size of join is:
A.2(m+n)
B.m+n
C.mn
D.(m+n)/2

Question 7 of 20

5.0/ 5.0 Points

In E-R Diagram total participation is represented by:


A.Triangle
B.Single line
C.Double lines
D.Dashed lines

Question 8 of 20

5.0/ 5.0 Points

In the relational modes, cardinality is termed as:


A.Number of tables.
B.Number of attributes.
C. Number of tuples.
D.Number of constraints.

Question 9 of 20

In E-R diagram generalization is represented by


A.Rectangle
B.Ellipse

0.0/ 5.0 Points

C.Triangle
D.Dashed ellipse

Question 10 of 20

5.0/ 5.0 Points

A table can have only one


A.Alternate key
B.Primary key
C.Secondary key
D.Unique key

Question 11 of 20

5.0/ 5.0 Points

A set of possible data values is called:


A.Attribute.
B.Tuple.
C.Domain.
D.Degree.

Question 12 of 20

5.0/ 5.0 Points

Which of the following is the appropriate characteristic of a database?


A.Because a database is created to suit the format of the data, it cannot respond flexibly to
data format changes.
B.It is difficult to share data between operations due to an exclusive control function.
C.It can be accessed by multiple users at the same time due to an exclusive control
function.
D.The procedure for making backups is complicated.

Question 13 of 20

5.0/ 5.0 Points

In a relation:
A.Ordering of rows is immaterial.
B.No two rows are identical.
C.(A) and (B) both are true.
D.None of these.

Question 14 of 20

5.0/ 5.0 Points

A relation is considered a:
A.three-dimensional table.
B. one-dimensional table.
C.Column.
D.two-dimensional table.

Question 15 of 20

5.0/ 5.0 Points

A relational database developer refers to a record as:


A.A tuple.
B.A relation.
C.An attribute.
D.A criteria.

Question 16 of 20

NULL is:
A.The same as 0 for integer
B.The same as blank for character

5.0/ 5.0 Points

C.The same as 0 for integer and blank for character


D.Not a value

Question 17 of 20

5.0/ 5.0 Points

In case of entity integrity, the primary key may be:


A.Both Null & not Null.
B.Not Null
C.Null

Question 18 of 20

5.0/ 5.0 Points

Which of the following are the properties of entities?


A.Table
B.Attributes
C.Switchboards
D.Groups

Question 19 of 20

5.0/ 5.0 Points

Which of the following is described graphically using an E-R diagram?


A.Entities and relationships between entities
B.Hierarchical data structure
C.Data source and destination
D.Data flows between processes

Question 20 of 20

The RDBMS terminology for a row is:

5.0/ 5.0 Points

A.Attribute.
B.Relation.
C.Degree.
D.Tuple.

Potrebbero piacerti anche