Find the error in the following pseudo code
Declare Boolean finished = false
Declare Integer value, cube
While not finished
Display “enter a value”
Input value
Set cube = value ^3
Display cube
End while

Answers

Answer 1

Pseudocodes are used as a prototype of an actual program.

The error in the pseudocode is that, the while loop in the pseudocode will run endlessly.

From the pseudocode, the first line is:

Declare Boolean finished = false

The while loop is created to keep running as long as finished = false.

So, for the while loop to end, the finished variable must be updated to true.

This action is not implemented in the pseudocode.

Hence, the error in the pseudocode is that, the while loop is an endless loop

Read more about pseudocodes at:

https://brainly.com/question/17442954


Related Questions

PARKING LOT PANELBOARD FEEDER DEMAND LOADING:
A parking lot panelboard is supplying 62 parking stalls on 15 amp circuits which are
restricted or controlled. Determine the total calculated demand load in kW for the
FEEDER conductors supplying the panelboard.
The calculated demand load is ____ kW

Answers

Answer:

77kw

Explanation:

just add them

What is the difference between class 1 and class 3 lever?

Answers

In a Class Three Lever, the Force is between the Load and the Fulcrum. If the Force is closer to the Load, it would be easier to lift and a mechanical advantage. Examples are shovels, fishing rods, human arms and legs, tweezers, and ice tongs. A fishing rod is an example of a Class Three Lever.

Answer:

the class is different and the topic treated in class 1 is different from class 3

What is the eye an example of?



sense organ
stimulus
a relay neuron

Answers

sens organ is the eye example

https://screenshot.best/2QA8H0





Check screen shot

Answers

Answer:

okay checked it

Explanation:

Draw a conceptual sketch of your laptop. Identify the keyboard, screen, power source, and storage device and etc. using arrows and labels.

Answers

Answer:

draw a picture of your computer and label it

Answer: You need to make a drawing for this problem

Explanation:

Make a simple sketch of a laptop, then draw an arrow and label the screen, keyboard, mouse pad, charging port, charging cord, and any extra parts you would like to label.

Responding to the campaign of 4 classes, 7A, 7B, 7C, 7D contributed the amount of support proportional to the numbers 8,6;7;5 knowing the total amount of the two classes 7A, 7B is more than 7D 810 thousand VND sso the money each class has contributed

Answers

Writing life on my fantasy planet

Define exemption, deviation, or a waiver.
Define each one and then provide an example of each that includes the regulation, a summary of the requester’s rationale and justification, the FAA position, and then your position on the FAA decision. Your examples can be for a manned or unmanned aircraft.

Answers

define exemption thankyouu be safe

In the base of mechanical science knowledge, define work, energy and power​

Answers

Answer:

Work is the amount of energy transfered by a force.

Energy is the amount of power an object gets from its position or motion.

Power is the combination of all forces and movements of a system that is the rate at which work can be done by a system.

2. What of the following demonstrates a
correct principle of safe knife use?
A. Always use a sawing motion to safely
cut gradually
B. Always cut away from the body.
C. Always cut with the nearest person
directly in front of you. .
O D. Always cut directly across the wire.

Answers

B. Always cut away from the body

pls discuss the concepts in which architectural forms/visuals correlate in the design process​

Answers

Answer:

Visual connectivity refers to the tangible aspects of a space; extent to which a place can be viewed from other places. It is believed that the design properties of a spatial layout of an atrium leaves unobstructed views horizontally and vertically.

Explanation:

1- The preexponential and activation energy for the diffusion of iron in cobalt are 1.1×10-5 m 2 /s and 253,300 J/mol, respectively. At what temperature will the diffusion coefficient have a value of 2.1×10-5 m 2 /s ?

Answers

The temperature at which the diffusion coefficient have a value of 2.1×10-5 m 2 /s is  -47078 K.

Using the relation;

logD = logDo - Ea/2.303RT

D = diffusion coefficient

Do =  preexponential

Ea = activation energy

R = gas constant

T = temperature

Substituting values;

log(2.1×10-5)= log (1.1×10-5 ) - 253,300/2.303 × 8.314 × T

log(2.1×10-5) -  log (1.1×10-5 ) =  - 253,300/2.303 × 8.314 × T

log[2.1×10-5/1.1×10-5] = - 253,300/2.303 × 8.314 × T

0.281 × (2.303 × 8.314 × T) = - 253,300

T =  - 253,300/2.303 × 0.281 × 8.314

T = -47078 K

Learn more: https://brainly.com/question/14283892

The cable connecting the winch A to point B on the railroad car in figure is wound in at the constant rate of 2 m. When θ = 60◦ , determine (a) the velocity of B and ˙θ; and (b) the acceleration of B and ¨θ. Neglect the radius of the winch.​

