131k views
5 votes
Which option would you use to insert placeholders for data that might change?

A) Variables
B) Constants
C) Functions
D) Operators

1 Answer

6 votes

Final answer:

To insert placeholders for data that may change in a program, you should use variables, as they can store values that can be modified during the program's execution.

Step-by-step explanation:

To insert placeholders for data that might change, you would use variables. A variable in programming is used to store a value that can be modified as the program runs. This is the opposite of a constant, which holds a value that does not change. Functions, on the other hand, are reusable blocks of code that perform specific tasks and may use variables but are not placeholders themselves. Operators are symbols that tell the compiler or interpreter to perform specific mathematical, relational or logical operations and are also not used as placeholders for changeable data

User Hayonj
by
8.6k points