Free Scripting-and-Programming-Foundations Practice Test Questions and Answers (2026) | Cert Empire Practice Questions

Free preview: 20 questions.

Already purchased? Log in

WGU Scripting and Programming Foundation…

View Mode
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. WGU Scripting and Programming Foundations question 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
Q: 11

What is the out of the given pseudocode? WGU Scripting and Programming Foundations question

Options
Q: 12
One requirement for the language of a protect is that it is based on a series of method calls. When type of language is characterized in this way?
Options
Q: 13
Which data type should be used to hold the value of a person's body temperature in Fahrenheit
Options
Q: 14

HOTSPOT Oder the tasks needed to safely replace a lamp's light bulb from first (1) to last (4). Select your answer from the pull down list. WGU Scripting and Programming Foundations question

Your Answer
Q: 15
Which characteristic distinguishes an object-oriented language from other languages?
Options
Q: 16
Consider the given function: function K(string s1, string s2) Put s1 to output Put " and " to output Put s2 to output What is the total output when K("sign", "horse") is called 2 times?
Options
Q: 17
A programmer is writing code using C. Which paradigm could the programmer be using?
Options
Q: 18
The steps in an algorithm to calculate the positive difference in given values, x and y, are given in no particular order: Put Diff to output. Set Diff = x - y. If y > x, set Diff = y - x. Declare variable Diff.What is the first step of the algorithm?
Options
Q: 19
An algorithm should output ‘’OK’’ if a number is between 98.3 and 98.9, else the output is ‘’Net OK’’ Which test is a valid test of the algorithm?
Options
Q: 20
Which action occurs the design phase of an agile process?
Options
Question 1 of 20

Premium Access Includes

  • Quiz Simulator
  • Exam Mode
  • Progress Tracking
  • Question Saving
  • Flash Cards
  • Drag & Drops
  • 3 Months Access
  • PDF Downloads
Get Premium Access
Scroll to Top

FLASH OFFER

Days
Hours
Minutes
Seconds

avail 10% DISCOUNT on YOUR PURCHASE