1) What is the value of b1? X: 12, 21, 28, 8, 20. Y: 17, 15,...
1) What is the value of b1? X: 12, 21, 28, 8, 20. Y: 17, 15, 22,
19, 24
2) What is the value of b0? X: 12, 21, 28, 8, 20. Y: 17, 15, 22,
19, 24
3) What is the equation of the y-hat estimator line? X: 12, 21,
28, 8, 20. Y: 17, 15, 22, 19, 24.
a. Y=0.162-16.51x b. y=0.162+16.51x c. Y=16.51-0.162x d.
Y=16.51+0.162x
4) If x is increased by 10 units, how much does y-hat...
(a) Consider an initially empty max-heap, where the following
keys are to be inserted one at...
(a) Consider an initially empty max-heap, where the following
keys are to be inserted one at a time: 11, 19, 23, 12, 13, 17, 13,
14, 18, and 33. Draw the tree that results after building this
max-heap.
(b) Show the result of inserting 10, 12, 1, 14, 6, 5, 8, 15, 3,
9, 7, 4, 11, 13, and 2, one at a time and in the giver order , into
an initially empty binary min heap.
(c) Show the...
Consider the magic matrix:
A = np.array([[17, 24, 1, 8, 15],
[23,
5, 7, 14, 16],...
Consider the magic matrix:
A = np.array([[17, 24, 1, 8, 15],
[23,
5, 7, 14, 16],
[
4, 6, 13, 20, 22],
[10,
12, 19, 21, 3],
[11,
18, 25, 2, 9]])
The matrix A has 5 row sums (one for each row), 5 column
sums (one for each column) and two diagonal sums. These 12 sums
should all be exactly the same. Verify that they are the same by
printing them and “seeing” that they are the same.
1.Consider a hard drive with an average seek time of 9 ms. Its
disk spins at...
1.Consider a hard drive with an average seek time of 9 ms. Its
disk spins at 7200 rpm. What’s the
average access time? In your answer, ignore the drive transfer time
and any controller overhead.
2.Suppose that we are using extendable hashing on a file that
contains records with the following
search-key values: (2, 3, 5, 7, 11, 17, 19, 23, 29, 31). Show the
final extendable hash structure for
this file if the hash function is h(x) = x...