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

WGU C173 / D278 STUDY QUESTIONS AND ANSWERS BY COMPETENCY

Rating
-
Sold
-
Pages
11
Uploaded on
08-02-2025
Written in
2024/2025

WGU C173 / D278 STUDY QUESTIONS AND ANSWERS BY COMPETENCY...

Institution
WGU C173 / D278
Course
WGU C173 / D278









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

Written for

Institution
WGU C173 / D278
Course
WGU C173 / D278

Document information

Uploaded on
February 8, 2025
Number of pages
11
Written in
2024/2025
Type
Exam (elaborations)
Contains
Unknown

Subjects

Content preview

WGU C173 / D278 STUDY QUESTIONS AND
ANSWERS BY COMPETENCY


What is a variable?
A named something, such as x that holds a value


How to store a value to a variable
The assignment statement sets a variable with a value. (x = 0)


What is an expression in programming?
A number, variable (x), or simple calculation (numApples + 1)


What is an identifier?
A name given to a variable or function.


What is a valid identifier?
An identifier shall begin with a letter and shall be a sequence of letters,
underscores, and digits.


What is a literal?
any number, text, or other information that directly represents a value.


What is an operator?
a symbol that performs a built-in calculation. (+, -, *, /)

, What precedence rules does programming use?
PEMDAS


How does an integer differ from a float?
Integers are whole numbers and used for counted values.
Floats allow the decimal point to appear anywhere in the number and are used
for values that are measured or fractions.


What happens if you divide two integers? you will get an integer or the answer
will be cut short


what happens if you divide an integer and float? It returns a float


What happens if you divide a nonzero floating point number by zero? In coral -
infinity or infinity. Otherwise not a number.




How would you change the type of an item?
By using a type conversion.




What does the % operator do?
It returns the remainder from dividing two integer operands.

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.
luzlinkuz Chamberlain University
View profile
Follow You need to be logged in order to follow users or courses
Sold
1424
Member since
4 year
Number of followers
849
Documents
27509
Last sold
3 days ago

3.7

302 reviews

5
131
4
60
3
54
2
17
1
40

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