Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?

attempt=1602447&cmid=23178&showall=1

 Back to 'Certificate Final Exam\'

Started on Sunday, April 24, 2022, 8:01 AM


State Finished
Completed on Sunday, April 24, 2022, 8:19 AM
Time taken 17 mins 54 secs
Points 35.00/50.00
Grade 7.00 out of 10.00 (70%)

Question 1 What is one of the disadvantages of file processing systems?


Correct

1.00 points out Select one:


of 1.00
a. Low data quality
b. Limited data sharing
c. Short development time
d. Program-data independence

Question 2 Which of the following is data?


Correct

1.00 points out Select one:


of 1.00
a. 32
b. I am 32
c. It is 32 degrees.
d. It is 32 outside.

Question 3 Which of the following is information?


Correct

1.00 points out Select one:


of 1.00
a. 32
b. It is 32.
c. It is 32 degrees.
d. It is 32 degrees Fahrenheit.

Question 4 Which of the following sets of terms describes the data in a database?
Correct

1.00 points out Select one:


of 1.00
a. integrated and shared
b. redundant and accurate
c. functional and redundant
d. transactional and unconstrained

1 of 15 4/24/22, 15:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602447&cmid=23178&showall=1

Question 5 Which of the following best describes a database?


Correct

1.00 points out Select one:


of 1.00
a. A system for managing data
b. A set of data for a particular application
c. A major subsystem of an operating system
d. A reusable, organized collection of related data

Question 6 What is used in DBMSes to make sure that data are accurate and consistent?
Incorrect

0.00 points out Select one:


of 1.00
a. Primary keying
b. Check constraints
c. Referential integrity 
d. Field-level validations

Question 7 To support concurrent transactions, a DBMS should have which of the following properties?
Correct

1.00 points out Select one:


of 1.00
a. atomicity, durability, and isolation
b. atomicity, irreducibility, and isolation
c. durability, irreducibility, and isolation
d. atomicity, durability, and irreducibility

Question 8 Which of the following are generic database architectures?


Correct

1.00 points out Select one:


of 1.00
a. Distributed and leased
b. Centralized and leased
c. Centralized and distributed
d. Centralized and networked

Question 9 Which of the following are the most widely-used types of database today?
Correct

1.00 points out Select one:


of 1.00
a. Network
b. Relational
c. Hierarchical
d. Object-oriented

2 of 15 4/24/22, 15:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602447&cmid=23178&showall=1

Question 10 Which level of the three-level database architecture deals with how the user sees data?
Incorrect

0.00 points out Select one:


of 1.00
a. Conceptual
b. External
c. Individual 
d. Internal

Question 11 Which of the following describes the capability to change the physical schema of a database without having to rewrite application programs?
Correct

1.00 points out Select one:


of 1.00
a. Logical data independence
b. Physical data dependence
c. Physical data independence
d. Physical schema refinement

Question 12 What is commonly used to represent a relation?


Correct

1.00 points out Select one:


of 1.00
a. an index
b. a schema
c. a table
d. a view

Question 13 What is a value that a DBMS maps to a single element of a relation?


Correct

1.00 points out Select one:


of 1.00
a. a key
b. a field value
c. a field name
d. a query value

Question 14 A link can be established between two tables by the use of what kind of key?
Correct

1.00 points out Select one:


of 1.00
a. foreign
b. hash
c. national
d. primary

3 of 15 4/24/22, 15:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602447&cmid=23178&showall=1

Question 15 IMS is an example of a database system that implemented which of the following models?
Correct

1.00 points out Select one:


of 1.00
a. Hierarchical
b. Network
c. Relational
d. Theoretical

Question 16 If you were a database consultant tasked with recommending a data model for organizing book records for a library, which of the following types of database would you recommend?
Correct

1.00 points out Select one:


of 1.00
a. Hierarchical
b. NoSQL
c. Object
d. Relational

Question 17 Which of the following statements best describes object-relational databases?


Correct

1.00 points out Select one:


of 1.00
a. They have little vendor support
b. They integrate multiple paradigms
c. They cannot be easily implemented
d. They integrate incompatible paradigms

Question 18 Object-oriented databases were not initially commercially successful for which of the following reasons?
Correct

1.00 points out Select one:


of 1.00
a. They had high transition costs
b. They had overly lengthy queries
c. They were difficult to understand
d. They were incompatible with many applications

