100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

C170 WGU EXAM QUIZ WITH ANSWERS PROVIDED

Rating
5.0
(1)
Sold
-
Pages
18
Grade
A+
Uploaded on
12-08-2024
Written in
2024/2025

C170 WGU EXAM QUIZ WITH ANSWERS PROVIDED

Institution
C170 WGU
Course
C170 WGU










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
C170 WGU
Course
C170 WGU

Document information

Uploaded on
August 12, 2024
Number of pages
18
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

c170
Studybonlinebatbhttps://quizlet.com/
_aqd3tz


C170 WGU EXAM QUIZ WITH ANSWERS PROVIDED

C1




C 170




1. CHAR: a fixed string of characters
b b b b b

2. VARCHAR: a string of variable length up to a specified maximum size.
b b b b b b b b b b b

3. Decimal data types: numbers with fractional values. FLOAT and DECIMAL
b b b b b b b b b

4. Time data types: represent date, time or both. For e.g: DATE, TIME, DATE
b b b b b b b b b b b b

TIME, and TIMESTAMPb b


5.Binary data types: store data exactly as the data appears in memory or c
b b b b b b b b b b b b b

omputer files, bit for bit b b b b

Common binary data types: BLOB, BINARY, VARBINARY, and IMAGE
b b b b b b b b

6. Spatial data types: store geometric information, such as lines, polygon
b b b b b b b b b

s, and map coordinates.
b b b


7. Document data types: contain textual data in a structured format such a
b b b b b b b b b b b

s XML or JSON
b b b


8. FLOAT: common decimal binary type that represents numbers with f
b b b b b b b b b

ractional values. b

9. BLOB: common binary data type that stores data in binary form (0s and
b b b b b b b b b b b b

1s)
10.TIMESTAMP: includes time zone. b b b

11.Structural rule: -Tables are normalized — b b b b b

exactly one value exists in each cell
b b b b b b b

-
no duplicate column names allowed. Same column name can appear in a
b b b b b b b b b b b b

different table. b

-no duplicate rows allowed in all columns.
b b b b b b

12. What does the principle of data independence state?
b b b b b b b




1) The performance of a query is not related to the physical organization of
b b b b b b b b b b b b b

data.
2) Data in each row is independent of data in all other rows.
b b b b b b b b b b b

3) The result of a database query is not affected by the physical organization
b b b b b b b b b b b b b

of data on storage devices.: The result of a database query is not affected b
b b b b b b b b b b b b b b

1b/b10

, c170
Studybonlinebatbhttps://quizlet.com/
_aqd3tz borganizationbofbdatabonbstoragebdevices.
ybthebphysical
13. How can driver's license information be added to the Employee table?
b b b b b b b b b b




1) Driver's licenses cannot be added, since the Employee table already has an
b b b b b b b b b b b

bID column.
b

2) By creating another column named ID.
b b b b b

3) By creating another column with a new name, such as ID2 or DriverLicense.
b b b b b b b b b b b b


: By creating another column with a new name, such as ID2 or DriverLic
b b b b b b b b b b b b b

ense. (note: A table may have several columns with similar information
b b b b b b b b b b

, as long as the column names are different.)
b b b b b b b b


14.NULL: special value that represents missing data (unknown or inapp
b b b b b b b b b

licable.) Note: zero is not same as NULL since it is still applicable.
b b b b b b b b b b b b




2b/b10

, c170
Studybonlinebatbhttps://quizlet.com/
_aqd3tz
15.Some columns should never contain a NULL. What does this mean?: the
b b b b b b b b b b b

ID column identifies employees and should always have a valid integer
b b b b b b b b b b b b

value and therefore NULL cannot be present here.
b b b b b b b


16.NOT NULL: To prohibit NULL, a column can be designated NOT NULL in
b b b b b b b b b b b b b

SQL. The database rejects any attempt to insert a row with missing data i
b b b b b b b b b b b b b

n a NOT NULL column.
b b b b

17. What does a NULL in the Name column present? b b b b b b b b




1) Unknown
2) Inapplicable
3) Either unknown or inapplicable: Unknown. b b b b

(note: Every employee has a name, so NULL indicates the name exists but
b b b b b b b b b b b b

bhas not been entered. The name is unknown to the database.)
b b b b b b b b b b

18. In the Bonus column of the Lisa Ellison row, what does the zero represent
b b b b b b b b b b b b b

?

1) Lisa Ellison's bonus is unknown. b b b b

2) Lisa Ellison is not eligible for a bonus.
b b b b b b b

3) Lisa Ellison has earned no bonus.: Lisa Ellison has earned no onus
b b b b b b b b b b b b

(note: Zero is a valid bonus amount. Zero is not the same as unknown
b . or in
b b b b b b b b b b b b b b

applicable data.) b


19. If the Department column is designated NOT NULL, what happens when a
b b b b b b b b b b b

buser attempts to insert a new employee without a department value?
b b b b b b b b b b




1) The database accepts the insert and stores a blank string as the Departmen
b b b b b b b b b b b b

t name. b

2) The database accepts the insert and saves NULL in the column.
b b b b b b b b b b

3) The database rejects the insert.: The database rejects the insert.
b b b b b b b b b

(note: A database does not accept an insert with missing Department data
b b b b b b b b b b b

. The insert statement fails.)
b b b b

20.SUM: Aggregate function which returns the total of selected values.
b b b b b b b b b

21.AVG: aggregate function that returns the average of selected values.
b b b b b b b b b

22.MAX: returns the largest selected value. b b b b b

23.MIN: returns the smallest selected value. b b b b b

(note: SUM, AVG, MIN, and MAX ignore NULL values.)
b b b b b b b b


24.When SELECT MAX (Salary + Bonus) from the compensation ptable in the
b b b b b b b b b b b b


icture,: Salary + bonus is NULL for Lisa Ellison and Jiho Chen, so AX ignores
b b b b b b b b b b b b b


bM these rows. MAX selects the largest amount from the remain s. So, 900
b b b b b b b b b b b b b


ing two row b b 00
3b/b10

Reviews from verified buyers

Showing all reviews
6 months ago

5.0

1 reviews

5
1
4
0
3
0
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

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.
Edufiles Howard County Community College
View profile
Follow You need to be logged in order to follow users or courses
Sold
100
Member since
1 year
Number of followers
11
Documents
6341
Last sold
2 days ago
EDUFILES STORES

Unlock success with our trusted collection of high-quality exam documents, study guides, and past papers from top universities. Whether you're preparing for midterms, finals, certifications, or professional exams, our expertly curated materials help you study smarter, score higher, and achieve your academic goals faster. Updated regularly and available instantly, our resources are designed to give you the edge you need.

4.9

208 reviews

5
199
4
2
3
1
2
1
1
5

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

Frequently asked questions