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
SOVA2 [1]
2 years ago
15

Find the error in the following pseudo code

Engineering
1 answer:
IRISSAK [1]2 years ago
8 0

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:

<em>Declare Boolean finished = false</em>

The while loop is created to keep running as long as <em>finished = false.</em>

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:

brainly.com/question/17442954

You might be interested in
What color is a board sternlight
alukav5142 [94]

We can infer and logically deduce that the color of a boat's sternlight is white.

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

A sternlight can be defined as a white light that is designed and developed to be placed as closely as possible and practical with the stern shining continuously (constantly).

By default, a sternlight is typically affixed to the boat in such a way that the light will shine out at an angle of 135 degrees (135°) from the back of the boat.

In this context, we can infer and logically deduce that the color of a boat's sternlight is white and it avails sailors and other persons the opportunity of determining and knowing the direction that a boat (vessel) is moving.

Read more on sternlight here: brainly.com/question/27999695

#SPJ1

Complete Question:

What color is a boat sternlight?

3 0
2 years ago
I need help on what’s and input and output to make the flowchart
e-lub [12.9K]

Input: what is put in, taken in, or operated on by any process or system.

Output: the amount of something produced by a person, machine, or industry.

3 0
3 years ago
The temperature in a pressure cooker is 130 degree C while the water is boiling. Determine the pressure inside the cooker.
emmasim [6.3K]

Answer:

The pressure inside the cooker is 1.0804 atm.

Explanation:

Boiling occurs when the vapor pressure becomes equal to atmospheric pressure.

<u>For water, At standard conditions (Pressure = 1 atm) boiling occurs at 373.15 K.</u>

So, Standard conditions:

T₁ = 373.15 K

P₁ = 1 atm

Given ,

The water boils at Temperature =  130 °C

The conversion of T( °C) to T(K) is shown below:

T(K) = T( °C) + 273.15  

So, the temperature, T₂ = (130 + 273.15) K = 403.15 K

To find pressure inside the cooker (P₂) :

<u>Applying Amontons's Law as:</u>

\frac {P_1}{T_1}=\frac {P_2}{T_2}

So,

P_2=\frac {P_1}{T_1} \times {T_2}

P_2=\frac {1 atm}{373.15 K} \times {403.15 K}

P_2=1.0804 atm

<u>Thus, The pressure inside the cooker is 1.0804 atm.</u>

6 0
3 years ago
Question 3 (5 points)
Aleks [24]

Answer:

Technician A is corect

Explanation:

Because he said the correct reason

6 0
3 years ago
Three groups of students are given study outlines for 6 weeks. One group studies 2 hours a night, a second group studies 1 hour
katrin2010 [14]

Answer:

The constant here is the study outline

Explanation:

In scientific research, the constant variable is that part/variable of the experiment that does not change or is set not to change. Examples include temperature, environment or height.

Assuming the scenery described in this question is an experiment. All the groups presented are bound by a constant during the experiment. The constant here is the study outline. The study outline provided to the students is not going to change.

NOTE: There could be confusion as regards the answer being the final exam grade but that will be the dependent variable as that will be the outcome of the experiment while the time spent to study will be the independent variable.

8 0
3 years ago
Other questions:
  • Consider a venturi with a throat to inlet area ratio of 0.8, mounted on the side of an airplane fuselage. The airplane is in fli
    13·1 answer
  • Technician A says that a seal can be pried out of a bore using a sharp chisel. Technician B says that smaller metal-backed seals
    7·2 answers
  • Nitrogen at an initial state of 300 K, 150 kPa and 0.2 m3 is compressed slowly in an isothermal process to a final pressure of 8
    14·2 answers
  • Steam at 6 MPa and 5008C enters a two-stage adiabatic turbine at a rate of 15 kg/s. 10 percent of the steam is extracted at the
    5·1 answer
  • Estimate the theoretical fracture strength of a brittle material if it is known that fracture occurs by the propagation of an el
    8·1 answer
  • Hi shawty have a good day/night &lt;33 (heres a picture of freddie benson)
    11·2 answers
  • Liquid water at 300 kPa and 20°C is heated in a chamber by mixing it with superheated steam at 300 kPa and 300°C. Cold water ent
    7·1 answer
  • PLEEEAASSSSEEEE HELP ME!!
    13·1 answer
  • Which situation would benefit the most by using edge computing?
    15·1 answer
  • What are some advantages of making electronic components like transistors increasingly smaller? (40 POINTS) Pls help
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!