Scripting-and-Programming-Foundations Exam Question 16

Given integer x = 12 and integer y = 4. What is the value of the expression x - y * 2?
  • Scripting-and-Programming-Foundations Exam Question 17

    The steps in an algorithm to build a picnic table are given.
    1) Measure and mark the lumber cuts that need to be made
    2) Buy the needed materials
    3) Determine the needed materials
    4) Cut the lumber to the proper dimensions
    5) Assemble the pieces and paint.
    Which two steps of the algorithm should be switched to make the algorithm successful?
  • Scripting-and-Programming-Foundations Exam Question 18

    The steps in an algorithm to find the maximum of integers a and b are given.

    Which two steps of the algorithm should be switched to make the algorithm successful?
  • Scripting-and-Programming-Foundations Exam Question 19

    What is a feature of CM as a programming language
  • Scripting-and-Programming-Foundations Exam Question 20

    It is given that integer x = 41 and integer y = 16. What is the value of the expression (x % y)?