Answer:
B. How many programming statements the program contains
Explanation:
If a program is intended to be able to process large amounts of data, then the ability of the program to process larger data sets is heavily affected by
- execution time
- size of memory the program requires
- storage space the program requires as it runs.
The length of the statements the program contains does not much affect program performance.
Answer:
C++
Explanation:
using namespace std;
class AbstractClass {
public:
virtual bool checkUpperCase(string inputString);
virtual string lowerToUppercase(string inputString);
virtual void stringToInt(string inputString);
};
class ConcreteClass: public AbstractClass {
public:
bool checkUpperCase(string inputString) {
bool isUpper = false;
for (int i=0; i < strlen(inputString); i++) {
if (isupper(inputString[i])) {
isUpper = true;
break;
}
return isUpper;
}
string lowerToUppercase(string inputString) {
for (int i=0; i < strlen(inputString); i++) {
putchar(toupper(inputString[i]));
}
return inputString;
}
void stringToInt(string inputString) {
int convertedInteger = stoi(inputString);
convertedInteger+=10;
cout<<convertedInteger<<endl;
}
};
int main() {
ConcreteClass cc;
return 0;
}
Answer:
I'm not sure what this means by Hope you have a great day :)