• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 4 fuera de 53 páginas
Examen

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

Document preview thumbnail
Vista previa 4 fuera de 53 páginas

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!

Vista previa del contenido

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

Información del documento

Subido en
11 de mayo de 2026
Número de páginas
53
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$15.50

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
NURSEPEARSONVUE
3.4
(32)
Vendido
131
Seguidores
34
Artículos
1896
Última venta
13 horas hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes