100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
Tentamen (uitwerkingen)

WGU D427 Practice Test 1 with ANSWER KEY

Beoordeling
-
Verkocht
-
Pagina's
23
Cijfer
A+
Geüpload op
08-04-2025
Geschreven in
2024/2025

WGU D427 Practice Test 1 with ANSWER KEY

Instelling
Vak










Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
8 april 2025
Aantal pagina's
23
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

D427 Practice Test 1
1. Seattle, WA 98111
USA
How many attributes are present in the address fragment?

a. 1
b. 2
c. 3
d. 4

2. The Book table has the following columns:
genre – varchar(20)
pages – integer
author_id – char(3)
isbn_number – varchar(20)
Which column should be designated as the primary key for the Book table?

a. genre
b. pages
c. author_id
d. isbn_number

3. The Book table has the following columns:
genre – varchar(20)
pages – integer
author_id – char(3)
isbn_number – varchar(20)
Which column should be designated as the foreign key for the Book table?

a. genre
b. pages
c. author_id
d. isbn_number

4. Which data type represents numbers with fractional values:

a. Integer
b. Decimal
c. Character
d. Binary

,5. Which of the following is a DDL commands?

a. INSERT
b. SELECT
c. CREATE INDEX
d. UPDATE


6. Which of the following is a DML command?

a. CREATE VIEW
b. CREATE TABLE
c. INSERT
d. ALTER INDEX


7.
CREATE TABLE Invoice (
invoice_id INT NOT NULL AUTO_INCREMENT,
date DATE NOT NULL,
customer_id INT NOT NULL UNIQUE,
PRIMARY KEY (invoice_id),
FOREIGN KEY (customer_id) REFERENCES Customer (customer_id) ON DELETE
CASCADE
);
Looking at the Customer and Invoice tables and the CREATE TABLE for the Invoice table with
foreign key reference statement above, what would happen to invoices in the Invoice table that are
linked to a customer if that customer is deleted.


a. Those invoices would remain in the database.
b. Those invoices would be deleted also.
c. The Customer ID for those invoices would be changed to NULL.
d. Nothing would happen.


Customer ID (PK) Invoice ID (PK)
Customer Last Name Date
Customer First Name Customer ID (FK)
Street Address
City
State
Zip

, 8. CREATE TABLE Invoice (
invoice_id INT NOT NULL AUTO_INCREMENT,
date DATE NOT NULL,
customer_id INT NOT NULL,
PRIMARY KEY (invoice_id),
FOREIGN KEY (customer_id) REFERENCES Customer (customer_id) ON DELETE
RESTRICT
);


Looking at the Customer and Invoice tables and the CREATE TABLE for the Invoice table with
foreign key reference statement above, what would happen to invoices in the Invoice table that are
linked to a customer if that customer is deleted.


a) Those customers would remain in the customer database.
b) Those invoices would be deleted also.
c) The Customer ID for those invoices would be changed to NULL.
d) The delete of the invoices would not be allowed.


Customer ID (PK) Invoice ID (PK)
Customer Last Name Date
Customer First Name Customer ID (FK)
Street Address
City
State
Zip


9. CREATE TABLE Invoice (
invoice_id INT NOT NULL AUTO_INCREMENT,
date DATE NOT NULL,
customer_id INT NOT NULL,
PRIMARY KEY (invoice_id),
FOREIGN KEY (customer_id) REFERENCES Customer (customer_id) ON DELETE SET TO
NULL
);

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
ACESpecials Rasmussen College
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
49
Lid sinds
4 jaar
Aantal volgers
37
Documenten
825
Laatst verkocht
1 maand geleden
ACESpecials Educational Materials

PS: Boost your exam performance with my comprehensive study package Deals {CHECK OUT DISCOUNTS ON MY BUNDLES, I ASLO OFFER PACKAGE DEALS TO ALL MY STUDY MATERIAL} I have developed a range of study materials that cover all aspects of Courses, from the basics to advanced topics. My materials are designed to provide clear and concise explanations of complex concepts, with plenty of helpful examples and practice problems to reinforce your learning. I've received multiple academic awards during my time at university and have been recognized for my excellence in teaching. Download my materials today and start acing your exams! “Thank you in advance for your purchase! If you find my documents to be helpful, write a review! Refer other learners so that they can also benefit from my study materials."

Lees meer Lees minder
3,5

6 beoordelingen

5
1
4
3
3
1
2
0
1
1

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen