![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 27.01.2021 20:00 Supermate11
Assume n %2 ==0 and array A is previously declared and initialized properly with integer values. Also, array indexes range from 0 to n-1.
I. A[0] to A[j], for every j in range [0, n/2-1]
II. A[n-j] contains the partial sum of A[n-1] to A[n-j], for every j in range [1, n/2]
III. res contains the sum of the original values of A[n/2-1] and A[n/2]
IV. res contains the sum of all numbers in A
V. The algorithm runs in O(n):
For j= 1 to n/2=1
A[j]= A[j] + A[j-1]
For j=2 n/2
A[n-j]= A[n-j] + A[n-j+1]
res= A[n/2 -1] + A[n/2]
a. III and V only
b. I, II, IV and V only
c. l, Il, IV only
d. l, Il, III only
e. l, II, III, V only
![ansver](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 02:00
Which software would you use to create a print design? a. illustrator b. audacity c. reaper d. dreamweaver
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 19:00
Choose the correct citation for the case which established the "minimum contacts" test for a court's jurisdiction in a case. select one: a. brown v. board of education of topeka, 347 u.s. 483 (1954). b. international shoe co. v. washington, 326 u.s. 310 (1945) c. haynes v. gore, 531 u.s. 98 (2000). d. international shoe co. v. washington, 14 u.s. code 336.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 21:00
Alcohol’s affects on the cornea and lens of the eye make it more difficult
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 03:30
The footer area of a web page generally houses which website feature? terms of use web page content business name or title menu headings
Answers: 1
You know the right answer?
Assume n %2 ==0 and array A is previously declared and initialized properly with integer values. Als...
Questions
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 17.02.2020 14:41
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 17.02.2020 14:52
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 17.02.2020 14:57
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
English, 17.02.2020 15:22
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mkx.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 17.02.2020 15:37
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 17.02.2020 15:40
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/ekonomika.png)
Business, 17.02.2020 15:44