Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

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

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

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

attempt=1593274&cmid=23178&showall=1

 Back to 'Certificate Final Exam\'

Started on Wednesday, April 20, 2022, 5:16 PM


State Finished
Completed on Wednesday, April 20, 2022, 5:32 PM
Time taken 15 mins 54 secs
Points 14.00/50.00
Grade 2.80 out of 10.00 (28%)

Question 1 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 2 Which of the following code segments best describes information?


Incorrect

0.00 points out Select one:


of 1.00 
a. Cost = 10

b. Int X;
X = 10

c. int Dollars = 10;


Print Dollars

d. Int Dollars;
Dollars = 10;
Cost = Dollars

Your answer is incorrect.

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

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

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

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

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

0.00 points out Select one:


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

Question 7 Which of the following describes a DBMS?


Incorrect

0.00 points out Select one:


of 1.00
a. A part of a database 
b. A database application
c. An interface between applications
d. An interface between a database and users of the database

Question 8 Which kind of database corresponds to 'class'?


Incorrect

0.00 points out Select one:


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

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

Question 9 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 10 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 11 What is data that describes data called?


Correct

1.00 points out Select one:


of 1.00
a. Metadata
b. Abstract data
c. Semantic data
d. Referential data

Question 12 What is commonly used to represent a relation?


Incorrect

0.00 points out Select one:


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

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

Question 14 What is a database view?


Incorrect

0.00 points out Select one:


of 1.00
a. a meta table 
b. a virtual table
c. a copy of a table
d. a pointer to a table

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 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 is one of the problems with non-relational databases?
Incorrect

0.00 points out Select one:


of 1.00
a. Data dependency 
b. Limited vendor support
c. Low speed of operation
d. Structural independence

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

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

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.

Question 20 Which of the following does this figure represent?


Incorrect

0.00 points out


of 1.00

Select one:
a. Imaging entity 
b. Associative entity
c. Binary relationship
d. Ternary relationship

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

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

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

Question 25 The diagram shows a supertype/subtype relationship. Which of the following best demonstrates a mapping of this relationship?
Incorrect

0.00 points out


of 1.00

Select one:
a. 

b.

c.

d.

Your answer is incorrect.

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

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

0.00 points out


of 1.00

Select one:
a. 

b.

c.

d.

Your answer is incorrect.

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

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

Question 28 Which of the following does referential integrity ensure?


Incorrect

0.00 points out Select one:


of 1.00
a. A field is not duplicated in the table 
b. Two fields are related to one another
c. Field values are consistent in the table
d. There are no repeating groups in the table

Question 29 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 30 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 31 If we had another relation, staff, which was union compatible with faculty, what would the following expression return for a result?
Incorrect
Πempno (Staff ⋃ Instructor)
0.00 points out
of 1.00
Select one:
a. The employee number of every staff employee and every instructor 
b. Every employee who is either a member of the staff or an instructor
c. All tuples of the instructor relation along with all tuples of the staff relation
d. The employee number of all rows in the staff and in the instructor relations

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

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

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

Question 34 When is a relation considered to be in first normal form (1NF)?


Incorrect

0.00 points out Select one:


of 1.00
a. When there are no dependencies of an attribute on another attribute in the table 
b. When there are no compound primary keys or partial key that can have a null value
c. When there are no partial dependencies or transitive dependencies on a primary key
d. When there are no repeating groups of values of an attribute in one or more columns

Question 35 Which of the following describes a relation is in first normal form (1NF)?
Incorrect

0.00 points out Select one:


of 1.00
a. It has no identical rows 
b. It has no repeating groups
c. It has no partial functional dependencies
d. It has no transitive functional dependencies

Question 36 Consider the following database table:


Correct
PartNo Description CustID Name QuantityOrdered
1.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 we were to delete the third row, all information about customer 7914 would be lost. Which of the following is this an example of?

Select one:
a. A deletion anomaly
b. An update anomaly
c. An insertion anomaly
d. A modification anomaly

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

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

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


Incorrect

0.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:
Incorrect
(sid,fname,lname,major)
0.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/24/22, 12:24
CS403: Certificate Final Exam: Attempt review | Saylor Academy https://learn.saylor.org/mod/quiz/review.php?attempt=1593274&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 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 43 What is the delete statement used to do?


Correct

1.00 points out Select one:


of 1.00
a. Delete table rows that match a condition
b. Truncate parts of a table that are too long
c. Remove table columns that match a condition
d. Insert a mark to indicate that a table is deleted

Question 44 What will the following query return for results?


Incorrect
select lname
0.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 45 What will this SQL statement produce for output?


Correct
select distinct lname,fname,dob
1.00 points out
from customer
of 1.00

Select one:
a. Customer data rows so that there are no duplicates
b. Customer rows so that there are no duplicate records
c. Customer rows so that there are no duplicate customers
d. Customer data rows so that there are no duplicate names

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

Question 46 What would the following query produce for results?


Incorrect
select count(*)
0.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

Question 47 What does an inner join do?


Incorrect

0.00 points out Select one:


of 1.00
a. Return all rows in all tables 
b. Return only those rows with a matching row in the corresponding table
c. Return all rows in the right table regardless of whether there is a match in the left table
d. Return all rows in the left or right table regardless of whether there is a match in the corresponding table

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

Question 48 You are given this table:


Incorrect

0.00 points out


of 1.00
Registration

SID CourseID SemID Instructor Grade

282712 ENGL210 201701 H. Zacny B+

362112 CS101 201701 K. Ross C

652123 CS403 201701 K. Ross A

362112 CS403 201701 K. Smith C+

282712 BIO101 201601 I. Olsen C

What will the result of the following query be?


select sid, count(*)
from registration
group by sid

Select one:
a. The entire table sorted by sid 

b. No results due to an error

c. 282712 2
362112 2
652123 1

d. 282712 1
362112 1
652123 1

Your answer is incorrect.

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

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

652123 CS403 201603 K. Ross A

What would the following SQL Select statement produce for output?
select course.Description,registration.SID,registration.grade
from registration
full join course
on registration.courseID = course.courseID

Select one:
a. Technical Writing 28212 B+ 

b. Technical Writing 28212 B+


Computer Science I 362112 C
Null 652123 A

c. Technical Writing 28212 B+


Computer Science I 362112 C
Elementary Data Structures null null

d. Technical Writing 28212 B+


Computer Science I 362112 C
Null 652123 A
Elementary Data Structures null null

Your answer is incorrect.

 Previous Jump to...

16 of 16 4/24/22, 12:24

You might also like