• Home
  • Textbooks
  • Starting Out with Programming Logic and Design
  • Modules

Starting Out with Programming Logic and Design

Tony Gaddis

Chapter 3

Modules - all with Video Answers

Educators


Chapter Questions

01:07

Problem 1

What is a module?

Sanchit Jain
Sanchit Jain
Numerade Educator
01:04

Problem 2

What is meant by the phrase "divide and conquer"?

Emily Himsel
Emily Himsel
Numerade Educator
01:27

Problem 3

How do modules help you reuse code in a program?

Alyssa Mae L.
Alyssa Mae L.
Numerade Educator
01:35

Problem 4

How can modules make the development of multiple programs faster?

Vishal Sharma
Vishal Sharma
Numerade Educator
02:02

Problem 5

How can modules make it easier for programs to be developed by teams of programmers?

Dennis Howard
Dennis Howard
Numerade Educator
01:04

Problem 6

In most languages, a module definition has what two parts?

AL
Andrew Lebedinsky
Numerade Educator
00:12

Problem 7

What does the phrase "calling a module" mean?

Amy Jiang
Amy Jiang
Numerade Educator
01:10

Problem 8

When a module is executing, what happens when the end of the module is reached?

Adam Conner
Adam Conner
Numerade Educator
00:27

Problem 9

Describe the steps involved in the top-down design process.

James Kiss
James Kiss
Numerade Educator
01:27

Problem 10

What is a local variable? How is access to a local variable restricted?

Jennifer Stoner
Jennifer Stoner
Numerade Educator
01:24

Problem 11

What is a variable's scope?

Brian Lin
Brian Lin
Numerade Educator
01:56

Problem 12

Is it usually permissible to have more than one variable with the same name in the same scope? Why or why not?

Adam Conner
Adam Conner
Numerade Educator
01:56

Problem 13

Is it usually permissible for a local variable in one module to have the same name as a local variable in a different module?

Adam Conner
Adam Conner
Numerade Educator
01:30

Problem 14

What are the pieces of data that are passed into a module called?

Adam Conner
Adam Conner
Numerade Educator
00:43

Problem 15

What are the variables that receive pieces of data in a module called?

Sheryl Ezze
Sheryl Ezze
Numerade Educator
00:35

Problem 16

Does it usually matter whether an argument's data type is different from the data type of the parameter that it is being passed to?

Harsh Gadhiya
Harsh Gadhiya
Numerade Educator
01:24

Problem 17

Typically, what is a parameter variable's scope?

Brian Lin
Brian Lin
Numerade Educator
08:07

Problem 18

Explain the difference between passing by value and passing by reference.

Willis James
Willis James
Numerade Educator
01:27

Problem 19

What is the scope of a global variable?

Jennifer Stoner
Jennifer Stoner
Numerade Educator
01:27

Problem 20

Give one good reason that you should not use global variables in a program.

Jennifer Stoner
Jennifer Stoner
Numerade Educator
01:25

Problem 21

What is a global constant? Is it permissible to use global constants in a program?

Ma Ednelyn Lim
Ma Ednelyn Lim
Numerade Educator