Answer:
1
Explanation:
Anything to the 0th power is 1. However, 0⁰ is undefined.
Answer:
Pseudocode is as follows:
// below is a function that takes two parameters:1. An array of items 2. An integer for weight W
// it returns an array of selected items which satisfy the given condition of sum <= max sum.
function findSubset( array items[], integer W)
{
initialize:
maxSum = 0;
ansArray = [];
// take each "item" from array to create all possible combinations of arrays by comparing with "W" and // "maxSum"
start the loop:
// include item in the ansArray[]
ansArray.push(item);
// remove the item from the items[]
items.pop(item);
ansArray.push(item1);
start the while loop(sum(ansArray[]) <= W):
// exclude the element already included and start including till
if (sum(ansArray[]) > maxSum)
// if true then include item in ansArray[]
ansArray.push(item);
// update the maxSum
maxSum = sum(ansArray[items]);
else
// move to next element
continue;
end the loop;
// again make the item[] same by pushing the popped element
items.push(item);
end the loop;
return the ansArray[]
}
Explanation:
You can find example to implement the algorithm.
Additional resource needed for the projects
Additional time needed for the project
<u>Explanation:</u>
In any project handing their will expected diversion and add on requirement, so to complete a project additional time and additional resource is required to finish a project.
As advice due the project details, end user has keep enough buffer for deviations on resource of man power and additional times taken to finish the project.
While design the project each scope of work is measure with additional time to complete the task
Each scope of work is considered as task in project management.
Answer:
b) objects are resuable
Explanation:
In OOP there's code reuse where a method or any other body of code is defined once and called or reused severally.
Answer:
C) /etc/updatedb.conf
Explanation:
The locate command actually uses the configuration file located at /etc/updated.conf.