subject
Mathematics, 22.08.2019 00:30 dria40

Find largest algorithm get a value for n, the size of the list get values for a1, a2, an, the list to be searched set the value of largest_so_far to a1 set the value of location to 1 set the value to i to 2 while ( i < = n ) do if a1 > largest_so_far then set largest_so_far to a1 set location to i add 1 to the value of i end of the loop print out the values of the largest_so_far and location stop question: if the numbers in our list were not unique and therefore the largest number could occur more than once, would the algorithm find the first occurrence? (select: true for "yes"; false for "no")

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 17:40
Which number produces a rationale number when multiplied by 1/5
Answers: 1
question
Mathematics, 22.06.2019 00:00
What is mean median mode and range?
Answers: 2
question
Mathematics, 22.06.2019 03:00
Describe how the presence of possible outliers might be identified on the following. (a) histograms gap between the first bar and the rest of bars or between the last bar and the rest of bars large group of bars to the left or right of a gap higher center bar than surrounding bars gap around the center of the histogram higher far left or right bar than surrounding bars (b) dotplots large gap around the center of the data large gap between data on the far left side or the far right side and the rest of the data large groups of data to the left or right of a gap large group of data in the center of the dotplot large group of data on the left or right of the dotplot (c) stem-and-leaf displays several empty stems in the center of the stem-and-leaf display large group of data in stems on one of the far sides of the stem-and-leaf display large group of data near a gap several empty stems after stem including the lowest values or before stem including the highest values large group of data in the center stems (d) box-and-whisker plots data within the fences placed at q1 â’ 1.5(iqr) and at q3 + 1.5(iqr) data beyond the fences placed at q1 â’ 2(iqr) and at q3 + 2(iqr) data within the fences placed at q1 â’ 2(iqr) and at q3 + 2(iqr) data beyond the fences placed at q1 â’ 1.5(iqr) and at q3 + 1.5(iqr) data beyond the fences placed at q1 â’ 1(iqr) and at q3 + 1(iqr)
Answers: 1
question
Mathematics, 22.06.2019 03:30
Fawn bought a total of 70 cakes for a tea party. she spent $3,025. fawn bought vanilla cakes for $22 each and a fruit filled cake for $55 each. the system of equations below can be used to find the number of vanilla cakes, v, and the number of fruit filled cakes, f, fawn purchased. which system of equations has the same solution as the system below.
Answers: 2
You know the right answer?
Find largest algorithm get a value for n, the size of the list get values for a1, a2, an, the list...
Questions
question
Mathematics, 18.04.2020 22:47
question
Mathematics, 18.04.2020 22:47
question
Mathematics, 18.04.2020 22:47
question
History, 18.04.2020 22:47
Questions on the website: 13722361