Answers

Answer:

This question comprises two independent parts, (a) and (b) (a) In the diagram below, the cable connecting the winch A with point B on the railway carriage is being wound in at a constant rate of 2 m/s. Determine, for the instant in time when the angle θ= 60° (i) The velocity vector of the railway carriage (ii) The acceleration vector of the railway carriage The radius of the winch can be considered negligible. (2 marks) (3 marks) (b) The diagram below shows two rotating ‘driving links, OA and BC, connected by a telescoping link AB. Determine the angular velocity vector of the telescoping link AB when it is in the position shown if the driving links have the angular velocities indicated in the diagram. 150 2 rad/s 45 165 Dimensions in millimeters 60 0 2 rad/s

The cable connecting the winch A to point B on the railroad car in figure is wound in at the constant rate of 2 m. When θ = 60◦ 2 rad/s.

What is the dimension?

A measurement is a degree of a bodily variable (with out numerical values), whilst a unit is a manner to assign quite a number or dimension to that measurement. For example, period is a measurement, however it's miles measured in devices of feet (ft) or meters (m).

This query incorporates  impartial parts, (a) and (b) (a) In the diagram under, the cable connecting the winch A with factor B at the railway carriage is being wound in at a consistent price of two m/s. Determine, for the immediate in time whilst the attitude Theta = 60◦   The speed vector of the railway carriage (ii) The acceleration vector of the railway carriage The radius of the winch may be taken into consideration negligible. (2 marks) (three marks) (b) The diagram under indicates  rotating 'using hyperlinks, OA and BC, linked with the aid of using a telescoping hyperlink AB. Determine the angular speed vector of the telescoping hyperlink AB whilst it's miles withinside the function proven if the using hyperlinks have the angular velocities indicated withinside the diagram. one hundred fifty 2 rad/s 45 a hundred 65 Dimensions in millimeters 60 zero 2 rad/s.

Read more about the constant :

https://brainly.com/question/25215474

#SPJ2

Un buque de 500ton de desplazamiento tiene un KG de 5m y un KM de 7.5, la embarcación recibe un carga de 700ton con un KG de 4m. Calcule la cantidad de carga que puede llevar para que el buque navegue con un GM positivo de 0.3 y proponga la posición del centro de gravedad de la carga.

Answers

Answer:

500 kG con 0 .3

Explanation:

700 gramos

Other Questions
which of the following accurately describes Chinese folk religion?MULTIPLE CHOICE!1. coordinates all beliefs through a large, powerful central ministry.2. consists of a set of oral traditions known as Vedas.3. founded by Nomads who established the monotheistic religion amid believers in polytheism.4. blends beliefs and practices from a diverse set of local religions.FIRST CORRECT ANSWER GETS BRAINLIEST Which is the longest cell in human body? all wounds go through a healing or repair process that has _____ phases. What evidence could help you decide whether two plates had converged in the past to form a continent. Please I need help in a second *Phrase or clause 103.468 round this to the nearest liter At a charity fund-raiser, adult tickets were sold for $8 each and children's tickets were sold for $3 each. Write an algebraicexpression for the total amount of money raised from the sale of tickets. How much money was raised if the fundraiser sold240 adult tickets and 378 children's tickets? A 200-pound woman drank 5 beers in two hours. What is her BAC? please help me i dont know what i am doing What is the value of x The reaction of C2H4 +Cl2 is what type of reaction. Who uses the FAFSA once you have submitted it? When translated to Spanish, which of the following phrases use the verb hacer? (Check all that apply)1. to make cookies2. to pack a suitcase3. to form a line4. to do homework what is the force on a 976kg vehicle that accelerates at 2.5m/s hi can you please help mei cant answer this question. "I led about 700 soldiers in the attack of Cheyenne Indians at Sand Creek. My troops killed about 150 men, women, and children. Although, Congress criticize my actions, I wasnt punished." Who said this? What do I put in the box?? Do I skip count? 6) Candace Parker bought some new furniture for her house. Tax was included in the priceof the furniture. She bought a chair for 213 dollars, a couch for $812.50, and a televisionfor $499.99. If she left a 15% tip on the final price of all the furniture how much wouldshe have paid in total for the furniture and the tip?ning Carmelo Anthony Simplify (Remember to simplify means to write an equivalent expression that uses each variable on')not have zero or negative exponents. A human hair is approximately 40 microns (um) wide. If 1 um is equal to 10-6meters (m),and 1 nanometer (nm) is equal to 10-9m, then how many nanometers wide is a human hair?A0.0004 nmB0.004 nmC4,000 nmD40,000 nm