View all detail and faqs for the Scripting-and-Programming-Foundations exam
Which data type should be used to hold the value of a person’s body temperature in Fahrenheit?
One requirement for the language of a project is that it is based on a series of cells. Which type of language is characterized in this way?
What is an accurate way to describe a statically typed language?
It is given that integer x=41 and integer y = 16. What is the value of the expression (x % 8) - y?
A particular sorting algorithm takes integer list [10, 6, 8] and incorrectly sorts the list to [6, 10, 8]. What is true about the algorithm’s correctness for sorting an arbitrary list of three integers?
A sample function is shown:
What is returned for F (3)?
Which value would require an integer as a data type?
What is an argument?
A function should determine the average of x and y.
What should be the function's parameters and return value(s)?
The steps in an algorithm to build a picnic table are given:
Measure and mark the lumber cuts that need to be made.
Buy the needed materials.
Determine the needed materials.
Cut the lumber to the proper dimensions.
Assemble the pieces and paint.Which two steps of the algorithm should be switched to make the algorithm successful?