Question 19 Which of the following is an example of a use of an E-R diagram?


Correct

1.00 points out Select one:


of 1.00
a. A model of a database
b. A design of a database
c. A diagram of a database
d. A specification of database requirements

4 of 15 4/24/22, 15:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602447&cmid=23178&showall=1

Question 20 In this figure, what is TextBook an example of?


Incorrect

0.00 points out


of 1.00

Select one:
a. Primary key
b. Ccomposite key
c. Multivalued attribute
d. Single-valued attribute 

Question 21 What kind of relationship is this figure an example of?


Incorrect

0.00 points out


of 1.00

Select one:
a. Binary
b. Singleton 
c. Ternary
d. Unary

5 of 15 4/24/22, 15:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602447&cmid=23178&showall=1

Question 22 What kind of relationship is this figure an example of?


Correct

1.00 points out


of 1.00

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

1.00 points out Select one:


of 1.00
a. Cardinality

b. Optionality

c. Disjointedness

d. Referential integrity

Your answer is correct.

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, what are
Incorrect Students, Courses, and Sections called?
0.00 points out
of 1.00 Select one:
a. Attributes

b. Constraints 

c. Entities

d. Relations

Your answer is incorrect.

6 of 15 4/24/22, 15:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602447&cmid=23178&showall=1

Question 25 The diagram contains a unary entity with a one to many relationship. Which of the following best demonstrates a mapping of this relationship?
Correct

1.00 points out


of 1.00

Select one:
a.

b.

c. 

d.

Your answer is correct.

7 of 15 4/24/22, 15:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602447&cmid=23178&showall=1

Question 26 This figure shows an ER diagram that contains a one-to-one relationship and four possible ways to map the diagram to a set of relations. Which is the correct solution to mapping this ER diagram to a set of relations?
Incorrect

0.00 points out


of 1.00

Select one:
a.

b. 

c.

d.

Your answer is incorrect.

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 15 4/24/22, 15:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602447&cmid=23178&showall=1

Question 28 Which of the following statements about domain constraints is true?


Correct

1.00 points out Select one:


of 1.00
a. They cannot be used in most modern database systems
b. They ensure values entered into a table satisfy conditions
c. They can only check numeric values for arithmetic relations
d. They cannot always be implemented in some SQL implementations

Question 29 What is relational algebra?


Correct

1.00 points out Select one:


of 1.00
a. The mathematical basis for SQL
b. A language used to store data in a database
c. The translation of a query by an SQL compiler
d. An informal way to describe how a database works

Question 30 Which is the correct expression to find all students registered for CS403?
Correct

1.00 points out Select one:


of 1.00
a. σcourse_id="CS403" (course)
b. σdescription="CS403" (course)
c. σcourse_id = "CS403" (registration)
d. σdescription="CS403" (registration)

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

Question 32 Which of the following is Student ⨯ Courses an example of?


Incorrect

0.00 points out Select one:


of 1.00
a. A theta join
b. An inner join 
c. A natural join
d. A cartesian product

9 of 15 4/24/22, 15:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602447&cmid=23178&showall=1

Question 33 Which of the following is this operation an example of?


Incorrect
ΠName(Student) ⋈ ΠCourseID(Course)
0.00 points out
of 1.00
Select one:
a. An equijoin 
b. A theta join
c. A natural join
d. A cartesian product

Question 34 In what normal form is the relation in the figure?


Correct

1.00 points out


of 1.00

Select one:
a. First normal form
b. Second normal form
c. Third normal form
d. Boyce-Codd normal form

Question 35 What is the highest normal form that all relations in the diagram are in?
Incorrect

0.00 points out


of 1.00

Select one:
a. First normal form
b. Third normal form
c. Fourth normal form
d. Boyce-Codd normal form 

Question 36 When is a relation considered to be in second normal form (2NF)? (Select the best answer.)
Correct

1.00 points out Select one:


of 1.00
a. When there are no repeating groups in a relation
b. When there are no transitive functional dependencies
c. When there are no dependencies on part of the primary key
d. When there are no dependent attributes in transitive relation

10 of 15 4/24/22, 15:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602447&cmid=23178&showall=1

Question 37 Consider the following database table:


Incorrect
PartNo Description CustID Name QuantityOrdered
0.00 points out
of 1.00 2361 Pens 7810 J. Smith 22

