![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 05.11.2020 18:40 shemarmcdonald4662
Which is the correct way to load an array named WorkHours with the number of hours that five employees worked last week?
Declare WorkHours(5] As Float
Declare J As Integer
For (J 0; J< 4; J++)
Write "Input number hours worked for employee"+ J+1
Input WorkHours[_
End For
![ansver](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 01:00
)a grad student comes up with the following algorithm to sort an array a[1..n] that works by first sorting the first 2/3rds of the array, then sorting the last 2/3rds of the (resulting) array, and finally sorting the first 2/3rds of the new array. 1: function g-sort(a, n) . takes as input an array of n numbers, a[1..n] 2: g-sort-recurse(a, 1, n) 3: end function 4: function g-sort-recurse(a, `, u) 5: if u ⒠` ≤ 0 then 6: return . 1 or fewer elements already sorted 7: else if u ⒠` = 1 then . 2 elements 8: if a[u] < a[`] then . swap values 9: temp ↠a[u] 10: a[u] ↠a[`] 11: a[`] ↠temp 12: end if 13: else . 3 or more elements 14: size ↠u ⒠` + 1 15: twothirds ↠d(2 ◠size)/3e 16: g-sort-recurse(a, `, ` + twothirds ⒠1) 17: g-sort-recurse(a, u ⒠twothirds + 1, u) 18: g-sort-recurse(a, `, ` + twothirds ⒠1) 19: end if 20: end function first (5 pts), prove that the algorithm correctly sorts the numbers in the array (in increasing order). after showing that it correctly sorts 1 and 2 element intervals, you may make the (incorrect) assumption that the number of elements being passed to g-sort-recurse is always a multiple of 3 to simplify the notation (and drop the floors/ceilings).
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 18:00
When is it appropriate to use an absolute reference
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 14:30
Select the correct answer. andy received a potentially infected email that was advertising products. andy is at risk of which type of security threat? a. spoofing b. sniffing c. spamming d. phishing e. typo-squatting
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 13:20
In the insert table dialog box, you select the checkbox to create the first row as the header of the table.
Answers: 3
You know the right answer?
Which is the correct way to load an array named WorkHours with the number of hours that five employe...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 15.02.2020 18:07
![question](/tpl/images/cats/istoriya.png)
History, 15.02.2020 18:07
![question](/tpl/images/cats/mir.png)
World Languages, 15.02.2020 18:07
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/fizika.png)
Physics, 15.02.2020 18:07
![question](/tpl/images/cats/es.png)
Spanish, 15.02.2020 18:08
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 15.02.2020 18:09
![question](/tpl/images/cats/mat.png)
Mathematics, 15.02.2020 18:10
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 15.02.2020 18:10
![question](/tpl/images/cats/mat.png)
Mathematics, 15.02.2020 18:11
![question](/tpl/images/cats/mat.png)
Mathematics, 15.02.2020 18:11
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/fizika.png)
Physics, 15.02.2020 18:13
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/mat.png)