WGU C173 Scripting and Programming Study test in depth Examination and 100% correctly verified Solutions Latest version 2024/2025
5 views 0 purchase
Course
WGU C173
Institution
WGU C173
WGU C173 Scripting and Programming Study test in depth Examination and 100% correctly verified Solutions Latest version 2024/2025
What comes last in precedence rules? - correct answer evaluation from left to right
Good practice - correct answer use parentheses to make order of evaluation explic...
WGU C173 Scripting and Programming Study
test in depth Examination and 100% correctly
verified Solutions Latest version 2024/2025
What comes last in precedence rules? - correct answer
evaluation from left to right
Good practice - correct answer use parentheses to make
order of evaluation explicit
Commas - correct answer not allowed in an integer literal
1,335,555 is written as 1335555
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
Floating-point number - correct answer a real number; the
term floating point refers to the decimal point being able to
appear anywhere in the number
Floating-point literal - correct answer a number with a
fractional part, even if that fraction is 0, as in 1.0, 0.0, or 99.573
Integer values typically used for... - correct answer values
that are counted
,Floating-point variables typically used for... - correct answer
values that are measured
Floating-point variables are also typically used for... - correct
answer dealing with fractions of countable items
Such as the average number of cars per household
If the dividend and divisor in floating-point division are both "0",
the division results in...? - correct answer a "not a number"
"not a number" indicates? - correct answer an
unrepresentable or undefined value
Printing a floating-point variable that is not a variable outputs...?
- correct answer notanumber
Dividing a nonzero floating-point number by zero results in..? -
correct answer infinity or -infinity
Function - correct answer list of statements executed by
invoking the function's name
Function call - correct answer to invoke a function's name
Arguments - correct answer any function input values;
appear within ( ) ; separated by comma if more than one
, Squareroot(x) - correct answer square root of x
Raisetopower(x,y) - correct answer Raise x to power of y
Absolutevalue(x) - correct answer Absolute value of x
Randomnumber ( ) - correct answer returns a random integer
in the range lowvalue to highvalue
Integer and at least one floating-point type divided... - correct
answer produces fractional values
Ex= 10/4=2.5
Dividing an integer by zero produces..? - correct answer
error
Ex: 100/0
Type conversion - correct answer A conversion of one data
type to another, such as an integer to a float.
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.99. You're not tied to anything after your purchase.