Attributes that describe an object's characteristics.

Prepare for the Code.org Computer Science Discoveries test. Study with interactive quizzes and comprehensive explanations. Master key concepts and boost your confidence!

Multiple Choice

Attributes that describe an object's characteristics.

Explanation:
In programming, what describes an object's characteristics are its properties. A property's job is to hold the values that define the object’s features, such as color, size, position, or health. So describing an object by listing its attributes points directly to its properties. A sprite is a visual object used in games to represent something on the screen, not the descriptive attribute itself. A class is like a blueprint for creating objects; it defines what properties and behaviors objects of that type will have, but it isn’t the description of a single object’s characteristics. A variable is a general storage for data—it can hold a value, but the term property is specifically about the descriptive attributes attached to an object.

In programming, what describes an object's characteristics are its properties. A property's job is to hold the values that define the object’s features, such as color, size, position, or health. So describing an object by listing its attributes points directly to its properties.

A sprite is a visual object used in games to represent something on the screen, not the descriptive attribute itself. A class is like a blueprint for creating objects; it defines what properties and behaviors objects of that type will have, but it isn’t the description of a single object’s characteristics. A variable is a general storage for data—it can hold a value, but the term property is specifically about the descriptive attributes attached to an object.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy