64. Which characteristic specifically describes an object-oriented language?

Answer: C

Explanation:

Object-oriented languages support creating programs as items that have data plus operations.

This characteristic is fundamental to object-oriented programming (OOP), where objects encapsulate both data and behaviors, allowing for more modular and reusable code.

A) Can be run on any machine that has an interpreter

While some object-oriented languages can indeed be interpreted and run on various machines, this characteristic is not exclusive to object-oriented languages. Many scripting languages, which may not be object-oriented, also possess this quality.

B) Requires a compiler to convert to machine code

This option pertains to the compilation process rather than the object-oriented paradigm itself. Many object-oriented languages can be either compiled or interpreted, so this characteristic does not specifically define them.

C) Supports creating programs as items that have data plus operations

This is the defining trait of object-oriented languages, emphasizing the encapsulation of data (attributes) and methods (operations) within objects. This allows for the principles of inheritance, polymorphism, and encapsulation that are central to OOP.

D) Supports creating programs as a set of functions

While some programming languages, including procedural ones, focus on functions, this does not accurately describe object-oriented languages. OOP emphasizes objects as the primary building blocks rather than just functions.

Conclusion

The correct answer, C, encapsulates the essence of object-oriented programming by highlighting the combination of data and operations within objects. Options A, B, and D do not specifically address the core concept of OOP, which is focused on objects rather than functions or compilation methods. Thus, C stands out as the definitive characteristic of object-oriented languages.