Answer:
Step 1
Open the flowchart and locate the startinglocation on the chart.
Step 2
Write the pseudocode that is equivalent to the rectangular process boxes in your diagram.
Step 3
Write the pseudocode for the diamond-shaped decision boxes in your diagram.
Step 4
Write the pseudocode for the end terminator of the flowchart.
Combine all of your converted statements above and you have a flowchart that has been converted to pseudocode.
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:
The right answer is option 2: instance variables and their values
Explanation:
Let us define what an object is.
An object is a blueprint of a real-world identity. The instances are the reference to the object. Multiple instances of an object type can be made.
The instance variables and their values help us to determine the state of the object.
Hence,
The right answer is option 2: instance variables and their values
The vivofit by Garmin is a fitness tracker that not only tracks distance, calories burned, and steps — it lasts on one charge for an entire year. Slap it on your wrist and never worry about charging it.