Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. A group of statements that exist within a program for the purpose of performi

ID: 3689287 • Letter: 1

Question

1. A group of statements that exist within a program for the purpose of performing a specific task is an) a. block b. parameter c. function d. expression 2. A design technique that helps to reduce the duplication of code within a program and is a benefit of using functions is a. code reuse b. divide and conquer c. debugging d. facilitation of teamwork 3. The first line of a function definition is known as the a. body c. initialization d. header 4. You the function to execute it. a. define b. call C. import d. export 5. A design technique that programmers use to break down an algorithm into functions is known as a. top-down design b. code simplification d. hierarchical subtasking is a diagram that gives a visual representation of the relationships between functions in a program. a. flowchart b. function relationship chart c. symbol chart d. hierarchy chart is a variable that is created inside a function. a. global variable b. local variable c. hidden variable d. none of the above; you cannot create a variable inside a function A(n) a. declaration space b. area of visibility C. scope d. mode 8. is the part of a prograrn in which a variable may be accessed. 9. A(n)is a piece of data that is sent into a function. a. argument b. parameter c. header d. packet

Explanation / Answer

Answer:

1.C. function
2.a.code reuse
3.d.header
4.b.call
5.a.top-down design
6.a. flowchart
7.b. local variable
8.c.scope
9.a.arguement
10.b. parameter
11.d.global variable
12.b.global
13.b.library function
14.b.randint
15.a.random
16.d.uniform
17.d.return
18.b.IPO chart
19.c.Boolean
20.c.sqrt

True or false:
---------------
1. False
2. false
3. False
4. False
5. False
6. True
7.False
8.False
9.True