CIS 230

Ch. 5, Worksheet #4

The following VB statements call either a general function procedure (usually called "functions") or a general sub procedure (usually called "procedures"). Identify which type of procedure the statement calls by writing "function call" or "sub procedure call". In some exercises, VB naming conventions are followed although in some they are not. If there is not enough information within the statement to determine whether it is a function call or a procedure call or if there is a syntax error, then write "no answer".

  1. Call AddThem(intA)
  2. Call Average(A, B)
  3. SquareRoot intN
  4. OutputAmount curFirstNum, curSecondNum
  5. curFinal = Ave(A, B)
  6. lblOutput = Square(intSum) + 16
  7. Call Dividing M, N, X
  8. txtOutput = A(X, Y) / B(intA)