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
rodikova [14]
3 years ago
8

Can someone help me with this? Please I really need it! No links or I’ll just report you

Advanced Placement (AP)
1 answer:
bogdanovich [222]3 years ago
4 0

Answer:

(a) In line 3, 2 should be changed to 1

Explanation:

Given

The attached procedure to return true if numberList is in ascending order

Required

Which line(s) need to be changed

On line 3 of the program, we have:;

count \to 2

On line 6, we have the following comparison:

numberList[count]

Substitute 2 for count

numberList[2]

numberList[2]

The above implies that, the first comparison made by the program is to compare numberList elements at index 2 and index 1.

This means that, the first element (i.e. index 0) has been ommitted in the program.

<em>Hence, for the program to work as intended, 2 should be changed to 1 on line 3</em>

You might be interested in
There are six different admissions processes colleges can use to determine your eligibility to enter a college. List two and pro
kenny6666 [7]

Answer:

SAT, GPA, Personal Essay, Teacher Recommendations, Rigorous Courses, Supplemental, Interviews

SAT - this exam is made for someone how puts TIME and EFFORT into understanding their mistakes - and to not make the same ones again, someone may take 8 AP classes and have all A's but if you get a meager score on the SAT - it shows you did not take it seriously nor did you put time in.

GPA/ courses - take advanced classes in the subjects you are interested in!

Someone interested in STEM may take AP Physics, Chem or Bio someone who's interested in the humanities would take AP Lang & Lit, APUSH, AP Government or AP Spanish

Teacher Recommendations - teachers have seen you grow and develop, some you my make strong bonds with and this is your time to have actual proof from an adult of your accomplishments and work ethic.

Interviews - are you a person who is articulate, presentable or confident? colleges love that, go impress a college admissions officer through this.

8 0
4 years ago
Sit down on a chair with both feet flat on
andreyandreev [35.5K]

Answer:

When you kick your leg in front of you by using your knee and not the hip that movement is called extension. Every movement that makes a joint move in such a way that the body part moves away from your center is called extension. When we extend the knee joint our quadriceps muscle contract and pulls the shin upwards.

4 0
4 years ago
Please Help! I need this soon the question is about The Secret Garden
MatroZZZ [7]

Answer: look it up

Explanation:

7 0
4 years ago
Read 2 more answers
Open book tests are about problem solving and applying information. true, false?
Otrada [13]
True. How do you apply information from the book into the tests? Books don't give the answers merely provide a foundation you must build upon.
5 0
4 years ago
Read 2 more answers
Three reasons why it is important to know the organizational structure of an organization
Nezavi [6.7K]
Organizational structure is particularly important for decision making.The importance of organizational structure is particularly crucial for
communication.It is also important for evaluating employee performance.
4 0
4 years ago
Other questions:
  • 5. Give the statement: If an angle is acute, then in measures 30°. Which is a counterexample of the
    13·1 answer
  • What is the slope of the line that contains the points (9, –4) and (1, –5)? A. B.– C.–1 D.1
    5·1 answer
  • A company produces two products. Product A sells for $25, has variable costs of $15, and requires 2 machine hours to produce. Pr
    13·2 answers
  • Select all that apply.
    12·1 answer
  • Which theories could be used to answer a question of urban development and its environmental impact?
    15·2 answers
  • Susan, a pharmacy technician, receives a prescription brought in by a customer. First, she must A. count the tablets ordered. B.
    12·2 answers
  • What word is in the pic
    12·1 answer
  • HOW DO I CANCEL THIS OVERPIECRED BRAINLY MEMBERSHIP
    7·1 answer
  • Four-year-old Rebecca states that the two lines in set A have the same number of dots but that the second line in set B has more
    8·1 answer
  • when compared to an extravert, what is an activity an introvert is likely to do? compared to extraverts, introverts are
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!