5,492 views
17 votes
17 votes
A student is developing a program that allows users to look up the definitions of words that appear in a book.

The student plans to perform a large number of searches through a dictionary containing words and their definitions. The student will use a procedure written by a computer scientist to quickly search the dictionary (and knows that the procedure will return a definition if one is available). The student cannot modify the search procedure written by the computer scientist but can call the procedure by supplying a word.

Which of the following is a true statement about the student’s use of the computer.

The student is changing the search procedure’s internal abstractions.

The student is modifying the search procedure to take a definition as an argument and return the corresponding word.

The student is reusing the computer scientist’s procedural abstraction by knowing what the procedure does without knowing how it does it.

The student is reusing the computer scientist’s procedural abstraction by using duplicate code each time a search needs to occur.

User Helixirr
by
2.8k points

1 Answer

12 votes
12 votes

Answer:

The answer is C

Step-by-step explanation:

The student is reusing the computer scientist’s procedural abstraction by knowing what the procedure does without knowing how it does it.

A student is developing a program that allows users to look up the definitions of-example-1
A student is developing a program that allows users to look up the definitions of-example-2
User Khaled Lela
by
2.3k points