Review Qu Multiple Choice 1. A group of statements that exist within a program for the purpose of performing a spe- cific task is a(n) 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 b. introduction c. initialization d. header
Review Qu Multiple Choice 1. A group of statements that exist within a program for the purpose of performing a spe- cific task is a(n) 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 b. introduction c. initialization d. header
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
What are the answers to these?

Transcribed Image Text:Review Questions
Multiple Choice
1. A group of statements that exist within a program for the purpose of performing a spe-
cific task is a(n)
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
b. introduction
c. initialization
d. header
4. You
a. define
b. call
the function to execute it.
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

Transcribed Image Text:Chapter 3 Simple
c. code refactoring
d. hierarchical subtasking
6. A
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
7. A
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
8. A(n)
a. declaration space
b. area of visibility
is the part of a program in which a variable may be accessed.
c. scope
d. mode
9. A(n)
is a piece of data that is sent into a function.
a. argument
b. parameter
c. header
d. packet
10. A(n)
is a special variable that receives a piece of data when a function is called.
a. argument
b. parameter
c. header
d. packet
11. A variable that is visible to every function in a program file is a
a. local variable
b. universal variable
c. program-wide variable
d. global variable
12. When possible, you should avoid using
variables in a program.
a. local
b. global
c. reference
d. parameter
True or False
1. The phrase "divide and conquer" means that all of the programmers on a team should
be divided and work in isolation.
2. Functions make it easier for programmers to work in teams.
3. Function names should be as short as possible.
Expert Solution

Step 1
Find the answers given as below :
We are supposed to answer only first three MCQs repost other MCQs as separate questions.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education