Looking for PROGRAMACION AVANZADA test answers and solutions? Browse our comprehensive collection of verified answers for PROGRAMACION AVANZADA at online.upr.edu.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Given the following code:
What would be the output if we called: function5(5)?
Asume we have the following array:
{9, 8, 7, 6, 5, 4, 3, 2, 1}
At what position is the value 9?
Asume we have the following array:
arr = {9, 8, 7, 6, 5, 4, 3, 2, 1}
Then we call: arr[5] = 15
What is the content of the array now?
What is the final value of the variable counter at the end of the following loops?
int counter = 0;
for (int i=0, i<5, i++){
for (int j=0, j<2, j++){
counter++ ;
}
}
void loopingThroughString(string n) {
for(i = 0; i < n.size(); i++) {
cout << “Letter in position i"<< n[i] << endl;
}
}
Match each statement with a phrase:
Please comment on YOUR OWN performance in the project. You should specifically address the following questions:
On a scale of 0 (Very Poor) to 10 (Outstanding) rate YOUR overall performance in this programming assignment: