D 278 WGU SCRIPTING AND PROGRAMMING FOUNDATIONS UPDATED ACTUAL EXAM
QUESTIONS CORRECT ANSWERS GRADED A PLUS
Question:
Not a number
Answer:
Indicated an unrepresented or undefined value
Question:
Function
Answer:
A list of statements executed by invoking the function's name
Question:
Function call
Answer:
Invoking a function's name; causes the function's statements to execute
Question:
Arguements
Answer:
Any function input values, appear within ( ); separated by commas if more than one
Question:
RandomNumber( )
,Answer:
Function build into Coral that takes two arguments, lowValue and highValue, and returns a random
integer in between the given range of lowValue and highValue
Question:
Type conversion
Answer:
A conversion of one data type to another, such as integer or float
Question:
Implicit conversion
Answer:
Automatic conversion of one data type to another
Question:
Type cast
Answer:
Converts a value of one type to another type
Question:
Modulo Operator (%)
Answer:
Evaluates to the remainder of the division of two integer operands Ex.) = 1
Question:
Constant
Answer:
, A named value item that holds a value that cannot change; commonly used in programs to hold the
value of mathematical or physical constants such has Pi, speed of light, etc.
Question:
Branch
Answer:
Sequence of statements only executed under a certain condition
Question:
Decision
Answer:
Creates two branches: if the decision is true the first branch executes; else the second brand executes
Afterward the branches rejoin Called if-else branches
Question:
Nested branches
Answer:
A branch containing if-else branch
Question:
Multiple branches
Answer:
Each decision is independent, this more than one branch can execute
Question:
Equality operator
Answer:
QUESTIONS CORRECT ANSWERS GRADED A PLUS
Question:
Not a number
Answer:
Indicated an unrepresented or undefined value
Question:
Function
Answer:
A list of statements executed by invoking the function's name
Question:
Function call
Answer:
Invoking a function's name; causes the function's statements to execute
Question:
Arguements
Answer:
Any function input values, appear within ( ); separated by commas if more than one
Question:
RandomNumber( )
,Answer:
Function build into Coral that takes two arguments, lowValue and highValue, and returns a random
integer in between the given range of lowValue and highValue
Question:
Type conversion
Answer:
A conversion of one data type to another, such as integer or float
Question:
Implicit conversion
Answer:
Automatic conversion of one data type to another
Question:
Type cast
Answer:
Converts a value of one type to another type
Question:
Modulo Operator (%)
Answer:
Evaluates to the remainder of the division of two integer operands Ex.) = 1
Question:
Constant
Answer:
, A named value item that holds a value that cannot change; commonly used in programs to hold the
value of mathematical or physical constants such has Pi, speed of light, etc.
Question:
Branch
Answer:
Sequence of statements only executed under a certain condition
Question:
Decision
Answer:
Creates two branches: if the decision is true the first branch executes; else the second brand executes
Afterward the branches rejoin Called if-else branches
Question:
Nested branches
Answer:
A branch containing if-else branch
Question:
Multiple branches
Answer:
Each decision is independent, this more than one branch can execute
Question:
Equality operator
Answer: