Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

COB 204 FINAL (JOHN GUO) EXAM QUESTIONS WITH CORRECT ANSWERS

Rating
-
Sold
-
Pages
29
Grade
A+
Uploaded on
12-05-2026
Written in
2025/2026

COB 204 FINAL (JOHN GUO) EXAM QUESTIONS WITH CORRECT ANSWERS

Institution
COB 204
Course
COB 204

Content preview

COB 204 FINAL (JOHN GUO) EXAM
QUESTIONS WITH CORRECT
ANSWERS



\.Amber needed to improve the efficiency of her eBay shop, so she designed a
relational database. She made sure to include ____________ to figure out how
many orders are associated with each customer.
A. A primary key
B. A foreign key
C. A crow's Foot Cardinality as the maximum cardinality
D. Cardinalities

E. A Cardinality as the minimum cardinality - ANSWERS✔-D. Cardinalities


\.In Figure 1, a(n) ________ symbol in the minimum position on the line symbol
means that an instance of that type is mandatory.
A. oval
B. arrow
C. bar
D. crow's foot

E. Cardinality - ANSWERS✔-C. Bar


\.In Figure 1, the square symbols each represent a(n) _____.

,A. cardinality
B. entity
C. relationship
D. table

E. attribute - ANSWERS✔-B. entity


\.In Figure 1, the __________ consist of the small vertical bar, small oval, and
crow's foot symbols.
A. cardinalities
B. entities
C. relationships
D. tables

E. attributes - ANSWERS✔-A. Cardinalities


\.In a database built based on the ERD shown in Figure 2, the logical association
between Major and Student is created when the __________ of Major is posted
into Student where it plays the part of a(n)__________.
A. primary key, foreign key
B. primary key, non-key attribute
C. foreign key, primary key

D. foreign key, non-key attribute - ANSWERS✔-C. foreign key, primary key

, \.When querying a database built based on the ERD shown in Figure 2, you want
the output that shows how many students there are for one major. Which of the
following clauses should be added to the query to produce the desired output?
SELECT MajorCode, COUNT(SID)
FROM Student
__________ ;
A. WHERE SID IS NOT NULL
B. GROUP BY MajorCode
C. AS "Total Number of Students"
D. ORDER BY SID

E. ORDER BY MajorCode - ANSWERS✔-B. GROUP BY MajorCode


\.When querying a database built based on the ERD shown in Figure 2, which of
the following options should be entered into the blank to correctly complete this
FROM clause?FROM Major JOIN Student ON Major.MajorCode = __________
A. Product.SaleProdID
B. Student.SID
C. Major.SID
D. Student.MajorCode

E. Student.Decl_Date - ANSWERS✔-D. Student.MajorCode


\.When querying a database built based on the ERD shown in Figure 2, if we know
that the students are from various countries including the USA, which of the
following statements about the query output will be TRUE when we run the
following query?

Written for

Institution
COB 204
Course
COB 204

Document information

Uploaded on
May 12, 2026
Number of pages
29
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$14.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
IszackBd University Of Washington
Follow You need to be logged in order to follow users or courses
Sold
38
Member since
1 year
Number of followers
3
Documents
5402
Last sold
1 day ago
IszackBd Stuvia

Our store offers a wide selection of materials on various subjects and difficulty levels, created by experienced teachers. We specialize on NURSING,WGU,ACLS USMLE,TNCC,PMHNP,ATI and other major courses, Updated Exam, Study Guides and Test banks. If you don't find any document you are looking for in this store contact us and we will fetch it for you in minutes, we love impressing our clients with our quality work and we are very punctual on deadlines. Please go through the sets description appropriately before any purchase and leave a review after purchasing so as to make sure our customers are 100% satisfied. FOR ANY REQUEST FEEL FREE TO REACH US

Read more Read less
5.0

3 reviews

5
3
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions