36. Assume that the list of numbers nums has more than 10 elements. The program below is intended to compute
and display the sum of the first 10 elements of nums.
Line 1: it 1
Line 2:
Line 3: REPEAT UNTIL (i > 10)
Line 4: (
Line 5: it i + 1
Line 6: sum sum + nums (i)
Line 7: )
Line 8: DISPLAY (sum)
Which change, if any, is needed for the program to work as intended?
(A) Lines 1 and 2 should be interchanged.
(B) Line 3 should be changed to REPEAT UNTIL (i 2 10).
(C) Lines 5 and 6 should be interchanged.
(D) No change is needed; the program works correctly.

Answers

Answer 1

The change to the program that is needed so that it can function is (C) Lines 5 and 6 should be interchanged.

What is a Program?

This refers to the set of instructions that are given to a computer system to execute a task using lines of code.

Hence, we can see that from the given code, the intention of the programmer is to make a list of numbers that has more than 10 elements, and to debug the program, option C is the answer.

Read more about debugging a code here:

https://brainly.com/question/20850996

#SPJ1


Related Questions

In which of the following regions are farmers LEAST LIKELY to use practices intended for maximizing the available land area for farming?

Brazil
Vietnam
Nepal
Jamaica
Belize

Answers

The regions that the farmers are least likely to use practices that are intended for maximizing the available land area for farming are the Nepal and Jamaica regions.

What is farming?

Farming is an agricultural practice that involves the clearing of land, planting of crops and harvesting of cultivated food products.

Farmers make use of farming practices to maximize the available land areas for farming. However, some factors discourage the use of these practices such as:

lack of adequate irrigation facility as seen in Nepal and

Natural disasters such as hurricane as seen in Jamaica.

Therefore, the regions that the farmers are least likely to use practices that are intended for maximizing the available land area for farming are the Nepal and Jamaica regions.

Learn more about farming here:

https://brainly.com/question/16650739

#SPJ1

Which type of technology became MOST important to developed countries during the late 19th century?

Food processing
Information retrieval
Green energy production
Industrial machinery
Air transportation

Answers

Answer:

industrial machinery

Explanation:

it was used in almost everything and allowed people to make things easier

Short Answers- Answer the following questions in
What does Chase think about Dr. Nguyen?
Book restart

Answers

Answer:

Kimberly Tooley is first introduced in chapter 10. She has had a crush on Chase since 6th grade, and when realizing that he joined the video club, she joined too to get closer to him. Brendan tries to use Leaf Man as an attempt to make Kimberly love him but it fails.

The mass of the Sun is 2 × 1030 kg, and the distance between Neptune and the Sun is 30 AU. What is the orbital period of Neptune in Earth years?

Answers

Orbital Period:To answer this problem, we must employ the gravitational notion and equation. We already know that gravitational force provides the required centripetal force for orbital motion. As a result of matching gravitational and centripetal forces, we may get the equation for orbital time period.Answer and Explanation:Given:Mass of Sun (M) = 1.99 * 10^30 KgOrbital radius of the Neptune(R) = 30 A.U. = 30 * (1.496 * 10^11) mR = 44.88 * 10^11 m

Now we know that the time period is given by

T^2 = 4π^2R^3/GM

T^2 = 4π^2*(44.88*10^11)^3/6.67*10^-11*(1.99*10^30)

T = 5.19 * 10^9 s

Now we know that

1 year = 3.154 * 10^7 s

Therefore, T = 5.19*10^9 s/ 3.154 * 10^7 (s/year)

T = 164.4 year

Some P are not M. All M are S. Some S are not P. For Syllogistic Form 4F, after filling in the Venn diagram,
a. Areas 2 and 3 are shaded, and there is an X on the line between areas 6 and 7. b. Areas 1 and 4 are shaded, and there is an X on the line between areas 3 and 6. c. Areas 5 and 6 are shaded, and there is an X in area 7. d. Areas 1 and 4 are shaded, and there is an X on the line between areas 6 and 7. e. There is an X on the line between areas 2 and 5 and between areas 6 and 7.

Answers

Answer:

just don't want to be a good person

please mark me as brainliest

Click this link to view O*NET's Work Styles section for Human Resources Managers. are
common work styles needed by Human Resources Managers? Select three options.
excitability
integrity
leadership
stress tolerance
aggression
vulnerability

Answers

This one I would know because my mom currently works in human resource management. The answer (s) are integrity, leadership, and stress tolerance.

Answer:

BCD

Explanation:

excitability

integrity (Correct)

leadership (Correct)

stress tolerance (Correct)

aggression

vulnerability

Edge2022

How does your new budget hope you to meet your short term goal of buying a new laptop

Answers

Answer: The new budget helps meet short-term goal of buying a new laptop because there is an ability to set aside money to buy the laptop

Explanation: Savings and making deposits can be a part of a short term goal by making a budget for being able to purchase a new laptop.

HELP 50 PTS!!!! NO BIT LINKS OR GIBBERESH ALLOWED (or will be reported)

Will mark brainly if correct


Read the following passage carefully before you choose your answer.

This passage is taken from a letter written by a father to his son.

DEAR BOY,

Bath, October the 4th, O. S. 1746.

Though I employ so much of my time in writing to you, I confess I have often my doubts whether it is to any purpose. I know how unwelcome advice generally is; I know that those who want it most like it and follow it least; and I know, too, that the advice of parents, more particularly, is ascribed to the moroseness, the imperiousness, or the garrulity of old age. But then, on the other hand, I flatter myself, that as your own reason (though too young as yet to suggest much to you of itself) is, however, strong enough to enable you both to judge of and receive plain truths: I flatter myself, I say, that your own reason, young as it is, must tell you, that I can have no interest but yours in the advice I give you; and that, consequently, you will at least weigh and consider it well: in which case, some of it will, I hope, have its effect. Do not think that I mean to dictate as a parent; I only mean to advise as a friend, and an indulgent one too: and do not apprehend that I mean to check your pleasures; of which, on the contrary, I only desire to be the guide, not the censor. Let my experience supply your want of it, and clear your way in the progress of your youth of those thorns and briers which scratched and disfigured me in the course of mine. I do not, therefore, so much as hint to you how absolutely dependent you are upon me; that you neither have nor can have a shilling in the world but from me; and that, as I have no womanish weakness for your person, your merit must and will be the only measure of my kindness. I say, I do not hint these things to you, because I am convinced that you will act right upon more noble and generous principles; I mean, for the sake of doing right, and out of affection and gratitude to me.

I have so often recommended to you attention and application to whatever you learn, that I do not mention them now as duties, but I point them out to you as conducive, nay, absolutely necessary, to your pleasures; for can there be a greater pleasure than to be universally allowed to excel those of one's own age and manner of life? And, consequently, can there be anything more mortifying than to be excelled by them? In this latter case, your shame and regret must be greater than anybody's, because everybody knows the uncommon care which has been taken of your education, and the opportunities you have had of knowing more than others of your age. I do not confine the application which I recommend, singly to the view and emulation of excelling others (though that is a very sensible pleasure and a very I warrantable pride); but I mean likewise to excel in the thing itself: for, in my mind, one may as well not know a thing at all, as know it but imperfectly. To know a little of anything, gives neither satisfaction nor credit, but often brings disgrace or ridicule.

The writer of the passage is best described as a person who is (5 points)
adamantly opinionated
mildly concerned
overtly talented
intrinsically motivated
dramatically reactive

Answers

I would say mildly concerned.

1) According to the half reactions below, what is the cell potential of the
reaction?
Cu2+ + 2e - Cu E = 0.34V
Cr3+ + 3e - Cr? E= -0.41V
I
a) -0.07V
b) -0.75V
C) 0.75V
d) 1.85V

Answers

Answer:

C. 0.41+0.34 = 0.75V is the cell potential of the reaction

There are what
plants than animals.

Answers

there are "More" plants than animals

Explanation:

I'm guessing that's what you're asking

Joe is playing a game at the fair. To
win, he must throw a ball and knock
down a bottle. Kim doesn't think the
bottle will fall over when the ball hits it
because the action and reaction forces
will cancel each other out.
Is Kim's claim correct?

Yes, because the forces are equal and in
opposite directions.
Yes, because the forces are the same
strength.
No, because the forces are acting on
different objects.

Answers

Answer:

no because the forces are acting on different objects

Explanation:

because a has less mass than the bottle.

Aside from the area in the map, desertification is an issue in other parts of the world EXCEPT Map outlining the African Sahel in a light brown color. the United States China Argentina Mongolia South Korea

Answers

Answer:

c

Explanation:

Along the Korean Demilitarized Zone, it borders North Korea and makes up the southern portion of the Korean Peninsula.

What is United states?

The Yellow Sea forms the country's western boundary, and the Sea of Japan establishes its eastern border.

The entire peninsula and surrounding islands, according to South Korea, are under its sole and rightful rule. There are 51.96 million people living there, about half of whom reside in the Seoul Capital Area, the fourth most populated metropolis in the world.

In 1910, the Empire of Japan seized the successor Korean Empire (1897–1910). Korea was split into two zones following the end of Japanese control in World War II, with the northern zone being occupied by the Soviet Union and the southern zone being held by the United States.

Therefore,  Along the Korean Demilitarized Zone, it borders North Korea and makes up the southern portion of the Korean Peninsula.

To learn more about Korea, refer to the link:

https://brainly.com/question/13946779

#SPJ2

Question 2 of 15
Examine Item A in your test documents. Where in the diagram does the
supremacy clause of the U.S. Constitution most come into play?
A. In the two small circles at the bottom
B. Where the "Federal" and "State" circles overlap
"
C. In the three boxes under "Delegated powers"
D. Where the small circles connect to the large circles

Answers

Answer:

item A correct

Explanation:

hope this helps

Which of the following is a quality of a critical thinker

Answers

Answer:

Here are two. Hope this helps!

Explanation:

They are active listeners. They are curious people.

The scientist sets hydroelectric energy as a sustainable energy source for the simulated human population. What are two factors in the ecosystem or human population that the scientist could change to make this energy source unsustainable?

Answers

Answer:

The scientist switches the source of energy for the simulated human population from hydroelectric to natural gas. he scientist sets hydroelectric energy as a sustainable energy source for the simulated human population.

Explanation:

HOPE THIS HELPS!! :))))

A politician delivers a speech calling for a major decrease in corporate taxes.
He argues that lowering taxes will allow corporations to hire more workers
and increase their wages. Though his plan would prevent the government
from spending as much on social welfare programs, he argues that his plan
will help the poor even more by increasing their chances of finding a high-
paying job in the private sector. This politician is a supporter of which of the
following philosophies?

Evangelical economics
Supply side economics
Keynesian economics
Populist economics

Answers

Answer:

Keynesian economics

Explanation:

I think my answer is correct because, the Keynesian economics should be the correct answer to the question.

Name the types of migration and give an example of each

Answers

Hello! I'm leo ready to answer lol

Answer:

internal migration: moving within a state, country, or continent.

external migration: moving to a different state, country, or continent.

emigration: leaving one country to move to another. immigration: moving into a new country.


Hope this helped

Answer:

ste of Singapore physics and science and

Which statement BEST contrasts core and periphery countries?

Periphery countries spend a large portion of GDP on infrastructure development, while core countries spend a large portion of GDP on social services.
Periphery countries have import-driven economies, while core countries have export-driven economies.
Periphery countries mainly use coal and oil for energy, while core countries mainly use nuclear power and natural gas.
Periphery countries have low corporate tax burdens, while core countries have higher corporate tax burdens.
Periphery countries rely largely on extraction, while core countries rely on the transfer of goods, services, and information.

Answers

The statement that best contrasts core and periphery countries is that Periphery countries have low corporate tax burdens, while core countries have higher corporate tax burdens.

What is known as Core and periphery countries?

A core country is a well developed country that are industrialised and which the periphery countries depends on.

A periphery country is a country that is underdeveloped country that share in only the small portion of the world's wealth.

