1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
BabaBlast [244]
2 years ago
6

// This pseudocode segment is intended to compute the number

Computers and Technology
1 answer:
Harlamova29_29 [7]2 years ago
4 0

DEBUG01-01

//This pseudocode is intended to describe

//computing the price of an item on sale for 10% off

START

  input origPrice

  discount = origPrice * 0.10

  finalPrice = origPrice - discount

  output finalPrice

STOP

DEBUG01-02

//This pseudocode is intended to compute the number

//of miles per gallon you get with your automobile.

START

  input milesTraveled

  input gallonsOfGasUsed

  milesPerGallon = milesTraveled / gallonsOfGasUsed

     //milesPerGallon is computed using division

  output milesPerGallon

     //miles is misspelled, and the P in milesPerGallon should be uppercase

STOP

  //Program should end with stop

DEBUG01-03

//This pseudocode is intended to describe

//computing the per day cost of your rent

//in a 30-day month

START

  input rent

  costPerDay = rent / 30

     // Comment indicates 30-day month

  output costPerDay

     // output should be costPerDay

STOP

<h3>What is an algorithm?</h3>

An algorithm can be defined as a standard formula which comprises a set of finite steps and instructions that must be executed by a software program, in order to proffer solutions to a problem on a computer, under appropriate conditions.

         

<h3>What is a pseudocode?</h3>

A pseudocode can be defined as a description of the steps that are contained in an algorithm, especially through the use of a plain (natural) language.

<u>Note:</u> The indentation may change due to Brainly's text editor.

Read more on pseudocode here: brainly.com/question/13208346

#SPJ1

<u>Complete Question:</u>

Your downloadable files for Chapter 1 include DEBUG01-01.txt, DEBUG01-02.txt, and DEBUG01-03.txt. Each file starts with some comments (lines that begin with two slashes) that describe the program. Examine the pseudocode that follows the introductory comments, then find and correct all the bugs.

You might be interested in
Which selection below has the greatest storage capacity
shutvik [7]
Where is the selection?

Message me when you have the full question.
8 0
3 years ago
What are the 2 types of Digital Imagery?
Darina [25.2K]

Answer:

vector or raster

Explanation:

7 0
3 years ago
A small workgroup inherits a second-hand printer without networking capabilities. Which of the following is the BEST method of s
butalik [34]
Answer: c

Explanation: connect the printer to a users work station and share the device
5 0
3 years ago
Windows uses a memory-management technique known as ________ to monitor which applications you frequently use and preloads them
ad-work [718]
Windows uses a memory-management technique known as SuperFetch to monitor which applications you frequently use and preloads them into your system memory.
This technique is designed to speed up app launching by preloading certain apps based on the usage patterns of the user.

4 0
3 years ago
The next-to-last major stage in the writing process is _____, which involves checking for mistakes in grammar, punctuation, usag
zvonat [6]
The next to last major stage in the writing process is REVISING, which involves checking for mistakes in grammar, punctuation, usage, and spelling
5 0
3 years ago
Other questions:
  • What is TCP/IP's Transport layer's primary duty?
    8·1 answer
  • I have a problem with importing excel file into Access. I have some table in Excel and I want to import it into Access. When I d
    6·2 answers
  • The steps for creating a newsletter are to _____.
    5·2 answers
  • Word 2013 in order to share a document online you must first
    10·1 answer
  • Transistors contain a huge number of integrated circuits <br><br> a. true or <br> b. false
    5·1 answer
  • Write a program that asks the user to enter a whole number then outputs a 0 if the number is even or a 1 if the number is odd. (
    14·1 answer
  • Number 20, can anyone help?
    11·1 answer
  • The basic difference between RAM and ROM memory is: Question 5 options: A) RAM is nonvolatile while ROM is volatile. B) RAM is r
    11·1 answer
  • What is cyber ethics​
    10·2 answers
  • Write an algorithm and draw flowchart to print 30 terms in the following sequence
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!