Answer:
Merge sort is a sorting technique based on divide and conquer technique.
Explanation:
MERGE(A, p, q, r)
n1 = q - p + 1
n2 = r - q
L[1..n1] and R[1..n2] this creates the new array
for i = 1 to n1
L[i] = A[p + i - 1]
for j = 1 to n2
R[j] = A[q + j]
i = 1
j = 1
for k = p to r
if i > n1
A[k] = R[j]
j = j + 1
else if j > n2
A[k] = L[i]
i = i + 1
else if L[i] ≤ R[j]
A[k] = L[i]
i = i + 1
else
A[k] = R[j]
j = j + 1
Graphical management tools and infrastructure, Server graphical shell
Many filesystems attempt to logically group inodes together in an attempt to keep data close together on the disk. Consider a file system configuration of 1KB size blocks, 16384 blocks/group, and 4096 inodes/group, with each inode sized 128 bytes.
Answer:
UPDATE COMPANY
SET COMM=COMM + 500
WHERE SALES> 20000;
Explanation:
The update command is used for alter the record in the database management system in the table .The update command command modify the record on the some condition in the table in the database management system.
Following are syntax for using the update command .
UPDATE table-name
SET column name 1,column name 2 .........
Where condition
- In the given question table -name is "COMPANY" the condition is on the sales column and it update the table only when sales is more than 20000 and set the column COMM by 500.