Which is a multicast address ?
ans: 241.2.2.1
The answer is choice “a. True”.
Answer:
Following are the code to the given question:
int power(int x, int n)//defining a method power that accepts two integer parameters
{
if (n == 0)//defining if block to check n equal to 0
{
return 1; //return value 1
}
else//defining else block
{
x = x * power(x, --n); //use x variable to call method recursively
}
return x; //return x value
}
Explanation:
In the above-given code, a method power is defined that accepts two integer variable in its parameter, in the method a conditional statement is used which can be defined as follows:
- In the if block, it checks "n" value, which is equal to 0. if the condition is true it will return value 1.
- In the else block, an integer variable x is defined that calls the method recursively and return x value.
C: pie chart is the answer to it
Answer:
85%
Explanation:
8:00 a.m - 1:00 pm = 5 hours
Sunday - Wednesday = 4 days
Total scheduled hours = 5 * 4 = 20 hours
Hours in adherence :
Sunday to Tuesday (3 * 5 hours) = 15 hours
Wednesday : (11:00 a.m - 1:00 a.m) = 2 hours
Total hours adhered = (15 + 2) = 17 hours
Commitment adherence percentage :
(Total hours adhered / total scheduled hours) * 100%
(17 / 20) * 100%
0.85 * 100
= 85%