The answer to this question is: coding and testing
Extreme programming is a software development methodology that aim to improve software quality by measuring whether the technology can be used to fulfill customer's requirement.
To actually get somethings that is accepted by the customers, various coding and testing the software will be done constantly
Answer:
40, 5 and 3
See explaination for the details
Explanation:
A)
Consider the data.
Assume D-cache is empty
An integer size =4bytes
The cache block size =4bytes
Therefore, the number of D-cache misses for reading the first 40 integers is,
= (40×4)/4
= 160/4
= 40
b)
Consider the data.
Assume D-cache is empty
An integer size =4bytes
The cache block size =32bytes
Therefore, the number of D-cache misses for reading the first 40 integers is,
= (40×4)/32
= 160/32
= 5
c)
Consider the data.
Assume D-cache is empty
An integer size =4bytes
The cache block size =64bytes
Therefore, the number of D-cache misses for reading the first 40 integers is,
= (40×4)/64
= 160/64
= 3
Answer:
Following is the program in C language :
#include <stdio.h> // header file
#define n 5 // macro
int main() main function
{
int a[n],k1; // variable and array declaration
printf("Enter the element:\n");
for(k1=0;k1<n;++k1) //iterating the loop
{
scanf("%d",&a[k1]);//Read the values by user
}
printf("Output in Reverse Order:\n");
for(k1=n-1;k1>=0;--k1)//iterating the loop
{
printf(" %d ",a[k1]); //Display the values
}
return 0;
}
Output:
Enter the element:
4
3
45
67
89
Output in Reverse Order: 89 67 45 3 4
Explanation:
Following is the description of the program
- Define a macro "n" with value 5 after the header file.
- Declared an array "a" and defined the size of that array by macro i.e "n".
- Read the value by the user by using scanf statement in the array "a"
- Finally In the last for loop display the values of array "a" by space.
Books,well trusted websites , news.reports , schools library (online and off ) hope this helps.:-)