2371 Paper Clips 7810 J. Smith 1000

2914 Pens 7914 K. Jones 900

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

Question 38 What is the difference between data definition language and data manipulation language?
Correct

1.00 points out Select one:


of 1.00
a. It is used to create tables, views, etc., and data manipulation language is only used for inserts 

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

Your answer is correct.

Question 39 Which of the following is a data manipulation command?


Correct

1.00 points out Select one:


of 1.00
a. Alter
b. Create
c. Drop
d. Select

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 15 4/24/22, 15:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602447&cmid=23178&showall=1

Question 41 Which of the following are constraints that can be used with the create table command?
Correct

1.00 points out Select one:


of 1.00
a. references, alias, check
b. null, primary key, view of
c. primary key, not null, unique
d. primary key, default, between

Question 42 What would this delete operation do?


Correct
delete from course
1.00 points out
where credits = 3
of 1.00

Select one:
a. Add a new row to the course table
b. Delete all records in the course table
c. Delete three credit courses from the course table
d. Delete all records except those with three credits from the course table

Question 43 What is the select statement used to do?


Correct

1.00 points out Select one:


of 1.00
a. Query a table
b. Create a new table
c. Insert data into a table
d. Delete rows from a table

Question 44 What would the following query produce for results?


Correct
select count(*)
1.00 points out
from customer
of 1.00
where credit_limit > 500

Select one:
a. A listing of all customers
b. A listing of all customers with a credit limit greater than 500
c. A count of all customers
d. A count of all customers with a credit limit greater than 500

12 of 15 4/24/22, 15:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602447&cmid=23178&showall=1

Question 45 What will the following query return for results?


Correct
select lname
1.00 points out
from customer
of 1.00
where credit_limit in (1000,2000,3000)

Select one:
a. All last names and credit limits from 1000 to 2000, and 2000 to 3000
b. The last name of all customers with a credit limit of 1000, 2000, or 3000
c. All last names and credit limits where the credit limit is 1000, 2000, 3000
d. The last name of all customers with a credit from 1000 to 2000, and 2000 to 3000

Question 46 Which of the following is a SQL aggregate function?


Correct

1.00 points out Select one:


of 1.00
a. average
b. avg
c. mean
d. sqrt

Question 47 In SQL, the join statement is most commonly used to do which of the following?
Incorrect

0.00 points out Select one:


of 1.00
a. Join two or more tables based upon related fields
b. Join two or more tables based on related column fields
c. Join two or more columns together based on common names 
d. Join two or more rows together based on related column fields

Question 48 What is the SQL 'group by' statement used to do?


Incorrect

0.00 points out Select one:


of 1.00
a. Sort the results in group order
b. List the rows ordered by group 
c. List a single row for each group
d. Insert new records into the table

13 of 15 4/24/22, 15:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602447&cmid=23178&showall=1

Question 49 You are given the following tables:


Incorrect

0.00 points out


of 1.00
Course

CourseID Description Credits

CS101 Computer Science I 3

CS201 Elementary Data Structures 3

ENGL210 Technical Writing 3

Registration

SID CourseID SemID Instructor Grade

282712 ENGL210 201701 H. Zacny B+

362112 CS101 201701 K. Ross C

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

b. Computer Science I 362112 C 


Technical Writing 28212 B+

c. Computer Science I 362112 C


Elementary Data Structures null null
Technical Writing 28212 B+

d. No results due to syntax error

Your answer is incorrect.

14 of 15 4/24/22, 15:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602447&cmid=23178&showall=1

Question 50 You are given the following tables:


Incorrect

0.00 points out


of 1.00
Student

SID Lname Fname Major

986223 Smith Janet Chemistry

362112 Williams Henry Computer Science

282712 Jones John English Literature

Registration

SID CourseID SemID Instructor Grade

282712 ENGL210 201701 H. Zacny B+

362112 CS101 201701 K. Ross C

What would the following SQL Select statement produce for output?
select lname,CourseID, grade
from student
left join registration
on student.sid = registration.sid

Select one:
a. Williams CS101

b. Williams CS101 C
Jones ENGL210 B+

c. Smith null null


Williams CS101 C
Jones ENGL210

d. No output due to a syntax error 

Your answer is incorrect.

 Previous Jump to...

15 of 15 4/24/22, 15:23

You might also like