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
Question
Chapter 2.1, Problem 2.6CP
Program Plan Intro
Flowchart:
- Flowchart is another tool to represent the
program in graphical structure. - Flowchart is a diagram, which represents the sequence of steps involved in a program based on the requirements.
Symbol of the flowchart:
The flowcharts are represented by three types of symbols. They are
- Oval
- Parallelogram
- Rectangle
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Flowchart that converts temperature (Fahrenheit to Celsius, and vice versa)
Create a flowchart and pseudocode that takes a sequence of numbers (max 10) and determines whether all the numbers are different from each other.
Read the two sides of a rectangle and calculate its area
draw flowcharts
Chapter 2 Solutions
Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)
Ch. 2.1 - Who is a programmers customer?Ch. 2.1 - What is a software requirement?Ch. 2.1 - What is an algorithm?Ch. 2.1 - What is pseudocode?Ch. 2.1 - Prob. 2.5CPCh. 2.1 - Prob. 2.6CPCh. 2.2 - Prob. 2.7CPCh. 2.2 - Prob. 2.8CPCh. 2.2 - What is a sequence structure?Ch. 2.2 - Prob. 2.10CP
Ch. 2.2 - Prob. 2.11CPCh. 2.2 - Prob. 2.12CPCh. 2.2 - Summarize three common rules for naming variables.Ch. 2.2 - Prob. 2.14CPCh. 2.2 - Look at the following pseudocode statement: Input...Ch. 2.2 - Prob. 2.16CPCh. 2.2 - Prob. 2.17CPCh. 2.2 - What two steps usually take place when a program...Ch. 2.2 - What does the term user-friendly mean?Ch. 2.3 - Prob. 2.20CPCh. 2.3 - When you assign a value to a variable, what...Ch. 2.3 - Summarize the mathematical order of operations, as...Ch. 2.3 - Prob. 2.23CPCh. 2.3 - Prob. 2.24CPCh. 2.4 - What two items do you usually specify with a...Ch. 2.4 - Does it matter where you write the variable...Ch. 2.4 - What is variable initialization?Ch. 2.4 - Prob. 2.28CPCh. 2.4 - What is an uninitialized variable?Ch. 2.7 - Prob. 2.30CPCh. 2.7 - Prob. 2.31CPCh. 2.7 - Prob. 2.32CPCh. 2 - A error does not prevent the program from running,...Ch. 2 - Prob. 2MCCh. 2 - A(n) _______ is a set of well-defined logical...Ch. 2 - An informal language that has no syntax rules, and...Ch. 2 - A ____ is a diagram that graphically depicts the...Ch. 2 - Prob. 6MCCh. 2 - Prob. 7MCCh. 2 - Prob. 8MCCh. 2 - Prob. 9MCCh. 2 - A(n) _____ is a message that tells (or asks) the...Ch. 2 - A(n) ________ sets a variable to a specified...Ch. 2 - In the expression 12 + 7, the values on the right...Ch. 2 - A(n) _____ operator raises a number to a power. a....Ch. 2 - A(n) _________ operator performs division, but...Ch. 2 - A(n) ____ specifies a variable's name and data...Ch. 2 - Assigning a value to a variable in a declaration...Ch. 2 - Prob. 17MCCh. 2 - Prob. 18MCCh. 2 - A debugging process in which you imagine that you...Ch. 2 - Prob. 20MCCh. 2 - Programmers must be careful not to make syntax...Ch. 2 - In a math expression, multiplication and division...Ch. 2 - Variable names can have spaces in them.Ch. 2 - In most languages, the first character of a...Ch. 2 - Prob. 5TFCh. 2 - In languages that require variable declarations, a...Ch. 2 - Uninitialized variables are a common cause of...Ch. 2 - The value of a named constant cannot be changed...Ch. 2 - Hand tracing is the process of translating a...Ch. 2 - Prob. 10TFCh. 2 - What does a professional programmer usually do...Ch. 2 - What is pseudocode?Ch. 2 - Computer programs typically perform what three...Ch. 2 - What does the term user-friendly mean?Ch. 2 - What two things must you normally specify in a...Ch. 2 - What value is stored in uninitialized variables?Ch. 2 - Design an algorithm that prompts the user to enter...Ch. 2 - Design an algorithm that prompts the user to enter...Ch. 2 - Write assignment statements that perform the...Ch. 2 - Assume the variables result, x, y, and z are all...Ch. 2 - Write a pseudocode statement that declares the...Ch. 2 - Write a pseudocode statement that declares the...Ch. 2 - Write a pseudocode statement that assigns the...Ch. 2 - Write a pseudocode statement that assigns the sum...Ch. 2 - Write a pseudocode statement that subtracts the...Ch. 2 - Write a pseudocode statement that multiplies the...Ch. 2 - If the following pseudocode were an actual...Ch. 2 - Prob. 12AWCh. 2 - If the following pseudocode were an actual...Ch. 2 - If the programmer translates the following...Ch. 2 - The following code will not display the results...Ch. 2 - Find the error in the following pseudocode....Ch. 2 - Find the error in the following pseudocode....Ch. 2 - Find the error in the following pseudocode....Ch. 2 - Find the error in the following pseudocode....Ch. 2 - Personal Information Design a program that...Ch. 2 - Sales Prediction A company has determined that its...Ch. 2 - Land Calculation One acre of land is equivalent to...Ch. 2 - Total Purchase A customer in a store is purchasing...Ch. 2 - Distance Traveled Assuming there are no accidents...Ch. 2 - Sales Tax Design a program that will ask the user...Ch. 2 - Miles-per-Gallon A cars miles-per-gallon (MPG) can...Ch. 2 - Tip, Tax, and Total Design a program that...Ch. 2 - Weight Loss If a moderately active person cuts...Ch. 2 - Amount Paid Over Time A person pays a fixed amount...Ch. 2 - Leftover Pizza Youre planning a pizza party and...Ch. 2 - Celsius to Fahrenheit Temperature Converter Design...Ch. 2 - Stock Transaction Program Last month Joe purchased...Ch. 2 - Cookie Calories A bag of cookies holds 40 cookies....Ch. 2 - Male and Female Percentages Design a program that...Ch. 2 - Ingredient Adjuster A cookie recipe calls for the...
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
- CREATE A PSEUDOCODE FOR THE FOLLOWING FLOWCHART:arrow_forwardSolve this please: A mobile phone app allows a user to press a button that starts a timer that counts seconds. When the user presses the button again, the timer stops. Draw a flowchart or write pseudocode that accepts the elapsed time in seconds and displays the value in minutes and seconds. For example, if the elapsed time was 130 seconds, the output would be 2 minutes and 10 seconds.arrow_forward1. Write a Pseudocode and draw a Flowchart to find and print the Circle Area. Circle Areaarrow_forward
- Should they begin with flowcharts or pseudocode?arrow_forwardDraw a flowchart that shows how to evaluate the following expression, given that A = 1 and B = 3. Your answer should be either be true or false. (A + 5) ^2 − (B + 4 * A)arrow_forwardWrite a pseudocode that will count all the even numbers up to a user defined stopping point. Stopping point should be an INTEGER from 10 to 100; otherwise, write that it is an "Invalid Input". Create a flowchart based on your pseudocode.arrow_forward
- Flowchart. The program determines a monthly checking account fee. Input includes an account balance and the number of times the account was overdrawn. The output is the fee, which is 1 percent of the balance plus 5 dollars for each time the account was overdrawn. the program will ask the user to enter the account balance and the number of times the account was overdrawn, calculates the fee, and then displays the fee to the user.arrow_forward؟؟arrow_forwardUPVOTE WILL BE GIVEN. CREATE A PSEUDOCODE (TYPEWRITTEN FORM) AND MAKE A FLOWCHART (TAKE THE SCREENSHOT OF THE FLOWCHART.) Assuming there are no accidents or delays, the distance that a car travels down the interstate can be calculated with the following formula: Distance = Speed× Time A car is traveling at 60 miles per hour. Design a program that displays the following: The distance the car will travel in 5 hours The distance the car will travel in 8 hours The distance the car will travel in 12 hoursarrow_forward
- Exercise • Writhe the pseudocode and draw the flowchart to determine if the number entered by the user is odd or evenarrow_forwardFill in the blanks of the flowchart for checking whether a user input number is a narcissistic number or not. A narcissistic number is a number that is the sum of their digits when raised to the power of the number of digits.arrow_forward1. Write a pseudo code and draw a flowchart that performs the following: a. Ask a user to enter a number. i. If the number is between 0 and 10, write the word blue. ii. If the number is between 11 and 20, write the word red. iii. If the number is between 21 and 30, write the word green. iv. If it is any other number, write that it is not a correct color option. 2. Write a pseudo code and draw flowchart to print all multiples of 5 between 1 and 100 (including both 1 and 100). 3. Write a pseudo code and draw a flowchart that will ask a user to input 5 numbers and does following steps: a. Read in 5 separate numbers. b. Calculate the average of the five numbers. c. Find the smallest (minimum) and largest (maximum) of the five entered numbers. d. Write out the results found from steps b and c with a message describing what they are. 4. Write a pseudocode and draw a flowchart solution, which will take in an integer value from the user and determine whether that value is odd or even.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Programming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:CengageMicrosoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,