Answer:
To check if the year comes under each 100th year, lets check if the remainder when dividing with 100 is 0 or not.
Similarly check for 400th year and multiple 0f 4. The following C program describes the function.
#include<stdio.h>
#include<stdbool.h>
bool is_leap_year(int year);
void main()
{
int y;
bool b;
printf("Enter the year in yyyy format: e.g. 1999 \n");
scanf("%d", &y); // taking the input year in yyyy format.
b= is_leap_year(y); //calling the function and returning the output to b
if(b==true)
{
printf("Thae given year is a leap year \n");
}
else
{
printf("The given year is not a leap year \n");
}
}
bool is_leap_year(int year)
{
if(year%100==0) //every 100th year
{
if(year%400==0) //every 400th year
{
return true;
}
else
{
return false;
}
}
if(year%4==0) //is a multiple of 4
{
return true;
}
else
{
return false;
}
}
Explanation:
Output is given as image
Answer: B) Shape is a base class, and circle and square are derived classes of Shape.
Explanation:
Shape is a base class because circle and squares are the shapes so these are the derived class of the shape, which is inherited by the shape like circle and square. As, the base class (shape) is the class which are derived from the other classes like circle and square and it facilitates other class which can simplified the code re-usability that is inherited from the base class. Base class is also known as parent class and the super class.
Answer:



So then the value of the maximum I/O wait that can be tolerated is 0.720 or 72 %
Explanation:
Previous concepts
Input/output operations per second (IOPS, pronounced eye-ops) "is an input/output performance measurement used to characterize computer storage devices like hard disk drives (HDD)"
Solution to the problem
For this case since we have 4GB, but 512 MB are destinated to the operating system, we can begin finding the available RAM like this:
Available = 4096 MB - 512 MB = 3584 MB
Now we can find the maximum simultaneous process than can use with this:

And then we can find the maximum wait I/O that can be tolerated with the following formula:

The expeonent for p = 14 since we got 14 simultaneous processes, and the rate for this case would be 99% or 0.99, if we solve for p we got:



So then the value of the maximum I/O wait that can be tolerated is 0.720 or 72 %
Collectively, skills like the ones listed above are Technical skills. These skills refer to the Knowledge and ability to perform specific tasks. However, Soft skills are also important, because they relate to the ability to interact and communicate effectively with people.
Answer:
1-rollover, 2-straight-through, 3-crossover are the correct answer of this question .
Explanation:
Rollover , Straight-through and Crossover are the types of UTP cables that can be used in connected to the device.
- Rollover refers to a slider on a Website page which allowing the user to engage with the Website page.
- In Straight-through a network patch panels which connects a machine to a node on the web.
- A Crossover Ethernet used during direct communication of portable devices. It combines two similar-type computers.