// Making a function that will take a integer as argument and return print the code
void Print(int statuscode){
// starting the switch statement on the interger sent
switch(statuscode)
case 200: // for case 200
cout << "Ok,Fullfilled"<< endl;
case 403: // for case 403
cout << "Forbidden" << endl;
case 404: // for case 404
cout << "Not Found" <<endl;
case 500: // for case 500
cout << "Server Error "<< endl;
default: // default case
cout << " Wrong code"<<endl;
}
Breach..
bugs and viruses
hack
Answer:
B. Virtual reality
Explanation:
In a virtual reality context, the visual and auditory senses of the user are fed by data (images, sounds) from the computer using a goggle and earphones. That allows the person to be totally cut off her real physical environment and be totally immersed into the world (reality) managed by the computer.
Not to be confused with<u> augmented reality</u>, where the physical reality and perception of it aren't changed... but an additional layer of information is added on top of it. Like pointing your phone camera to a building and getting information about the building displayed on your phone.
Answer:
29
Explanation:
for n=28:
--------------
Algorithm 1 performs f(n) = n2 + n/2 = 28*28 + 28/2 = 798
Algorithm 2 performs f(n) = 12*28 + 500 = 836
for n=29
--------------
Algorithm 1 performs f(n) = n2 + n/2 = 29*29 + 29/2 = 855.5
Algorithm 2 performs f(n) = 12*29 + 500 = 848
so, for n=29, algorithm 2 will be faster than algorithm 1