Question: After reading Chapter 6 of C. How to Program, Seventh Edition, answer the given questions. These questions are intended to test and reinforce your understanding
After reading Chapter 6 of C. How to Program, Seventh Edition, answer the given questions. These questions are intended to test and reinforce your understanding of key concepts and may be done either befoze the lab or during the lab. en questions. Ihese questions For each term in the column on the left, write the corresponding letter for the description that best matches it from the column on the right. Term Description 1. Divide-and-conquer -2. Function call a) Using existing functions as building blocks to create new pro- grams b) Technique for reducing the range of values produced by func- 3. Local variable tion rand. 4. Pass-by-reference c Contains function prototypes and definitions of various data 5. static types. d) Seeds the random-number generator. e) Invokes a function. 0 Known only in the function in which it is defined. g) Passes a copy of an argument's value to a function. h) Technique for constructing a program from smaller, more man- 6. Pass-by-value 7. Scaling 8. Scope -9. rand -10. Header file ageable pieces. Generates and returns a pseudo-random number -11. Software reuse i) ) The portion of a program in which an identifier may be refer- 12. srand enced Provides a called function with the ability to access the caller's data directly Signifies that a local variable retains its value after the function k) I) in which it was defined is exited
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
