WGU Scripting and Programming Foundation…
Q: 1
Which is one characteristic of an object-oriented language that is not a characteristic of a procedural
or functional language?
Options
Q: 2
What is an example of an algorithm?
Options
Q: 3
Which expression has a values equal to the rightmost digit of the integer q = 16222?
Options
Q: 4
An algorithm to calculate the positive difference in two given values, x and y, uses the steps shown.
What are the two steps of the algorithm that need to be switched to result in success?
Options
Q: 5
Which language has extensive support for object-oriented programming?
Options
Q: 6
Which expression has a value equal to the rightmost digit of the integer q = 7777?
Options
Q: 7
A programmer is writing a simu-lation for a physical experiment. Which phase of the agile approach
is being carried writing new procedural code and eliminating certain function calls?
Options
Q: 8
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?
Options
Q: 9
Which kind of languages are C, C++ and Java?
Options
Q: 10
A program steps through an array and adds up all the numbers stored in the array. What is the
appropriate individual control structure that should be used?
Options
Question 1 of 10