CIS 247 Week 1 Quiz

Published on January 2018 | Categories: Self-Help | Downloads: 71 | Comments: 0 | Views: 374
of 1
Download PDF   Embed   Report

1. (TCO 1) Which of the following would be a more appropriate choice for a method in a Fork class? (Points : 5) 2. (TCO 1) Object-oriented programming generally focuses on _____. (Points : 5) 3. (TCO 2) Which of the following components of a class definition do not have an access modifier? (Points : 5) 4. (TCO 2) Which of the following statements is/are true? (Points : 5) 5. (TCO 5) Which of the following method pairs are examples of method overloading? (Points : 5) public void Bake() ; public int Bake(int x) 6. (TCO 1) Which of the following statements is/are false? (Points : 5) 7. (TCO 2) You have been tasked to create an Automobile class and your boss wants you to consider the concept of encapsulation as you design your class. Which of the following actions will you take? (Points : 5) 8. (TCO 2) You need to utilize an Item class in your own object-oriented class using composition. Luckily, one of your fellow students just finished writing their own version of an Item class. If the Item class was properly designed as a(n) _____, you do not need to know the specific details of how the class was implemented. Instead, you only need to become familiar with its _____. (Points : 5) 9. (TCO 2) A class is designed with two public attributes: attributeOne and attributeTwo. attributeOne is an integer data type while attributeTwo is a string data type. Which pseudocode representation(s) of setters would be appropriate for this class? (Points : 5) 10. (TCO 7) Which of the following statements is false? (Points : 5) 11. (TCO 7) What is an abstract class? (Points : 5) 12. (TCO 7) In terms of object-oriented programming, rules for the use of an application programming interface or framework can be enforced through the use of a(n) _____. (Points : 5)

Comments

Content

1. (TCO 1) Which of the following would be a more appropriate choice for a method in a Fork class? (Points : 5) 2. (TCO 1) Object-oriented programming generally focuses on _____. (Points : 5) 3. (TCO 2) Which of the following components of a class definition do not have an access modifier? (Points : 5) 4. (TCO 2) Which of the following statements is/are true? (Points : 5) 5. (TCO 5) Which of the following method pairs are examples of method overloading? (Points : 5) public void Bake() ; public int Bake(int x) 6. (TCO 1) Which of the following statements is/are false? (Points : 5) 7. (TCO 2) You have been tasked to create an Automobile class and your boss wants you to consider the concept of encapsulation as you design your class. Which of the following actions will you take? (Points : 5) 8. (TCO 2) You need to utilize an Item class in your own object-oriented class using composition. Luckily, one of your fellow students just finished writing their own version of an Item class. If the Item class was properly designed as a(n) _____, you do not need to know the specific details of how the class was implemented. Instead, you only need to become familiar with its _____. (Points : 5) 9. (TCO 2) A class is designed with two public attributes: attributeOne and attributeTwo. attributeOne is an integer data type while attributeTwo is a string data type. Which pseudocode representation(s) of setters would be appropriate for this class? (Points : 5) 10. (TCO 7) Which of the following statements is false? (Points : 5) 11. (TCO 7) What is an abstract class? (Points : 5) 12. (TCO 7) In terms of object-oriented programming, rules for the use of an application programming interface or framework can be enforced through the use of a(n) _____. (Points : 5)

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close