Answer:
Let the function be Node* ins(Node *root,int k)
if root node is NULL then return new node with data equal to k.
If the k <root->data
root->left=ins(root->left,k);
else if k >root->data
root->right =ins(root->right,k);
At last return root.
Explanation:
Node is always inserted at the at the leaf node.We will search k in the tree if we hit a the leaf node the new node is inserted as the child of the leaf node.
This may be a difficult thing to do so for anyone to ACTUALLY answer this you migghttt want to up the amount of points you get for answering maybe, 20-40 points.
Answer:
A. 4 CPUs and 6 megabyte cache memory
B. 1.3157 x10^-9 nanoseconds
Explanation:
The Intel core i5 7500 is a seventh generation central processing unit with a 4 CPU core and a 6 megabyte cache memory. It executes task at a clock cycle of 5 clock cycle at a speed of 3.8 GHz.
The relationship between frequency and clock cycle is,
Clock cycle = 1 / ( frequent).
So, One clock cycle = 1 / 3.8 GHz
= 0.3 x10^-9
For five clock cycles = 5 x 0.3 x10^-9
= 1.3157 x10^-9 nanoseconds.
Answer:
•Make sure doorway openings are at least 32 inches wide and doorway thresholds are no higher than 1/2 inch.
•Keep aisles wide and clear for wheelchair users.
•Make sure all levels of the lab are connected by a wheelchair-accessible route of travel.
For students with mobility impairments, make sure there are procedures in place for retrieving materials that may be inaccessible.
Make sure ramps and/or elevators are provided as an alternative to stairs. Elevators should have both auditory and visual signals for floors. Elevator buttons should be marked in large print and Braille or raised notation and easily reachable for wheelchair users.
Locate the lab near wheelchair-accessible restrooms with well-marked signs.
Service desks need to be wheelchair-accessible.
Provide ample, high-contrast, large-print directional signs throughout the lab. Mark equipment in the same fashion.
Provide study carrels, hearing protectors, or private study rooms for users who are easily distracted by noise and movement around them.
Provide at least one adjustable-height table with easily reachable controls for each type of computer.
Have wrist rests available to those who require extra wrist support while typing.
Keep document holders available to help users position documents for easy reading.
Answer:
7.4 Code Practice: Question 1
def GPAcalc(g):
if g == "a" or g == "A":
return 4
elif g == "B" or g == "b":
return 3
elif g == "C" or g == "c":
return 2
elif g == "D" or g == "d":
return 1
elif g == "F" or g == "f":
return 0
Explanation: