Pagina de inicio
/
Tecnología
/
A computer science student completes a program and asks a classmate for feedback. The classmate suggests rewriting some of the code to include more procedural abstraction. Which of the following is NOT a benefit of procedural abstraction? A Making the code more readable B Making the code run faster Providing more opportunities for code reuse c D Reducing the amount of duplicated code

Problemas

A computer science student completes a program and asks a classmate for feedback. The classmate
suggests rewriting some of the code to include more procedural abstraction. Which of the following is NOT
a benefit of procedural abstraction?
A Making the code more readable
B Making the code run faster
Providing more opportunities for code reuse c
D Reducing the amount of duplicated code

A computer science student completes a program and asks a classmate for feedback. The classmate suggests rewriting some of the code to include more procedural abstraction. Which of the following is NOT a benefit of procedural abstraction? A Making the code more readable B Making the code run faster Providing more opportunities for code reuse c D Reducing the amount of duplicated code

Solución

avatar
Magdalenamaestro · Tutor durante 5 años
expert verifiedVerificación de expertos
4.3 (162 votos)

Responder

B

Explicar

## Step 1<br />Procedural abstraction is a programming concept that involves breaking down a complex problem into smaller, more manageable parts. This is done by creating procedures or functions that perform specific tasks. <br /><br />## Step 2<br />The benefits of procedural abstraction include making the code more readable, providing more opportunities for code reuse, and reducing the amount of duplicated code. This is because procedural abstraction allows for the creation of modular code that can be reused in different contexts, which reduces the need for repetitive coding.<br /><br />## Step 3<br />However, procedural abstraction does not inherently make the code run faster. The speed of a program is determined by the efficiency of the code, not the level of abstraction. Therefore, option B is not a benefit of procedural abstraction.
Haz clic para calificar: