Answer:
b. typically contain more circuits in the network than in star or ring networks
Explanation:
In mesh architecture, all computers are connected to each other. In mesh all nodes connect directly and non hierarchical to each other so as to efficiently route data.
Mesh combines the benefits of both ring and star networks. It usually provide relatively short routes through the network (compared to ring networks) and provide many possible routes through the network to prevent one circuit from becoming overloaded (as compared to star network). Mesh network uses decentralized routing with each network performing its own routing.
Mesh network typically contain more circuits in the network than in star or ring networks and are more expensive than ring networks
Answer:
Following are the program in c language
#include <stdio.h> // header file
int main() // main method
{
char name[90]="mantasa"; // storing name
char add[90]="120 lal bangla mumbai"; // storing address
printf("\n Name:%s\nAddress:%s",name,add); // print name and address
return 0;
}
Output:
Name:mantasa
Address:120 lal bangla mumba
Explanation:
In this program we are declaring the two array of char type which will store the name and address . after that we display name and address.
The answer is : Cache. It is a small amount of memory stored on the central processor for easy access. Cache is where active data are placed for easier access, it stores recently used information so that it can be quickly accessed at a later time. Some types of cache are browser cache, disk cache, memory cache, and processor cache.
Answer:
// program in C.
// headers
#include <stdio.h>
// headers
#include <stdlib.h>
// headers
#include <limits.h>
// main function
int main(int argc, char** argv)
{
// read value of N from command line arguments
int N=atoi(argv[1]);
// variables
int max=INT_MIN;
// variable
int min=INT_MAX;
int rA[N],i;
// fill the array with random number
for(i=0;i<N;i++)
{
// generate random number from -50 to +50
rA[i]=rand()%101-50;
// find the Maximum
if(rA[i]>max)
max=rA[i];
// find the Minimum
if(rA[i]<min)
min=rA[i];
}
// print values of array
printf("values of the array are:");
for(i=0;i<N;i++)
{
printf("%d ",rA[i]);
}
// print Maximum
printf("\nMaximum value is:%d",max);
// print Minimum
printf("\nMinimum value is:%d",min);
return 0;
}
Explanation:
Read value of N from command line.Then create an array of size N.Fill the array with random number from -50 to +50.Then find the Maximum of all the elements and assign it to variable "max" and find Minimum from all and assign it to variable "min". then print all the elements of the array, Minimum and Maximum.
Output:
command line argument=10
values of the array are:-18 -18 4 -38 2 6 -42 -20 -6 44 -6 -11 15 -31 1
Maximum value is:44
Minimum value is:-42