Answer:
see explaination
Explanation:
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
double temp1,temp2,inc,cel;
int i=1;
while(i==1)
{
i=0;
cin>>temp1>>temp2>>inc;
if(temp2<temp1||inc<=0)
{
i=1;
cout<<"Starting temperature must be <= ending temperature and increment must be >0.0\n";
}
}
cout<<endl;
cout<<setw(15)<<"Fahrenheit"<<setw(15)<<"Celsius";
while(temp1<=temp2)
{
cel=(temp1-32)/1.8;
cout<<endl;
cout<<fixed<<setprecision(3)<<setw(15)<<temp1<<setw(15)<<cel;
temp1+=inc;
}
}
Please kindly check attachment for output.
Answer:
Option b outFile.open("outputData.out");
Explanation:
In C++, there are several classes given to handle output and input of characters to or from files. They are:
- ofstream that write on files
- ifstream that read from files
We can use an object of ofstream to hold the contents that we wish to output to an external file. The general syntax is as follows:
ofstream_obj.open(file_name)
This will create a file with a specific file name and it possesses all the contents from the obstream_obj.
Answer:
Advanced persistent threat.
Explanation:
Advanced persistent threat is a threat actor implemented by either a government supported or private group to intrude a network or system and stays undetected, collecting information over a period of time.
It is used by cyber terrorist group to facilitate massive attacks based on the information retrieved. National or government group use the concept to promote national security.
Answer: hello your question lacks the required option, below are the missing options
A. The transaction data in the tampered block is deleted, and a copy is created with the same hash value.
B. The hash values of transaction data of subsequent blocks are validated, and the chain is broken.
C. The hash value for the entire block is nullified, creating a domino effect on all subsequent blocks.
D. The hash values of subsequent blocks are updated as soon as they are tampered with, and the chain continues.
answer : The hash values of subsequent blocks are updated as soon as they are tampered with, and the chain continues ( D )
Explanation:
What happens if a transaction data is changed in an earlier existing block in a Blockchain is that the Hash values of subsequent blocks will be updated as soon as they are tampered with and the chain will continue.
Blockchain is a specially design system for recording information, hence any change in data inputted in an earlier existing blocks that changes will automatically be updated as well in all preceding blocks.