Specification of database requirements falls under which category of database administration?
b. development
Answer:
The complete method is as follows:
public static int divBySum(int[] arr, int num){
int sum = 0;
for(int i:arr){
if(i%num == 0)
sum+=i;
}
return sum;
}
Explanation:
As instructed, the program assumes that arr has been declared and initialized. So, this solution only completes the divBySum method (the main method is not included)
This line defines the method
public static int divBySum(int[] arr, int num){
This line declares and initializes sum to 0
int sum = 0;
This uses for each to iterate through the array elements
for(int i:arr){
This checks if an array element is divisible by num (the second parameter)
if(i%num == 0)
If yes, sum is updated
sum+=i;
}
This returns the calculated sum
return sum;
}
Answer: The options related to your question is missing below are the missing options
-Use metrics to manage
-Use system based software design
-Assess reuse risks and cost
-Inspect requirements and design
answer:
Assess reuse risks and cost ( option 3 )
Explanation:
The best software acquisition practice that is most applicable to his situation is : Assess reuse risks and cost
The reuse of technology, code and infrastructures will help reduce the risks or wastage of available resource. and also saving cost for the firm as well.