Machine-translated by Google. Questions are authored in English.
Top

Discussion

A call to a procedure with 4 arguments is translated using one parameter instruction per argument plus the call itself. How many instructions result, ignoring argument evaluation?

  • A.1
  • B.5
  • C.4
  • D.6

Answer: B

One parameter instruction per argument, plus the call itself: \[ n = 4 + 1 = 5 \] Evaluating the argument expressions themselves would add further instructions ahead of these, and a nested call appearing as an argument expands the count considerably. The question asks only for the parameter-passing sequence, which is why the arithmetic is this simple.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.