Back To 'Certificate Final Exam/': Cost Int
Back To 'Certificate Final Exam/': Cost Int
attempt=1608448&cmid=23178&showall=1
b. Int X;
X = 10
d. Int Dollars;
Dollars = 10;
Cost = Dollars
1 of 16 4/27/22, 18:03
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1608448&cmid=23178&showall=1
Question 5 Which of the following sets of terms describes the data in a database?
Correct
Question 6 What is used in DBMSes to make sure that data are accurate and consistent?
Incorrect
2 of 16 4/27/22, 18:03
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1608448&cmid=23178&showall=1
Question 10 Which level of the three-level database architecture deals with how the user sees data?
Incorrect
Question 12 Indices are useful for searching a database because they decrease which of the following?
Correct
3 of 16 4/27/22, 18:03
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1608448&cmid=23178&showall=1
Question 14 A link can be established between two tables by the use of what kind of key?
Correct
Question 15 IMS is an example of a database system that implemented which of the following models?
Correct
Question 16 If you were a database consultant tasked with recommending a data model for storing parts shared by large machinery for a manufacturing company, which of the following types of database would you recommend?
Correct
4 of 16 4/27/22, 18:03
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1608448&cmid=23178&showall=1
Select one:
a. Name
b. License
c. SocSec#
d. StudentId
5 of 16 4/27/22, 18:03
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1608448&cmid=23178&showall=1
Select one:
a. Unary
b. One to all
c. One to one
d. One to many
Question 23 Which of the following can we use to indicate whether an entity instance is mandatory?
Correct
b. Optionality
c. Disjointedness
d. Referential integrity
Question 24 You have an application domain that consists of Cities, Towns, and Neighborhoods. A City has a name, zip code, state, and a country. A Town has a name, zip code, state, and country. A Neighborhood has a name, coordinate, and population. Using a relational model,
Correct what are Students, Courses, and Sections called?
1.00 points out
of 1.00 Select one:
a. Attributes
b. Constraints
c. Entities
d. Relations
6 of 16 4/27/22, 18:03
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1608448&cmid=23178&showall=1
Question 25 The diagram contains a unary entity which has a many-to-many relationship. Which of the following best demonstrates a mapping of the ERD to relations?
Incorrect
Select one:
a.
b.
c.
d.
7 of 16 4/27/22, 18:03
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1608448&cmid=23178&showall=1
Question 26 This figure shows an ER diagram that contains a one to many relationship, and four possible ways to map the diagram to a set of relations. Which mapping is correct?
Incorrect
Select one:
a.
b.
c.
d.
Question 27 What constraint type does the following constraint belong to?
Incorrect
"Every table must have a primary key, of which no part can be null."
0.00 points out
of 1.00
Select one:
a. Entity integrity
b. Domain integrity
c. Semantic integrity
d. Referential integrity
8 of 16 4/27/22, 18:03
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1608448&cmid=23178&showall=1
Question 28 Which of the following is an additional constraint that is added by users or database administrators?
Correct
Question 30 In relational algebra, how would one select just the name from the student relation?
Correct
Question 31 Assuming that we have an additional relation called staff which is union compatible with faculty, what will the following operation result in?
Correct
Πname (Staff ⋂ Instructor)
1.00 points out
of 1.00
Select one:
a. No rows being printed
b. The cartesian product of instructor and staff
c. All rows of instructor being added to all rows of staff
d. The name of all rows which are in both staff and instructor
9 of 16 4/27/22, 18:03
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1608448&cmid=23178&showall=1
Select one:
a. First normal form
b. Second normal form
c. Third normal form
d. Boyce-Codd normal form
Question 35 A relation is considered to be in Boyce-Codd normal form if and only if which of the following applies?
Correct
Since the primary key is made up of PartNo and CustID, we cannot insert a new part without adding an associated customer. Which of the following is this an example of?
Select one:
a. A non-normal form
b. A deletion anomaly
c. An update anomaly
d. An insertion anomaly
10 of 16 4/27/22, 18:03
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1608448&cmid=23178&showall=1
Question 37 Which of the following terms describes one attribute (or field) that determines the value of another attribute?
Incorrect
Question 38 What is the difference between data definition language and data manipulation language?
Correct
b. It is used for queries and data manipulation language is used for updating and deleting tables only
c. It is used to create the files that store tables whereas data manipulation language is used to update data
d. It is used to create tables, indexes, etc., whereas data manipulation language is used to query the database
Question 40 Assume that we have a table called student with the following columns:
Correct
(sid,fname,lname,major)
1.00 points out
of 1.00 What is wrong with this insert command?
insert into student ('s2234','John','Smith','Chemistry')
Select one:
a. It is missing a left parenthesis
b. It is missing a right parenthesis
c. It is missing a value before the parenthesis
d. There are not enough fields in the statement
11 of 16 4/27/22, 18:03
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1608448&cmid=23178&showall=1
Question 41 Which of the following are constraints that can be used with the create table command?
Correct
Select one:
a. Customers' last and first names who live in a state that ends with an M
b. Customers' last and first names who live in a state that begins with an M
c. a list of all customers in the table who live in a state that ends with an M
d. A list of all customers in the table who live in a state that begins with an M
12 of 16 4/27/22, 18:03
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1608448&cmid=23178&showall=1
Question 48 Which type of join returns all rows in the left table regardless of whether there are matches in the right table?
Correct
13 of 16 4/27/22, 18:03
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1608448&cmid=23178&showall=1
Registration
What would the following SQL Select statement produce for output?
select course.description, registration.SID,registration.grade
from registration
right join course
on registration.courseID = course.courseID
Select one:
a. Computer Science I 362112 C
14 of 16 4/27/22, 18:03
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1608448&cmid=23178&showall=1
Registration
Student
What would the following SQL Select statement produce for output?
select course.Description,registration.SID,registration.grade, student.lname
from registration
inner join course
on registration.courseID = course.courseID
inner join student on registration.sid = student.sid
Select one:
a. No output, since this query cannot be performed
15 of 16 4/27/22, 18:03
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1608448&cmid=23178&showall=1
16 of 16 4/27/22, 18:03