Answer:
Four types of errors program should test for user input are given in explanation
Explanation:
1. Program should test that extension contains exactly three letters
2. Program should test that extension doesn't contain any number or special character
3. Program should test that extension doesn't contain any white space
4. Program should test that extension doesn't contain any punctuation mark
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:
Encryption used on hard drives
Explanation:
TPM is a hardware chip. It is a type of module that is used to authenticate the hardware devices with the help of encryption keys (passwords). It is the short form of Trusted Platform module. The hardware devices that be authenticated through this module may include personnel computer or laptops. There are different keys, password and security codes.
So, the best sentence that describes, TPM is Encryption built into hardware
.
Go to www.oracle.com , the Downloads tab, find Java, probably SE (Standard Edition) and then select the appropriate SDK (Software Development Kit).
I don't remember if you need to use an absolute (full) path to javac on Windows, but the command is something like:
javac yourProgram
yourProgram needs to be named yourProgram.java