Because there is immersed industrialization in the core countries, they have higher corporate tax burdens than the periphery countries.

Learn more about corporate tax here:

https://brainly.com/question/16286115

#SPJ 1

Is planting a vegetable garden a procedural or declarative knowledge?

Answers

Procedural (procedural is the knowledge of how to DO something, declarative is more like facts and is conscious learning)

A characteristic of an edge city is that it

is environmentally friendly and encourages walkability

grows during the workday as workers arrive

has strict HOA covenants

was established as an urban area prior to 1960

has less than five million square feet of leasable office space

Answers

Answer:

grows during the workday as workers arrive

Explanation:

got it right on the test

the lesson (06.05 page 2) states under characteristics of egde cities "A population that grows during the workday as workers arrive for their jobs

Which of the following scenarios does NOT align to the principles of the National Sustainable Development Strategy?

Argentina wants to build sustainable development, so the government takes Brazil's sustainable development plan and follows it exactly.
Indonesia creates a sustainable development plan that balances economic and social policy.
Malaysia develops a sustainable development plan that involves improving the quality of roads and telephone lines.
South Africa develops a plan to cut down on carbon emissions to improve air quality.
Bangladesh encourages construction and use of an environmentally friendly bio-gas plant in the rural areas with necessary support.

Answers

Answer:

1) Argentina wants to build sustainable development, so the government takes Brazil's sustainable development plan and follows it exactly.

Explanation:

The UN Sustainable Development Strategy is not formulated to be the same for every single country, because all countries are unique and would undertake different processes to achieve more sustainable development. In this case, Argentina should not follow Brazil's plan to a T because Brazil is a completely different country, meaning they are in a different situation, so what works for one country may not work for the other.

I hope this answer satisfies the question. Have a nice day, and stay safe.

Mister Bemis carpets the living room shown below if he pays $20 per square meter what is the toll cost of the carpet

Answers

I can't answer without seeing the living room, can you upload a image of the living room.

Question 8 of 10
One strategy to answering a multiple-choice question is to:

Answers

Answer:

Process of elimination

Explanation:

What are some of the costs of attending college?

Answers

Answer:

There are five main categories of expenses to think about when figuring out how much your college education is really going to cost: tuition and fees, room and board, books and supplies, personal expenses, and transportation. You can control some of these costs to some extent.

Explanation:

Ethics need to be considered when ________ scientific research.
Group of answer choices

conducting and reviewing

reviewing and publishing

designing, conducting, and reviewing

designing and reviewing

Answers

Designing, conducting, and reviewing.

Answer:

designing, conducting, and reviewing

My fellow math brodas, help

Answers

A. Depending on which variable you choose to integrate with, you can capture the total bounded region with either -2 ≤ x ≤ (-1 + √5)/2 or 1 ≤ y ≤ (5 + √5)/2, where the upper endpoints correspond to the coordinates of the appropriate intersections:

y = x² + 1

⇒   x = (x² - 2)² - 2

⇒   x⁴ - 4x² - x + 2 = 0

⇒   (x - 2) (x + 1) (x² + x - 1) = 0

⇒   x = 2, x = -1, x = -1/2 ± √5/2

⇒   y = 5, y = 2, y = (5 ± √5)/2

On the other hand, we can compute the areas of A and B separately, then sum those integrals. Area A is easier to compute by integrating with respect to y over 2 ≤ y ≤ (5 + √5)/2, while area B is easier to find by integrating x over -1 ≤ x ≤ (-1 + √5)/2.

B. I'll stick to the split-region approach.

First, we find equations for the appropriates halves of either parabola:

• y = x² + 1   ⇒   x = ± √(y - 1)

and x = -√(y - 1) describes the left half of the blue parabola;

• x = (y - 3)² - 2   ⇒   y = 3 ± √(x + 2)

and y = 3 - √(x + 2) describe the bottom half of the red parabola.

Now we can set up the integrals.

Area of A:

[tex]\displaystyle \int_2^{(5+\sqrt5)/2} \left(\left(-\sqrt{y-1}\right) - \left((y-3)^2-2\right)\right) \, dy \\ ~~~~~~~~ = -\int_2^{(5+\sqrt5)/2} \left((y-3)^2 - 2 + \sqrt{y-1}\right) \, dy[/tex]

