Lesson 6 Procedures and Functions

Lesson 6 Procedures and Functions - Chapter 6...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 6 Fill-in-the-blank 1. procedure 2. Procedure call 3. Function 4. Return 5. Static 6. Arguments 7. Parameter 8. Value 9. Reference 10. Step-into Multiple Choice 1. b 2. c 3. a 4. b 5. d 6. b 7. a 8. c 9. d 10. c True or False 1. False 2. False 3. True 4. True 5. False 6. False Short Answer 1. Because they are removed from memory when the procedure or function finishes executing. 2. An argument is a value that is passed to a procedure or function. A parameter variable is a variable in a procedure or function that an argument is passed into. 3. Inside the parentheses on the first line of the procedure or function. 4. Declare the parameter variable as ByVal .
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
5. Yes. The arguments are passed into the parameter variables in the order they appear in the procedure call. Argument 1 is passed into parameter 1, argument 2 is passed into parameter 2, and so forth. 6. You use the Return statement in the function. What Do You Think?
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/15/2010 for the course ITSE 1431 taught by Professor Gibson during the Spring '10 term at Central Texas College.

Page1 / 3

Lesson 6 Procedures and Functions - Chapter 6...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online