Answer:
A) corrective.
B) adaptive.
C) perfective.
Explanation:
Making changes due to an error is corrective, making changes in order to be able to accommodate new methods is adaptive, and changes in strict adherence to regulations must be perfective.
Answer:
#include <iostream>
using namespace std;
void PrintPopcornTime(int bagOunces) {
if(bagOunces < 2)
cout << "Too small" << endl;
else if(bagOunces > 10)
cout << "Too large" << endl;
else
cout << 6 * bagOunces <<" seconds" << endl;
}
int main()
{
int userOunces;
cin >> userOunces;
PrintPopcornTime(userOunces);
return 0;
}
Explanation:
Inside the function PrintPopcornTime, check the parameter bagOunces using if structure. Depending on the value of bagOunces, print the required information.
Inside the main, ask the user for the userOunces. Call the PrintPopcornTime function with the userOunces.
Answer:
(1) input-output equipment, (2) main memory, (3) control unit, and (4) arithmetic-logic unit.
Answer:
This is false.
Explanation:
General-purpose computers are desktop computers or laptops that can function in multiple ways. A s<u>pecial-purpose computer</u> is usually designed to do one thing only.