Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)
5th Edition
ISBN: 9780134801155
Author: Tony Gaddis
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Concept explainers
Expert Solution & Answer
Chapter 3, Problem 5MC
Program Description Answer
The location of the memory address in the program that the computer will return when it reaches the end of the module is referred as return point.
Hence, the correctanswer is option “C”.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
When memory is ____, it means that the memory is reserved by some entity for use
Find the error in the following pseudocode:
Module main()
Call getCalories()
End Module
Module getCalories()
Declare Real calories
Display "How many calories are in the first food?"
Input calories
Declare Real calories
Display "How many calories are in the second food?"
Input calories
End Module
For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac).
What effect does declaring a variable have on memory allocation?
Chapter 3 Solutions
Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)
Ch. 3.1 - What is a module?Ch. 3.1 - Prob. 3.2CPCh. 3.1 - Prob. 3.3CPCh. 3.1 - Prob. 3.4CPCh. 3.1 - Prob. 3.5CPCh. 3.2 - In most languages, a module definition has what...Ch. 3.2 - Prob. 3.7CPCh. 3.2 - Prob. 3.8CPCh. 3.2 - Prob. 3.9CPCh. 3.3 - What is a local variable? How is access to a local...
Ch. 3.3 - What is a variables scope?Ch. 3.3 - Prob. 3.12CPCh. 3.3 - Prob. 3.13CPCh. 3.4 - Prob. 3.14CPCh. 3.4 - What are the variables that receive pieces of data...Ch. 3.4 - Prob. 3.16CPCh. 3.4 - Prob. 3.17CPCh. 3.4 - Prob. 3.18CPCh. 3.5 - What is the scope of a global variable?Ch. 3.5 - Give one good reason that you should not use...Ch. 3.5 - Prob. 3.21CPCh. 3 - A group of statements that exist within a program...Ch. 3 - Prob. 2MCCh. 3 - The first line of a module definition is known as...Ch. 3 - Prob. 4MCCh. 3 - Prob. 5MCCh. 3 - A design technique that programmers use to break...Ch. 3 - Prob. 7MCCh. 3 - A _____ is a variable that is declared inside a...Ch. 3 - A(n) ____ is the part of a program in which a...Ch. 3 - A(n) ____ is a piece of data that is sent into a...Ch. 3 - A(n) ____ is a special variable that receives a...Ch. 3 - When _____, only a copy of the argument's value is...Ch. 3 - When ____, the module can modify the argument in...Ch. 3 - A variable that is visible to every module in the...Ch. 3 - When possible, you should avoid using _____...Ch. 3 - The phrase divide and conquer means that all of...Ch. 3 - Prob. 2TFCh. 3 - Module names should be as short as possible.Ch. 3 - Prob. 4TFCh. 3 - A flowchart shows the hierarchical relationships...Ch. 3 - Prob. 6TFCh. 3 - A statement in one module can access a local...Ch. 3 - In most programming languages, you cannot have two...Ch. 3 - Programming languages typically require that...Ch. 3 - Most languages do not allow you to write modules...Ch. 3 - When an argument is passed by reference, the...Ch. 3 - Prob. 12TFCh. 3 - Prob. 1SACh. 3 - Prob. 2SACh. 3 - Prob. 3SACh. 3 - What is a local variable? What statements are able...Ch. 3 - In most languages, where does a local variables...Ch. 3 - What is the difference between passing an argument...Ch. 3 - Prob. 7SACh. 3 - Design a module named timesTen. The module should...Ch. 3 - Examine the following pseudocode module header,...Ch. 3 - Look at the following pseudocode module header:...Ch. 3 - Assume that a pseudocode program contains the...Ch. 3 - Design a module named getNumber, which uses a...Ch. 3 - What will the following pseudocode program...Ch. 3 - What will the following pseudocode program...Ch. 3 - Find the error in the following pseudocode. Module...Ch. 3 - Find the error in the following pseudocode. Module...Ch. 3 - Find the potential error in the following...Ch. 3 - Prob. 4DECh. 3 - Kilometer Converter Design a modular program that...Ch. 3 - Prob. 2PECh. 3 - How Much Insurance? Many financial experts advise...Ch. 3 - Prob. 4PECh. 3 - Prob. 5PECh. 3 - Prob. 6PECh. 3 - Calories from Fat and Carbohydrates A nutritionist...Ch. 3 - Prob. 8PECh. 3 - Prob. 9PECh. 3 - Monthly Sales Tax A retail company must file a...Ch. 3 - Prob. 11PE
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.Similar questions
- Most of the memory locations declared in an application should be class-level variables. a. True b. Falsearrow_forwardJava Language Create Clock class and demonstrate the features of the class with the driver program. upload a single file that contains the source code with documentation for both the clock class and the driver and execution of the program. The rule for execution is that you execute enough times with sufficient data that every line in the program is executed).arrow_forwardHCI The choice of operations and services offered on the screen through ……………………. (Choose one) a. None b. Menus c. Pointers d. Toolbarsarrow_forward
- When discussing the process of programming a computer, what does the phrase "debugging" specifically refer to?arrow_forward// main module Module main() // Local variables Declare Integer number // Get number Call getNumber(number) // display Roman numeral Select number Case 1: Display “I” Case 2: Display “II” Case 3: Display “III” Case 4: Display “IV” Case 5: Display “V” Case 6: Display “VI” Case 7: Display “VII” Case 8: Display “VIII” Case 9: Display “IX” Case 10: Display “X” Default: Display “Error: Invalid Number” End Select End Module // The getNumber module gets wall space and stores it // in the number reference variable. Module getNumber (Integer Ref number) Display “Enter an integer from 1 to 10: ” Input number End Module I want flowchart and pseudocode pleasearrow_forwardThe parameter that should be used when a module calling the sub wants to allow it to have access to the memory holding its local variable so that the sub can modify the variable. a. ByVal b. ByCopy c. ByRef d. Either ByVal or ByRefarrow_forward
- A __________error does not prevent the program from running but causes it to produce incorrect results.arrow_forwardThe variables which can be accessed by all modules in a program, are called A. local variables B. internal variables C. external variable D. global variablesarrow_forwardlanguage is C++ Use Lastname First name, JonnyEnglish Instructions 1. Using Visual Studio, or Xcode, create a new empty project in your working drive. Name the Project: 05LastFirst (NOTE: where LastFirst is your actual Lastname and Firstname. For Example, if your name is Mary Smith then your empty project folder will be named 02SmithMary) 2. You will be updating your 05CH3 program. You will develop an Algorithm and then update your C++ Program for the problem described below: Have the user input test grades UNTIL user enters a negative number. The program will: list the number of grades entered, list the number of passing grades (>= 60) total all the grades, and then display the average of the grades. For example: Enter score 1: 88.8 Enter score 2: 50 Enter score 3: 100 Enter score 4: 100 Enter score 5: -1 Total number of grades: 4 Total number of passing grades: 3 Total: 338.8 Average: 84.7 (NOTE: Follow the steps below in creating your Algorithm and C++ Program.…arrow_forward
- Privilaged users get different instructions.arrow_forwardFix the follwing pseudocode Start num number of hours num cost of job num labor cost = 30 num HOURS_PROMPT = “Enter the number of hours projected: ” num END_LINE = “End of program” housekeeping module when num of hours = 0 do detailLoop module exitLoop end module end housekeeping output HOURS_PROMPT enter the number of hours stop detailLoop input materialsCost jobCost = (number of hours * LABOR_COST) + materialsCost output jobCost return endOfJob start output endLine stoparrow_forwardFind the error in the following pseudocode: Module main() Call getCalories() End Module Module getCalories() Declare Real calories Display "How many calories are in the first food?" Input calories Declare Real calories Display "How many calories are in the second food?" Input calories End Modulearrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage LearningProgramming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningProgramming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:Cengage
- EBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENTMicrosoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr