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)

WGU C170 DATABASE APPLICATIONS LABS 2026/2027 | Complete Solution Guide | SQL Labs | Pass Guaranteed - A+ Graded

Rating
-
Sold
-
Pages
53
Grade
A+
Uploaded on
11-05-2026
Written in
2025/2026

Pass the WGU C170 Database Applications labs on your first attempt with this complete 2026/2027 solution guide. This A+ Graded resource contains complete lab solutions with verified answers covering all key content areas including entity-relationship (ER) modeling, database normalization (1NF, 2NF, 3NF, BCNF), Structured Query Language (SQL) fundamentals, Data Definition Language (DDL) commands (CREATE, ALTER, DROP, TRUNCATE), Data Manipulation Language (DML) commands (SELECT, INSERT, UPDATE, DELETE), Data Control Language (DCL) commands (GRANT, REVOKE), SQL joins (INNER, LEFT, RIGHT, FULL OUTER, CROSS, SELF JOIN), subqueries and correlated subqueries, set operations (UNION, INTERSECT, EXCEPT), aggregate functions (COUNT, SUM, AVG, MIN, MAX) with GROUP BY and HAVING clauses, filtering with WHERE and logical operators, sorting with ORDER BY, creating and managing indexes, primary keys, foreign keys, and referential integrity constraints, views creation and management, stored procedures and functions, triggers, transactions and ACID properties (Atomicity, Consistency, Isolation, Durability), COMMIT and ROLLBACK, database design life cycle, conceptual/logical/physical database design, converting ER diagrams to relational schemas, identifying entities, attributes, relationships (one-to-one, one-to-many, many-to-many), resolving many-to-many relationships with associative/junction tables, candidate keys, composite keys, surrogate keys, natural keys, foreign key constraints, cascade update/delete actions, data types (character, numeric, date/time, binary, spatial), database performance optimization, query optimization techniques, indexing strategies, database security, user access control, backup and recovery methods, and practical lab exercises typical of WGU C170 assessment. Each answer includes clear SQL code examples and rationales to reinforce database application concepts. Perfect for WGU students completing the Database Applications course and lab assessments. With our Pass Guarantee, you can confidently complete your C170 labs. Download your complete WGU C170 Database Applications Labs solution guide instantly!

Show more Read less
Institution
WGU C170
Course
WGU c170

Content preview

WGU C170 DATABASE APPLICATIONS LABS 2026/2027 |
Complete Solution Guide | SQL Labs | Pass Guaranteed - A+
Graded



Section 1: Entity-Relationship Diagram (ERD) Modeling &
Normalization (Q1-12)


Q1. A university database needs to track students and their dormitory assignments.
Each student lives in exactly one dorm room, and each dorm room houses exactly one
student. What type of relationship exists between Student and DormRoom?

A. One-to-Many (1:M)

B. Many-to-Many (M:N)

C. One-to-One (1:1)

D. Zero-to-Many (0:M)

C. One-to-One (1:1) [CORRECT]

Rationale: The scenario describes each student living in exactly one room and each
room housing exactly one student, which defines a 1:1 relationship. Option A (1:M)
would mean one room houses many students; Option B (M:N) would mean students can
live in multiple rooms and rooms can house multiple students; Option D is not a
standard cardinality notation.

Correct Answer: C

,Q2. In an ERD for an e-commerce system, which of the following correctly represents a
Many-to-Many (M:N) relationship between Customer and Product?

A. A single line connecting Customer and Product with "1" on both ends

B. A crow's foot on the Customer side and a single line on the Product side

C. A crow's foot on both ends of the relationship line

D. A dashed line with "0..1" on both ends

C. A crow's foot on both ends of the relationship line [CORRECT]

Rationale: In crow's foot notation, a crow's foot (three prongs) on both ends of a
relationship line indicates M:N cardinality. Option A represents 1:1; Option B represents
M:1; Option D represents an optional relationship, not M:N.

Correct Answer: C



Q3. Consider the following unnormalized table for a library system:

Table


BookI Title AuthorNam AuthorEmail Category CategoryLocatio
D e n



B001 Database Smith, J. Technolo Shelf A-12
Design m gy

, B002 SQL Basics Smith, J. Technolo Shelf A-12
m gy



B003 Data Science Jones, M. Science Shelf B-05
m


Which normal form is violated by this table design?

A. 1NF only

B. 2NF only

C. Both 1NF and 2NF

D. 3NF only

C. Both 1NF and 2NF [CORRECT]

Rationale: The table violates 1NF because AuthorName contains composite values (last
name, first name in one field). It violates 2NF because CategoryLocation is functionally
dependent on Category (a non-key attribute), creating a partial dependency. The table
must be in 1NF before 2NF can be assessed, and the repeating groups of author data
also indicate normalization issues.

Correct Answer: C



Q4. A database table contains the following attributes: OrderID, ProductID,
ProductName, ProductPrice, OrderDate, CustomerID, CustomerName. The primary key
is (OrderID, ProductID). Which normal form is violated?

A. 1NF

, B. 2NF

C. 3NF

D. BCNF

B. 2NF [CORRECT]

Rationale: ProductName and ProductPrice depend only on ProductID (part of the
composite key), and CustomerName depends only on CustomerID (a non-key attribute).
These are partial dependencies, which violate 2NF. 1NF is satisfied (atomic values); 3NF
cannot be violated if 2NF is already violated.

Correct Answer: B



Q5. Which of the following is a transitive dependency that would violate 3NF?

A. StudentID → StudentName (StudentID is the primary key)

B. StudentID → MajorID, MajorID → MajorName

C. (StudentID, CourseID) → Grade

D. OrderID → OrderDate, OrderID → CustomerID

B. StudentID → MajorID, MajorID → MajorName [CORRECT]

Rationale: A transitive dependency exists when A → B and B → C, therefore A → C
indirectly. Here, StudentID determines MajorID, and MajorID determines MajorName,
making MajorName transitively dependent on StudentID through MajorID. Options A, C,
and D show direct dependencies that do not violate 3NF.

Correct Answer: B

Written for

Institution
WGU c170
Course
WGU c170

Document information

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

Subjects

$15.50
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.
NURSEPEARSONVUE West Virgina University
Follow You need to be logged in order to follow users or courses
Sold
116
Member since
2 year
Number of followers
33
Documents
1799
Last sold
6 days ago
Writing and Academics (kianbiden907 at gmail dot com)

I offer a full range of online academic services aimed to students who need support with their academics. Whether you need tutoring, help with homework, paper writing, or proofreading, I am here to help you reach your academic goals. My experience spans a wide range of disciplines. I provide online sessions using the Google Workplace. If you have an interest in working with me, please contact me for a free consultation to explore your requirements and how I can help you in your academic path. I am pleased to help you achieve in your academics and attain your full potential.

Read more Read less
3.5

30 reviews

5
11
4
4
3
6
2
6
1
3

Recently viewed by you

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