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=1602263&cmid=23178&showall=1

 Back to 'Certificate Final Exam\'

Started on Sunday, April 24, 2022, 6:14 AM


State Finished
Completed on Sunday, April 24, 2022, 6:40 AM
Time taken 26 mins 15 secs
Points 26.00/50.00
Grade 5.20 out of 10.00 (52%)

Question 1 Which of the following selections best describes information?


Incorrect

0.00 points out Select one:


of 1.00
a. Letters
b. Data plus semantics
c. Letters that spell a word
d. A number and its data type 

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 What is one of the disadvantages of file processing systems?


Incorrect

0.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 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, 13:40
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602263&cmid=23178&showall=1

Question 5 What are databases generally used for today?


Correct

1.00 points out Select one:


of 1.00
a. Backing up hard drives or other storage disks
b. Recording the behavior of real time embedded systems
c. Storing and retrieving enterprise data for business systems
d. Performing computations for scientific and engineering application systems

Question 6 A DBMS primarily supports a database for which of the following activities of the database's life-cycle?
Correct

1.00 points out Select one:


of 1.00
a. Design
b. Testing
c. Usage
d. Requirements elicitation

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 the most widely-used types of database today?
Incorrect

0.00 points out Select one:


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

Question 9 What kind of database corresponds to 'table'?


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, 13:40
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602263&cmid=23178&showall=1

Question 10 Logical data independence allows modifications of what without rewriting application programs?
Incorrect

0.00 points out Select one:


of 1.00
a. User view
b. Table contents
c. Logical schema
d. Physical schema 

Question 11 Which view in the three-level database architecture offers a formal description of the data with no concern for how it will be stored?
Correct

1.00 points out Select one:


of 1.00
a. Conceptual
b. Data
c. External
d. Internal

Question 12 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

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 What are rules that are valid for information in a database called?
Incorrect

0.00 points out Select one:


of 1.00
a. constructs 
b. constraints
c. foreign keys
d. primary keys

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

Question 15 What did the predecessor to modern databases stored data in?
Correct

1.00 points out Select one:


of 1.00
a. Flat files
b. Rough files
c. Magnetic tape
d. Punched cards

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?
Incorrect

0.00 points out Select one:


of 1.00
a. Network
b. NoSQL
c. Object 
d. Relational

Question 17 A non-relational data model based on binary trees is which of the following models?
Incorrect

0.00 points out Select one:


of 1.00
a. Entity
b. Hierarchical
c. Network 
d. Object

Question 18 If you were a database consultant tasked with recommending a data model for a company that gathers data from the internet to identify information on trends in consumer behavior, which type of database would you recommend?
Incorrect

0.00 points out Select one:


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

Question 19 Which of the following statements describes the role of an E-R diagram in the development of a relational database?
Correct

1.00 points out Select one:


of 1.00
a. An E-R diagram is transformed into the database design.
b. An E-R diagram is transformed into the internal database.
c. An E-R diagram is transformed into the physical database.
d. An E-R diagram is used to represent the database requirements.

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

Question 20 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

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. Ternary
c. Tributary 
d. Unary

Question 22 On an ER diagram, which shape is used to represent an entity?


Incorrect

0.00 points out Select one:


of 1.00
a. Circle
b. Diamond 
c. Oval
d. Rectangle

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

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, 13:40
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602263&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

0.00 points out


of 1.00

Select one:
a.

b.

c.

d. 

Your answer is incorrect.

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

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

1.00 points out


of 1.00

Select one:
a.

b. 

c.

d.

Your answer is correct.

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

Question 27 Which of the following is an additional constraint that is added by users or database administrators?
Correct

1.00 points out Select one:


of 1.00
a. Entity integrity
b. Domain integrity
c. Semantic integrity
d. Referential integrity

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


Incorrect

0.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 In relational algebra, how would one select just the name from the student relation?
Correct

1.00 points out Select one:


of 1.00
a. Π (Student)
b. Π (Course)
c. ΠName (Student)
d. σname (Student)

Question 30 What is a tuple?


Incorrect

0.00 points out Select one:


of 1.00
a. A field in a relation
b. An index on a table 
c. A way for a database to store tables
d. A collection of attributes of a relation

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

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


Correct
Student ⋈ student.sid = course.sid Course
1.00 points out
of 1.00
Select one:
a. An equijoin
b. A hash join
c. A theta join
d. Aa natural join

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


Correct
ΠName(Student) ⋈ ΠCourseID(Course)
1.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 A relation is considered to be in Boyce-Codd normal form if and only if which of the following applies?
Incorrect

0.00 points out Select one:


of 1.00
a. It is in fourth normal form
b. There are transitive dependencies 
c. Every determinant is a candidate key
d. There are some partial functional dependencies

Question 35 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 36 Which of the following terms describes one attribute (or field) that determines the value of another attribute?
Incorrect

0.00 points out Select one:


of 1.00
a. Foreign key
b. Primary key 
c. Independent key
d. Functional dependency

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

Question 37 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

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 If we have the following table:


Correct
customer (custNo, name, street, city, state, zip, telephone, creditLimit)
1.00 points out
of 1.00 What will this update command do?
update customer
set creditLimit = creditLimit * 1.05
where state = 'MA'

Select one:
a. Insert a new record into the table for each MA customer
b. Set the credit limit of all MA customers to credit limit * 1.05
c. Set the credit limit of all MA customers to credit limit / 1.05
d. Change state to MA where credit limit was increased by 5%

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

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

0.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 Which of the following is true about a select statement?


Incorrect

0.00 points out Select one:


of 1.00
a. It can only be used by itself.
b. It can be included as part of an insert only.
c. It can be included as part of an update but not as part of a delete. 
d. It can be included as part of an update, delete, or insert statement.

Question 43 What would this delete operation do?


Incorrect
delete from course
0.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 44 Which of the following is the where clause most useful for?
Incorrect

0.00 points out Select one:


of 1.00
a. Only joining tables
b. Choosing the correct table
c. Choosing the correct expression to display 
d. Choosing only rows that fit a certain criteria

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

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

Question 46 Which of the following describes the order by clause?


Incorrect

0.00 points out Select one:


of 1.00
a. It is always the first part of an SQL select statement
b. It sorts the entire table by ordering the values of a column(s) 
c. It sorts the result set from a query by ordering column values
d. It uses descending when the order for sorting is not specified

Question 47 Which type of join returns values from either table regardless of whether there is a matching value in the other table?
Correct

1.00 points out Select one:


of 1.00
a. Full join
b. Left join
c. Half join
d. Empty join

Question 48 Which type of join returns all rows in the left table regardless of whether there are matches in the right table?
Correct

1.00 points out Select one:


of 1.00
a. Hash join
b. Full outer join
c. Left outer join
d. Right outer join

13 of 15 4/24/22, 13:40
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1602263&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

652123 CS403 201603 K. Ross A

Student

SID Lname Fname Major

986223 Smith Janet Chemistry

362112 Williams Henry Computer Science

282712 Jones John English Literature

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

b. Technical Writing 282712 B+ Jones

c. Technical Writing 282712 B+ Jones 


Computer Science I 362112 Williams C

d. Technical Writing 282712 B+ Jones


Computer Science I 362112 Williams C
Null 652123 Null A

Your answer is incorrect.

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

Question 50 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.

 Previous Jump to...

15 of 15 4/24/22, 13:40

You might also like