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

New WGU C173 – Questions With Proper Solutions

Rating
-
Sold
-
Pages
13
Grade
A+
Uploaded on
04-07-2025
Written in
2024/2025

New WGU C173 – Questions With Proper Solutions

Institution
WGU C173
Course
WGU C173









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

Written for

Institution
WGU C173
Course
WGU C173

Document information

Uploaded on
July 4, 2025
Number of pages
13
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

New WGU C173 – Questions With Proper
Solutions
Variable Correct Answer - named item such as X or numPeople
which is used to hold value

Assignment statement Correct Answer - assigns a variable
with a value such as x = 5, statement means X is assigned with 5 and
X keeps the value during subsequent statements until X is assigned
again

Variable declaration Correct Answer - declares a new variable
specifying the variable's name and type

Integer Correct Answer - can hold whole number values like 1,
999, 0, or -25 but not 3.5 or 0.001

Assignment statement Correct Answer - assigns the variables
on the left side of the = with the current value of the right side
expressions Ex: numApples = 8 assigns numApples with the value of
the right side expressions in this case an 8

Expression Correct Answer - may be a number like 80, a
variable name like numApples, or a simple calculation like
numApples + 1, simple calculations can involve standard math
operations like +, -, *, and parentheses as in 2*(numApples -1)

Identifier Correct Answer - A name created by a programmer
for an item like a variable or function, an identified must be a
sequence of letters (a-z, A-Z), underscores (_), and digits (0-9), they
are case sensitive

, Reserved word (or keyword) Correct Answer - word that is
part of the language like integer, Get, or Put, programmer cannot use
reserved word as a identifier

Naming conventions Correct Answer - set of style guidelines
defined by a company, team, teacher, etc., for naming variables.

Two common conventions for distinguishing words in an identifier
are: Correct Answer - Camel case: Lower camel case abuts
multiple words, capitalizing each word except the first, as in
numApples or peopleOnBus.

Underscore separated: Words are lowercase and separated by an
underscore, as in num_apples or people_on_bus.


Expression Correct Answer - a combination of items, like
variables, literals, operators, and parentheses, that evaluates to a
value. Ex: 2 * (x + 1) is an expression. If x is 3, the expression
evaluates to the value 8. Expressions are commonly used on the
right side of an assignment statement, as in y = 2 * (x + 1).

Literal Correct Answer - a specific value in code like a 2

Operator Correct Answer - a symbol that performs a built-in
calculation, like the operator + which performs addition.

An expression evaluates to a value Correct Answer - replaces
the expression. Ex: If x is 5, then x + 1 evaluates to 6, and y = x + 1
assigns y with 6.
An expression is evaluated using the order of standard mathematics,
such order known in programming as precedence rules, listed
below.

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.
StudyHall Chamberlain School Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
1293
Member since
2 year
Number of followers
825
Documents
16356
Last sold
1 week ago
The Study Hall Shop ~ "Where learning meets success"

Dear Stuvia Community, As a passionate and dedicated learner, I believe that knowledge is most powerful when shared. With this mindset, I’m thrilled to introduce my Stuvia account, where I aim to provide valuable, high-quality study resources that empower students like you to excel in your academic journey. Whether you’re looking for detailed notes, comprehensive study guides, or insightful exam preparation materials, I am committed to making your study experience more efficient and effective. My goal is to simplify complex topics, break them down into digestible content, and offer fresh perspectives that will help you gain deeper understanding and achieve academic success. I firmly believe that learning should be engaging, accessible, and rewarding. That’s why I’ve worked hard to craft resources that are not only informative but also easy to follow and enjoyable. As a fellow student, I understand the challenges that come with studying, and I’m here to make that process a little bit easier for you. Let’s make learning a journey, not a chore. Explore my collection of notes, exams and study materials, and feel free to reach out if you need anything more. Together, we can achieve greatness! Thank you for considering my contributions to your academic success. Best Wishes! :)

Read more Read less
3.8

215 reviews

5
99
4
40
3
37
2
9
1
30

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