Answer:
<h3>Defination of Software :- </h3>
- software, instructions that tell a computer what to do. Software comprises the entire set of programs, procedures, and routines associated with the operation of a computer system. The term was coined to differentiate these instructions from hardware.
- The physical components of a computer system.
Explanation:
<h3>Hope this helps you dear ✌️</h3><h2>Carry on learning !! </h2>
Answer:
Check the explanation
Explanation:
#include <stdio.h>
int inversions(int a[], int low, int high)
{
int mid= (high+low)/2;
if(low>=high)return 0 ;
else
{
int l= inversions(a,low,mid);
int r=inversions(a,mid+1,high);
int total= 0 ;
for(int i = low;i<=mid;i++)
{
for(int j=mid+1;j<=high;j++)
if(a[i]>a[j])total++;
}
return total+ l+r ;
}
}
int main() {
int a[]={5,4,3,2,1};
printf("%d",inversions(a,0,4));
return 0;
}
Check the output in the below attached image.
Answer:
Motivation? The search problem.
Sorting algorithms: insertion sort, shellsort, heapsort, mergesort, quicksort, bubblesort
At the very least, "general purpose" sorting algorithms require O(n log n) comparisons
Explanation:
Answer:
C) determine whether the effects of one factor depend on the other factor.
Explanation:
ANOVA is analysis of variance which helps to understand whether the population mean are equal or not. It is statistical model which is used by the businessmen to analyze their business performance. ANOVA also determines whether the effect of one factor are related or dependent on other factor.