PROGRAMMING (3 CORRECT ANSWERS)? CAREFUL, THERE ARE SEVERAL CORRECT ANSWERS. A. They are not used to represent real-world objects; this is just an analogy to help us to talk about them. B. They can be used to model real-world objects. C. They can also be called “instances of a class.” D. They help programmers to group descriptions and details together.
PROGRAMMING (3 CORRECT ANSWERS)? CAREFUL, THERE ARE SEVERAL CORRECT ANSWERS. A. They are not used to represent real-world objects; this is just an analogy to help us to talk about them. B. They can be used to model real-world objects. C. They can also be called “instances of a class.” D. They help programmers to group descriptions and details together. Software objects are modeled off of real-world objects. That’s part of why they’re so useful when designing computer systems for the real world!
Attributes describe what an object is composed of. B. Attributes are used to define security access. C. Attributes define what actions you can take with an object. D. Attributes cannot have values
Attributes describe what an object is composed of. B. Attributes are used to define security access. C. Attributes define what actions you can take with an object. D. Attributes cannot have values Objects have a list of attributes that define what they’re made up of. This is not to be confused with methods, which define behaviors, or rather, what you can do with an object’s attributes. Security access is defined by the access control.
CORRECT ANSWERS) CAREFUL, THERE ARE SEVERAL CORRECT ANSWERS. A. Methods is another way of referring to famous rappers from the 90s. B. Methods define what you can do with an object’s attributes. C. Methods refer to an object’s behavior. D. Methods are what you use to plan out what’s in your object.
CORRECT ANSWERS) CAREFUL, THERE ARE SEVERAL CORRECT ANSWERS. A. Methods is another way of referring to famous rappers from the 90s. B. Methods define what you can do with an object’s attributes. C. Methods refer to an object’s behavior. D. Methods are what you use to plan out what’s in your object. Methods have nothing to do with rap (obviously) and you plan our your object using a class
A. It specifies who has access to the methods in your object. B. It’s a fancy security card with a barcode that you use to get into secure places, like the FBI building or the secret recipe room of a beverage company. C. It’s an attribute of an object. D. It defines who can open your cellar door
A. It specifies who has access to the methods in your object. B. It’s a fancy security card with a barcode that you use to get into secure places, like the FBI building or the secret recipe room of a beverage company. C. It’s an attribute of an object. D. It defines who can open your cellar door In programming, access control only defines who can use your methods or the degree of access to them (private, public, etc.), not your object in general. Methods define what can be done with your attributes, not access control. Answers 2 & 4 are good analogies, but not the actual definition of access control
“CLASS” IN PROGRAMMING? (2 CORRECT ANSWERS) CAREFUL, THERE ARE SEVERAL CORRECT ANSWERS. A. In programming, “a class” is a synonym for “an object.” B. A class is a plan or blueprint for your object. C. A class defines the attributes, methods, and access control for an object. D. Class is something all programmers have. E. Classes are constructed after you bring your object into being.
“CLASS” IN PROGRAMMING? (2 CORRECT ANSWERS) CAREFUL, THERE ARE SEVERAL CORRECT ANSWERS. A. In programming, “a class” is a synonym for “an object.” B. A class is a plan or blueprint for your object. C. A class defines the attributes, methods, and access control for an object. D. Class is something all programmers have. E. Classes are constructed after you bring your object into being.
connected. Classes are a plan for your object. Using this plan, you can bring an object into being. It doesn’t really make sense to make an object first and the plan after. That’d be like building a house before you create a blueprint! Also, some programmers may be classy, but that’s not really what’s meant by “class” in programming.
INTO BEING?” A. Antidisestablishmentarianism B. Instantiation. C. Objectification D. Instance definition E. Object definition We instantiate an object when we want to bring it into being. This is why an object can be referred to as “an instance of a class.”
ANOTHER?” A. Yes, because objects can contradict any of the requirements set out by their class B. Yes, different objects can have different values for their attributes. C. No, objects must be exact copies in order to follow the requirements set out by the class D. No, if you want different types of the same object, you should make a different class for each one
ANOTHER?” A. Yes, because objects can contradict any of the requirements set out by their class B. Yes, different objects can have different values for their attributes. C. No, objects must be exact copies in order to follow the requirements set out by the class D. No, if you want different types of the same object, you should make a different class for each one
of an attribute can vary for each object — as long as they respect the guidelines set out by the class! Instances of a class are not exact copies. This is part of why using objects is so useful!
A. An object cannot have another object as an attribute. B. Objects do not send messages to one another. C. Objects can communicate with one another by sending messages D. Objects are isolated and cannot be used in complex systems
A. An object cannot have another object as an attribute. B. Objects do not send messages to one another. C. Objects can communicate with one another by sending messages D. Objects are isolated and cannot be used in complex systems Complex systems are networks of associated objects that communicate via messages. Objects can have another object as an attribute.
in an object in order to simplify its use. B. It’s refers to bundling attributes, methods, and access control together in one unit. C. It when two objects interact within the same system D. It’s an eco-friendly version of an espresso pod
in an object in order to simplify its use. B. It’s refers to bundling attributes, methods, and access control together in one unit. C. It when two objects interact within the same system D. It’s an eco-friendly version of an espresso pod Encapsulation bundles together data and behaviors — like attributes, methods, and access control — but it doesn’t necessarily hide this information.
together information to simplify its utilization. B. It’s a method of highlighting the complexity of a particular object, in order to ensure that it’s used correctly. C. It’s an art movement from the 20th century that has heavily influenced programmers D. It means only showing what’s relevant or necessary for using an object
together information to simplify its utilization. B. It’s a method of highlighting the complexity of a particular object, in order to ensure that it’s used correctly. C. It’s an art movement from the 20th century that has heavily influenced programmers D. It means only showing what’s relevant or necessary for using an object
in order to simplify use, leaving only what’s relevant or useful available to the person using it. The bundling together of information is referred to as encapsulation!