2 Consider the sequence of keys (5,16,22,45,2,10,18,30,50,12,1). Draw the result of inserting entries with these keys (in the gi
Juliette [100K]
Answer:
A) (2,4) tree
- Insertion of key 45 makes key unbalanced and this is because it violates the 2,4 tree so we split the node
- insertion of key 10 makes key unbalanced and this is because it violates the 2,4 tree so we split the node
B) Red-black tree
Explanation:
The diagrams for the solutions are attached showing the results of inserting entries
Answer: b)because near-critical paths could become critical paths with small delays in these activities
Explanation: Program evaluation and review technique(PERT) technique is used for management of the project .The organizing, maintenance,coordination of any task is done by this chart. The non-critical activities need to be observed carefully because they may create near-critical methods which can lead to complexity.
Other options are incorrect because not all activities are equally rather monitoring is done to avoid errors and slack can occur at any path . Small delays can be caused but not complete project can get delayed and there can be risk of complexity rather than being uncompleted.Thus, the correct option is option(b).
I'm pretty sure it's D. Provide discount software for the underprivileged.
Answer:
Explanation:
#Using python to create the list
#first we create an empty list to store our numbers.
import math
data = []
x = 0
InputSum = 0
NumInput=int(input("how many number do you want to add"))
while x <=(NumInput):
Input=int(input("Enter the numbers here"))
data.append(Input)
x = x+1
InputSum = InputSum + Input #this is to add the numbers entered
print("The number you entered are ")
print(*data) #this print the numbers entered
print("The sum of the numbers is", InputSum)