Prelude to Programming
6th Edition
ISBN: 9780133750423
Author: VENIT, Stewart
Publisher: Pearson Education
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Chapter 1, Problem 15RE
Program Plan Intro
To answer what should be done after coding a computer program.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
After outlining the solution, which of the following steps comes next to perform? *
a. Defining a problem
b. Develop outline into variables
c. Test the computer system
d. Run the program in the computer
Which of the following is the third step in the problem-solving process?
a. Analyze the problem
b. Code the algorithm into a program
c. Desk-check the algorithm
d. Plan the algorithm
CONSTRUCT THE PROGRAM AND ANSWER THE QUESTIONS ONLY. ( NO NEED TO DO OTHERS)
Chapter 1 Solutions
Prelude to Programming
Ch. 1 - A computer _________________ is a list of...Ch. 1 - Prob. 2RECh. 1 - Prob. 3RECh. 1 - The term _______________ refers to the numbers,...Ch. 1 - The first of the following statements WriteEnter...Ch. 1 - Prob. 6RECh. 1 - Prob. 7RECh. 1 - In most programming languages, variables that...Ch. 1 - Prob. 9RECh. 1 - A(n) __________ statement is displayed on the...
Ch. 1 - A floating point variable requires __________...Ch. 1 - Roughly speaking, a(n) _____ is any symbol that...Ch. 1 - Prob. 13RECh. 1 - Prob. 14RECh. 1 - Prob. 15RECh. 1 - Prob. 16RECh. 1 - Prob. 17RECh. 1 - Prob. 18RECh. 1 - Prob. 19RECh. 1 - Prob. 20RECh. 1 - Prob. 21RECh. 1 - Prob. 22RECh. 1 - Prob. 23RECh. 1 - Prob. 24RECh. 1 - A rational number is any number that can be...Ch. 1 - T A number stored as an integer takes up less...Ch. 1 - If the value of the variable MyAge is 3, then the...Ch. 1 - Prob. 28RECh. 1 - Prob. 29RECh. 1 - Suppose X=3 and Y=4. If all parentheses were...Ch. 1 - Suppose X=14. Give the value of each of the...Ch. 1 - Suppose X=12,Y=6, and Z=5. Give the value of each...Ch. 1 - What is the difference between the following two...Ch. 1 - Given that the variable named Boy =Joey� and the...Ch. 1 - Prob. 35RECh. 1 - Write a pair of statements that prompts for and...Ch. 1 - Write a pair of statements that prompts for and...Ch. 1 - Write a series of statements that does the...Ch. 1 - Write a series of statements that does the...Ch. 1 - Suppose that Number1=15 and Number2=12 are both of...Ch. 1 - If Name1=Marcy,Text1=isnow,Text2=yearsold., and...Ch. 1 - It Character1 and Character2 are single...Ch. 1 - Exercises 43-50 refer to the following program:...Ch. 1 - Exercises 43-50 refer to the following program:...Ch. 1 - Exercises 43-50 refer to the following program:...Ch. 1 - Exercises 43-50 refer to the following program:...Ch. 1 - Exercises 43-50 refer to the following program:...Ch. 1 - Exercises 43-50 refer to the following program:...Ch. 1 - Prob. 49RECh. 1 - Exercises 43-50 refer to the following program:...Ch. 1 - Write a list of instructions (like those that...Ch. 1 - In Programming Challenges 2-6, write a program...Ch. 1 - In Programming Challenges 2-6, write a program...Ch. 1 - In Programming Challenges 2-6, write a program...Ch. 1 - In Programming Challenges 2-6, write a program...Ch. 1 - In Programming Challenges 2-6, write a program...
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
- Programmers refer to the goal of solving a problem as the . a. input b. output c. processing d. purposearrow_forwardWhich of the following correctly describes the process of writing a computer program? writing instructions that are syntactically correct testing the program with a variety of inputs debugging the program when it doesn’t work as expected all the abovearrow_forwardWhich of these actions meets the requirements for unacceptable conduct? O The program has a glitch. Apparently there was a programming error. Because of a glitch in the program A problem with the program's codearrow_forward
- We test a program by executing it and analyzing its instructions to see whether it performs as expected. We're working on: The testing of a black box. Evaluation in a white box c A review of the code. D Examine the software.arrow_forwardProgrammers refer to the items needed to reach a problem’s goal as the .a. input b. output c. processing d. purposearrow_forwardcan someone help me with this problem in python Program Specifications Write a program to calculate the cost to paint a wall. Amount of required paint is based on the wall area. Total cost includes paint and sales tax. Note: This program is designed for incremental development. Complete each step and submit for grading before starting the next step. Only a portion of tests pass after each step but confirm progress. Step 1 (2 pts). Read from input wall height, wall width, and cost of one paint can (floats). Calculate and output the wall's area to one decimal place using print(f"Wall area: {wall_area:.1f} sq ft");. Submit for grading to confirm 1 test passes. Ex: If the input is: 12.0 15.0 29.95 the output is: Wall area: 180.0 sq ft Step 2 (2 pts). Calculate and output the amount of paint needed to three decimal places. One gallon of paint covers 350 square feet. Submit for grading to confirm 2 tests pass. Ex: If the input is: 12.0 15.0 29.95 the output is: Wall area: 180.0 sq ft Paint…arrow_forward
- Write an algorithm that asks the user to enter 10 test scores and do the following:(a) Print out the highest and lowest scores.(b) Print out the average of the scores.(c) Print out the second largest score.(d) If any of the scores is greater than 100, then after all the scores have been entered, print a message warning the user that a value over 100 has been entered.(e) Drop the two lowest scores and print out the average of the rest of them.arrow_forwardWrite in Assembly Language Programming show code and submit output screenshot make it run with visual studio and other famous compilers. Q) write the programs in Assembly Language A) Write a program that calculates a car's gas mileage. The program should ask the user toenter the number of gallons of gas the car can hold and the number of miles it can bedriven on a full tank. It should then calculate and display the number of miles per gallonthe car gets.B. Write a program that asks the user to enter their monthly costs for each of the followinghousing-related expenses: rent or mortgage payment utilities phones cable The programshould then display the total monthly cost of these expenses and the total annual cost ofthese expenses.C. A bag of cookies holds 30 cookies. The calorie information on the bag claims that thereare 10 "servings" in the bag and that a serving equals 240 calories. Write a program thatasks the user to input how many cookies they actually ate and then reports how…arrow_forwardTask 14 Suppose, your friend is building an automated car called “Besla”. He needs to fix the programming of the car so that it runs at a proper speed. Now, write a python program that takes 2 inputs (distance in meters and time in seconds). The program should then print the velocity in kilometers per hour of that car. Also, it should print whether the car is working properly based on the following chart. Velocity Information to be printed Less than 60 km/h Too slow. Needs more changes. Between 60 km/h to 90 km/h Velocity is okay. The car is ready! Greater than 90 km/h Too fast. Only a few changes should suffice. Sample Input 1: 160000 7200 Sample Output 1: 80.0 km/h Velocity is okay. The car is ready! Explanation: After the conversion of distance and time, the velocity is (160/2) km/h = 80 km/h. So the velocity is okay ========================================================== Sample Input 2: 25400 3600 Sample Output 2: 25.4 km/h Too slow. Needs more…arrow_forward
- Give the pseudo code for an algorithm ofa software solution to the problem downbelow. You must use the convention. NO PYTHON CODE.A can of paint will cover 300 sq.ft. per gallon. Write a program that will ask the user to enter the number of Sq. Ft. they want to paint. It will then tell print the minimum number of whole cans of paint needed to cover the area.arrow_forwardMachine Problem:Write a Java or C++ program that will display the given menu: -----A Simple Library System----1. Add a Student2. Add a Book3. Display All Students4. Display All Books5. Search a Student6. Search a Book7. Borrow a Book8. Display Borrowed Books9. Return a Book (optional)10. Exit ➢ When 1 is chosen, ask the user to enter the student’s information(5-digit ID number,surname, first name, age, and sex)➢ When 2 is chosen, ask the user to enter the book’s information(5-digit book number,Title, Author’s name(Surname, first name), date of purchase, and status (available/notavailable))➢ When 3 is chosen, display list of all students(5-digit ID number, surname, first name,age, and sex)➢ When 4 is chosen, display list of all books(5-digit book number, Title, Author’sname(Surname, first name), date of purchase, and status (available/not available)➢ When 5 is chosen, ask the user if he wants to search the list by Surname or IDnumber. If record is found, display the corresponding…arrow_forwardScenario: A robot is sitting in a chair with its arms facing down. Write an algorithm, using pseudocode, to make the robot: stand up walk until it senses a wall turn around walk back to the chair sit back down in the origin starting position Finally, output the total number of steps taken. Commands: In addition to our standard pseudocode commands, you must also use the following robot control commands: sit stand step (one step forward) raise arms (parallel to floor) lower arms (pointing to floor) sense (only if arms are raised) turn (90 degrees right) Immediately after issuing a sense command, you can check if the robot is at a wall.You do this via the boolean conditions "at wall" or "not at wall".The following are examples of this: if at wallif not at wallwhile not at wall AssumptionsYou must assume the following facts: The robot's initial sitting position is directly facing the target wall. There are no obstacles between the robot and the wall. The wall is 1 or more exact steps…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- A+ Guide To It Technical SupportComputer ScienceISBN:9780357108291Author:ANDREWS, Jean.Publisher:Cengage,EBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENT
A+ Guide To It Technical Support
Computer Science
ISBN:9780357108291
Author:ANDREWS, Jean.
Publisher:Cengage,
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT