Answer:
# include<iostream>
# include<math.h>
using namespace::std;
void calc (int num)
{
cout<<"Area of Square" <<num*num;
cout<<"Volume of a sphere" << (4/3) *3.14*num*num*num;
cout<<"Side of a Square" <<sqrt(num);
}
int main ()
{
int num;
cout<<"Enter the Number"; cin>>num;
calc(num);
return 0;
}
Explanation:
I have used the swtich for the selection purpose. Also, I have used sqrt() function, and for that I have included math,h library. And the various formula comes from mensuration. Rest part is self explanatory.
Answer: E) Input validation
C) Data validation
Explanation:
- Input validation is the process of analyzing and testing input's quality and correctness that are being processed at further level in information system.It help in eliminating any type of improper or informal input data from getting supplied to user or program in a system.
- Input validation is also known as data validation.As the input that is being tested and validated is form of data that is going through cleansing task to remove useless data.
- According to the question, data and input are being inspected to extract the validity and correctness of it before sending it for computation .Thus , both data and input validation is happening in this case.
- Other options are incorrect because testing is examining the data.Correction data and input is the step for rectifying the mistakes in data or input.
- Thus, the correct option is option(C) and (E).
<h2>
APPEND ONLY</h2>
Unlike traditional databases, blockchain is designed to be an "append-only" data structure. That means you can only append new data in the form of additional blocks, which will then be chained together with previous blocks of data. All data is permanently stored across more nodes and cannot be altered.
A local-area network (LAN<span>) cable is used in LAN networks to connect several computers or other networking devices.</span>
If you connect a LAN cable to a wireless-capable laptop you should turn the wireless capability off to maximize security, because through the LAN cable viruses can be transmitted, than can harm your computer.