Last updated on 6/15/21
Software objects 101
- Identify how computers use objects in programming
Which of the following is true of objects in programming (3 correct answers)?Careful, there are several correct answers.
They can be used to model real-world objects.
They are not used to represent real-world objects; this is just an analogy to help us to talk about them.
They help programmers to group descriptions and details together.
They can also be called "instances of a class."
Which of the following is true about attributes?
Attributes describe what an object is composed of.
Attributes are used to define security access.
Attributes define what actions you can take with an object.
Attributes cannot have values.
Which of the following is true about methods? (2 correct answers)Careful, there are several correct answers.
Methods is another way of referring to famous rappers from the 90s.
Methods define what you can do with an object's attributes.
Methods refer to an object's behavior.
Methods are what you use to plan out what's in your object.