logo

Crowdly

Browser

Add to Chrome

PROGRAMACION AVANZADA

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)?

0%
100%
0%
View this question

Asume we have the following array:

{9, 8, 7, 6, 5, 4, 3, 2, 1}

At what position is the value 9?

0%
0%
100%
0%
0%
View this question
For this snippet of code:

What gets printed to the console?

0%
0%
100%
0%
View this question

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?

0%
0%
0%
0%
0%
View this question
For this snippet of code:

What does s represent?

0%
0%
0%
0%
View this question

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++ ;

}

}

View this question
What’s wrong with this piece of code? Assume that any necessary #includes or using statements have been taken care of. Select the best answer.

void loopingThroughString(string n) {

for(i = 0; i < n.size(); i++) {

      cout << “Letter in position i"<< n[i] << endl;

}

}

0%
0%
0%
0%
0%
View this question

Match each statement with a phrase:

View this question

Please comment on YOUR OWN performance in the project.  You should specifically address the following questions:

  • Were you helpful and dependable during the project?  
  • Did you share the load and responsibilities of the project roughly equally/fairly with your partner?

  • Were you able to contact and communicate with your partner when needed?

View this question

On a scale of 0 (Very Poor) to 10 (Outstanding) rate YOUR overall performance in this programming assignment:

View this question

Want instant access to all verified answers on online.upr.edu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome