Answer:
// here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// function to compute sum and product
void square(int input)
{
// variable to store the square of number
long long squ_num;
calculate the square of number
squ_num=pow(input,2);
// print the output
cout<<"square of "<< input<<" is: "<<squ_num<<endl;
}
// driver function
int main()
{
int n;
// read the number until user enter 0
do{
cout<<"enter a number!! (0 to stop):";
// read the input from user
cin>>n;
// call the function to calculate square of input number
square(n);
}while(n!=0);
return 0;
}
Explanation:
Declare a variable "n" to read the input number from user.Call the function square() with parameter "n".In this function, it will calculate the square of the input number and print it.This will repeat until user enter 0 as input.Program will ends when user give 0 as input.
Output:
enter a number!! (0 to stop):5
square of 5 is: 25
enter a number!! (0 to stop):7
square of 7 is: 49
enter a number!! (0 to stop):11
square of 11 is: 121
enter a number!! (0 to stop):0
What was the options they gave you?
Answer:
The answer is below
Explanation:
a)
If the blocks of a file are not put together, that is for nonadjacent block of files to each other, the time (t) taken to read a 100 block file is:
t = (average seek + rotational latency + transfer time) * 100 block
Average seek = 5 msec, rotational latency = 10 msec and transfer time = 20 microsec = 0.02 msec
t = (5 + 10 + 0.02) * 100 = 1502 msec
b)
If the blocks of a file are put together, that is for adjacent block of files to each other, the time (t) taken to read a 100 block file is:
t = (seek time * mean interblock distance + rotational latency + transfer time) * 100 block
seek time = 100 microsec = 0.1 msec, rotational latency = 10 msec and transfer time = 20 microsec = 0.02 msec, mean interblock distance = 2 cylinders
t = (0.1*2 + 10 + 0.02) * 100 = 1022 msec
Answer: True
Explanation:
Digital forensic analysts are the people who examine digital devices such as cameras, mobile phones and computers in order to get evidence of crime.
The evidence gotten by them can then be used to provide support to criminal investigations and can also be given to the intelligence agencies. Their function is to get back and safeguard the digital data which are related to cybercrime investigations as well as criminal investigations.
[B], developing the art style guide and production plan.
It wouldn't be [A], because patches are released to consumers of the game, to fix bugs and add new content, which won't be done until post-production.
It wouldn't be [C] either, as it is also post-production, because you are sending the game to produced, packaged and shipped, meaning the game has already been pretty much fully developed.