Scripting-and-Programming-Foundations Exam Question 1

The steps in an algorithm to calculate the positive difference in two given values, x and y, are given in no particular order:

What is the first step of the algorithm?
  • Scripting-and-Programming-Foundations Exam Question 2

    Which type of language requires variables to be declared ahead of time and prohibits their types from changing while the program runs?
  • Scripting-and-Programming-Foundations Exam Question 3

    Which expression has a values equal to the rightmost digit of the integer q = 16222?
  • Scripting-and-Programming-Foundations Exam Question 4

    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?
  • Scripting-and-Programming-Foundations Exam Question 5

    A sample function is shown:

    What is returned for F (3)?