Back To 'Certificate Final Exam/': Incorrect 0.00 Points Out of 1.00

You might also like

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

 Back to 'Certificate Final Exam\'

Started on Saturday, March 26, 2022, 10:19 PM


State Finished
Completed on Saturday, March 26, 2022, 10:21 PM
Time taken 2 mins 26 secs
Points 12.00/50.00
Grade 2.40 out of 10.00 (24%)

Question 1 Which of the following is information?


Incorrect

0.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 2 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 3 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 4 What are databases generally used for today?


Incorrect

0.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

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

Question 5 Which of the following best describes a database?


Incorrect

0.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 One function of a DBMS is provision of which of the following?


Correct

1.00 points out Select one:


of 1.00
a. Data security
b. Data accuracy
c. Data redundancy
d. Data dependence

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?


Incorrect

0.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 What kind of database corresponds to 'table'?


Incorrect

0.00 points out Select one:


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

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

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

0.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 11 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 12 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

Question 13 Indices are useful for searching a database because they decrease which of the following?
Incorrect

0.00 points out Select one:


of 1.00
a. query complexity 
b. search time for certain types of queries
c. the amount of storage used in searching a database
d. the design effort needed for developing the database search algorithms

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

3 of 15 4/24/22, 12:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1556761&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 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 17 Which of the following statements best describes object-relational databases?


Incorrect

0.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 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 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, 12:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1556761&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 In this figure, what is Address an example of?


Incorrect

0.00 points out


of 1.00

Select one:
a. Candidate key 
b. Primary attribute
c. Composite attribute
d. Multivalued attribute

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

Question 22 Which of the following is true of the ER diagram in the figure below?
Incorrect

0.00 points out


of 1.00

Select one:
a. An employee can work for many departments 
b. An employee can work for one department and a department can only have one employee
c. An employee can work for one department and a department can have one or more employees
d. An employee can work for one department only and a department does not have to have employees

Question 23 Which of the following can we use to indicate whether an entity instance is mandatory?
Incorrect

0.00 points out Select one:


of 1.00
a. Cardinality 

b. Optionality

c. Disjointedness

d. Referential integrity

Your answer is incorrect.

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

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

0.00 points out


of 1.00

Select one:
a. 

b.

c.

d.

Your answer is incorrect.

7 of 15 4/24/22, 12:23
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1556761&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 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 should we always do when preparing to map an ER diagram to relations?
Incorrect

0.00 points out Select one:


of 1.00
a. Normalize the ERD until no more normalization can be done 
b. Check that the DBMS can interpret the constraints in the ERD
c. Make sure that we have simplified the ERD as much as possible
d. Make sure that our ERD has only one entity and one relationship

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

Question 29 Which is the correct expression to find all students registered for CS403?
Incorrect

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

0.00 points out Select one:


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

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 What would the following operation produce for output?


Incorrect
πdescription,name((course ⟖course.courseid = registration.courseid registration) ⋈sid = student.sid student)
0.00 points out
of 1.00
Select one:
a. All course descriptions and names of all students 
b. Registered students and all the course descriptions
c. All student names and all courses that are registered
d. Registered students and descriptions of their courses

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

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

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

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

If J. Smith changes her last name to Klein, we would have to update multiple rows in the table. Which of the following is this an example of?

Select one:
a. A hash anomaly 
b. A deletion anomaly
c. An update anomaly
d. An insertion anomaly

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

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 definition command?


Incorrect

0.00 points out Select one:


of 1.00
a. Insert 
b. Select
c. Update
d. Create table

Question 40 If we have the following table:


Incorrect
customer (custNo, name, street, city, state, zip, telephone, creditLimit)
0.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%

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

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

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 would the following SQL statement produce for output?
Correct
select top 2 from customers
1.00 points out
of 1.00
Select one:
a. The first two records of the customer table
b. The last two records of the customer table
c. The first two customers based on some condition
d. The last two customers ordered by some condition

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

Question 46 Using a course table with the following fields:


Incorrect
(cid,description, credits, frequency)
0.00 points out
of 1.00 What type of output would you expect from the following SQL command?
select cid
from course
where credits = 3 and frequency = null

Select one:
a. Records of 3 credit courses of any frequency 
b. The cid of 3 credit courses whose frequency is null
c. The cid of 3 credit courses with no frequency value
d. Records of 3 credit courses with no frequency value

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

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

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

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

You might also like