Area of B:

[tex]\displaystyle \int_{-1}^{(-1+\sqrt5)/2} \left(\left(3-\sqrt{x+2}\right) - \left(x^2+1\right) \right) \, dx \\ ~~~~~~~~ = - \int_{-1}^{(-1+\sqrt5)/2} \left(x^2 - 2 + \sqrt{x+2}\right) \, dx[/tex]

Alternatively, one can prove that the regions A and B are symmetric across the line y = x + 3, so we can simply pick one of these integrals and double it.

C. Computing the integrals, we find

area of A = 2/3

area of B = 2/3

and so the total area is 2/3 + 2/3 = 4/3.

A(n) _____________ variable determines how much effect the independent variable has

independent

dependent

confounding

experimental

Answers

Dependent variable is the answer
Dependent variable is correct

All of the following are likely criticisms of the housing development in the image EXCEPT

the development is too auto-centric

there are too few green spaces

houses are too close to one another

houses are close to transportation networks

houses are similar in style and lack architectural diversity

Answers

Answer:

houses are close to transportation networks

when compared to an extravert, what is an activity an introvert is likely to do? compared to extraverts, introverts are

Answers

An introvert is likely to stay inside and read all day. Compared to extroverts*, introverts are people who are less outgoing and sometimes prefer solitude than engaging with others.

What step in the “5-Step Model for Solving Problems” do you think is the easiest and which step is the most challenging to accomplish? Identify and explain why. How will you use the 5-Step Model to solve problems in your personal life and professional career?

Answers

Answer:

Explanation:

Define the problem.

Gather information.

Generate possible solutions.

Evaluate ideas and then choose one.

Evaluate.

these are the steps to problem solving, i would say defining the problem is the easiet and evaluating is the harderst. mostly because evaulating is where you make the most errors and defining is basically reading and highlighting, you can use the 5-Step Model to solve relationship problems such as communication or lack of thereof and figuring out how to complete a task a manager gave you

Other Questions
giving brainliest!!!! Try This question out and Ill give you brainliest no links or I will report you what is the main function of the red cells The garden shown at right is divided into two section by a fence. If the quadrilateral section is a square, what is the square area? (6ft : 8ft) I'm taking a test and don't know how to solve this problem :') Use what you know about triangles to classify this triangle.Triangle with two acute angles and one obtuse angle. Two sides are equal in length.Group of answer choices A.point 1B.point 2C.point 3D.point 4E.point 5 what were some of the populist paths taken following the Great Depression? How to find the surface area of a triangular prism Does anybody know this?Find the area of the shaded region if PA=7 inches and PB=4 inches 2. What are the x-intercepts of the graph of the function defined by (x - 2)(2x + 1)? A. (2,0) and (-1,0) B. (2,0) and (1,0) C. (-2,0) and (1,0) D. (-2,0) and (-1,0) How many minutes did Todd use in October Completa el espacio en blanco con la mejor respuesta.El __________ est escribiendo una novela.cientficoescritorvendedorenfermero it is from novel zone one by colson whitehead As the Omegas sweep one Manhattan block after another, Kaitlyn, their leader, salvages all kinds of objects, and the narrator describe to them as pristine artifacts of normalcy (p. 58), and then write a little essay explaining what this phrase (pristine . . .) means in the context of the novel. can anybody please answer this spanish 1 question Which three jobs would be considered public health? Which expression is equivalent to the expression shown?3'*3*33 x13-434-28433x (+39 Choisis le mot qui complete la phrase _1. Un vol de Chicago a Denver est un vol __A. Interieur B. International C. Escale _2. Le groupe de personnes qui travaille dans lavion sappelle __A. Lequipage B. Les bagages C. La cabine _3. Pour voyager a letranger, Il faut avoid un __A. Decalage horaire B. Passeport C. Vol direct What does the literature contribute in the manner we perform in a full-length play? find the length of the arc.Round your answer to the nearest tenth