WGU C173 Scripting and Programming Study guide Exam Questions with Key Marking Scheme Updated 2024/2025
3 views 0 purchase
Course
WGU C173
Institution
WGU C173
WGU C173 Scripting and Programming Study guide Exam Questions with Key Marking Scheme Updated 2024/2025
Expression - correct answer This is a combination of items, like variables, literals, operators, and parentheses, that evaluates to a value. Ex: 2 * (x + 1)
Literal; commas are not allowed ...
WGU C173 Scripting and Programming Study
guide Exam Questions with Key Marking
Scheme Updated 2024/2025
Expression - correct answer This is a combination of items,
like variables, literals, operators, and parentheses, that evaluates
to a value. Ex: 2 * (x + 1)
Literal; commas are not allowed in these - correct answer A
specific value in code, like the number 2
Operator - correct answer A symbol that performs a built-in
calculation, like +, -, *, or /
Incremental Development - correct answer The process of
writing, compiling, and testing a small amount of code, then
writing, compiling, and testing a small amount more, and so on.
Floating-point number; The term "floating-point" refers to the
decimal point being able to appear anywhere ("float") in the
number. - correct answer This is a real number, like 98.6,
0.0001, or -768.567.
- For values that are counted, such as 42 cars
- For values that are measured like 98.6 degrees - correct
answer - When should you use an Integer Variable?
- A Floating-Point Variable?
, Infinity or -Infinity
- NotANumber - correct answer Dividing a nonzero floating-
point number by zero results in what?
- What is the output if the dividend and divisor in floating-point
division are both 0?
- Function
- Function Call
- Arguments - correct answer - What is a list of statements
executed by invoking a name?
- What is the invoking called?
- What are the values, contained within (), and separated by
commas if more than one?
- Type Conversion
- Implicit Conversion
1. For an arithmetic operator like + or *, if either operand is a
float, the other is automatically converted to float, and then a
floating-point operation is performed.
2. For assignments, the right side type is converted to the left
side type. - correct answer - This is a conversion of one data
type to another, such as an integer to a float
- What is it called when the conversion happens automatically?
- What are two rules for whether to apply it automatically?
Type Cast; example is integer 7 is type cast to float by writing it
7.0 - correct answer This converts a value of one type to
another type
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller KieranKent55. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.49. You're not tied to anything after your purchase.