AP® Computer Science Principles

Free Version

Upgrade subject to access all content

Moderate

Hiding Implementation

APCSP-NEIT5E

Kylie has created some code designed to keep track of information about employees at a company. The code will be used by the company to create a database of personal information (like home address, phone number, email address, etc.) and salary information. Since Kylie knows that the company will only need to do a few things with the program, she makes many procedures and variables private so as to “hide” the implementation. This doesn’t affect the behavior of the code.

What Kylie has done to her program is called

A

data abstraction.

B

procedural abstraction.

C

parameterization.

D

privatization.