Answer:
a.
Explanation:
Two bytes have 2 times 8 bits is 16 bits.
Max value that can be expressed is 2¹⁶-1 = 65535
Answer:
The last one
Explanation I think it is D because all of the other answers are saying what happen if you filter it.
Answer:
True
Explanation:
While I believe it's a compendium of the both(both true and false), I when asked to pick just one, I would go with yes. They're are lots of things we humans do on a general note that causes flooding. Although, heavy rainfall can also cause flooding and that's not as a result of human activity, but directly. But then, activities like not maintaining a dam, or erecting a structurally failed dam can cause flood to occur at any point in time, without warning even. Another way is when due to our activities, we block the rivers, this can also lead to flooding exactly like the case of heavy rainfall does. Lack of good drainage facilities, drainage wouldn't create itself, we as humans do. When we don't were essentially creating an excuse for an eventual happening of flood.
Succinctly put, human activities also cause floods, as much as natural events causes flood.
Answer:
The template is given in C++
Explanation:
#include <iostream>
using namespace std;
//Template function that returns total of all values entered by user
template <class T>
T total (int n)
{
int i;
//Initializing variables
T sum = 0, value;
//Prompting user
cout << "\n Enter " << n << " values: \t ";
//Iterate till user enters n values
for(i=1; i<=n; i++)
{
//Reading a value
cin >> value;
//Accumulating sum
sum = sum + value;
}
//Return sum
return sum;
}
//Main function
int main()
{
int n;
//Reading n value
cout << "\n Enter number of values to process: ";
cin >> n;
//Calling function for integers and printing result
cout << "\n\n Total : " << total<int>(n);
cout << "\n\n";
//Function call for doubles and printing results
cout << "\n\n Total : " << total<double>(n);
cout << "\n\n";
return 0;
}