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 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

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.

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

$13.49
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

Thumbnail
Package deal
ALL WGU D278 / D278 PACKAGED EXAMS: QUESTIONS WITH 100% VERIFIED ANSWERS
-
17 2025
$ 37.99 More info

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
1566
Member since
4 year
Number of followers
853
Documents
31320
Last sold
6 days ago

3.8

322 reviews

5
140
4
63
3
62
2
17
1
40

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