Preview

CHAPTER11

Good Essays
Open Document
Open Document
2591 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
CHAPTER11
Chapter 11 Object-Oriented Programming
Section 11.1 Classes and Objects
1.

Which line of code will declare and create an instance of a new object variable called instructor using a class called Faculty?
(A) Dim
(B) Dim
(C) Dim
(D) Dim
D

2.

Faculty As instructor Faculty As instructor instructor
As Faculty
New instructor()
As New Faculty()

What is the purpose of the Get property procedure?
(A) retrieve the value of a property
(B) assign values
(C) access private methods
(D) verify the data
A

3.

Which procedure will set default values for member variables when an object is instantiated? (A) Form1_Load
(B) Get property procedure
(C) New
(D) Set property procedure
C

4.

Which one of the following statements does NOT apply to object-oriented programming? (A) Object-oriented programming helps to prevent the complete rewriting of a program every time a minor change needs to be made.
(B) Object-oriented programming makes use of the principle of “data hiding.”
(C) Object-oriented programming makes use of the encapsulation within an object of data and procedures that act on the data.
(D) Object-oriented programming depends on the programmer having access to and understanding all of the code that contains the data and procedures that are encapsulated within an object.
D

5.

Which of the following is an example of a control object?
(A)
(B)
(C)
(D)

6.

Control objects and code objects share many things in common. Which of the following statements applies only to control objects (in other words, which of the following statements does not apply to code objects)?
(A)
(B)
(C)
(D)

7.

they are created from the Toolbox they are predefined and have physical manifestations they require the writing of a class block of code they include objects of the type TextBox and ListBox
C

Which one of the following statements does NOT accurately describe object-oriented programs? (A)
(B)
(C)
(D)

9.

these objects have properties these objects are predefined and have physical

You May Also Find These Documents Helpful

  • Powerful Essays

    Chapter 10

    • 1332 Words
    • 6 Pages

    Chuck is currently in the 25 percent tax rate bracket. His marginal tax rate on increases in income up to $8,600 and deductions from income up to $40,500 is 25 percent.…

    • 1332 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Chapter 10

    • 536 Words
    • 3 Pages

    4. Find the area of the triangle with ∠A = 86, b = 4 ft, and c = 3 ft. Round your answer to two decimal places.…

    • 536 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    chapter 10

    • 4684 Words
    • 19 Pages

    The maker of Keebler Sandies cookies has added fudge drop Sandies to its cookie product line. Is this a new product?…

    • 4684 Words
    • 19 Pages
    Good Essays
  • Satisfactory Essays

    Chapter 9

    • 541 Words
    • 2 Pages

    Innovations such as defense wall and architecture is one of the Byzantine legacy. Their religions: Orthodox Christians and Roman Catholic were deprived during the Byzantine time, which continue to spread until the present day. The culture, they kept Greek’s literature from dying out and made copies of them. Since the city of Constantinople developed as one of the largest city in Europe, so therefore, some of the Byzantine’s legacies has contributed to the development of Europe.…

    • 541 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    chapter01

    • 7053 Words
    • 24 Pages

    In PKI environments, entities called registration authorities and certificate authorities require proof of identity from individuals requesting a certificate, which will then be validated.…

    • 7053 Words
    • 24 Pages
    Good Essays
  • Powerful Essays

    Chapter 02

    • 1790 Words
    • 7 Pages

    Fiscal policies refer to government efforts to influence the economy through taxation without representation and spending decisions that are designed to encourage growth. Monetary policies refer to actions that shape the economy by influencing interest rates and the supply of money. Politics plays a role by making taxes higher and by influencing interest rates.…

    • 1790 Words
    • 7 Pages
    Powerful Essays
  • Powerful Essays

    Chapter 2

    • 968 Words
    • 4 Pages

    Wegener and his associates found that the fit of the continents, fossil evidence, paleoclimatic evidence, and similarities in rock type and structural features all seemed to bridge together the now-separated continental landmasses.…

    • 968 Words
    • 4 Pages
    Powerful Essays
  • Good Essays

    Chapter20

    • 16888 Words
    • 85 Pages

    impressed the court of King Maximilian II of Bohemia with their sable coats and caps.…

    • 16888 Words
    • 85 Pages
    Good Essays
  • Powerful Essays

    Chapter 9

    • 1342 Words
    • 6 Pages

    1. How did the Revolution affect the following aspects of American life: democracy, commerce, religion and the separation of church and state, slavery, women’s rights?…

    • 1342 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    Chapter 9

    • 3990 Words
    • 20 Pages

    3) The impact of the Internet on media appears to be decreasing the total demand for media.…

    • 3990 Words
    • 20 Pages
    Powerful Essays
  • Satisfactory Essays

    Chapter 2

    • 584 Words
    • 3 Pages

    13. Which of the following statements does not apply to a weak approach to sustainable tourism?…

    • 584 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Chapter 2

    • 404 Words
    • 2 Pages

    The new millennium begins with Wild Castle continuing to offer guests the latest in family fun attractions like the Wave Pool, the sight and sound re-vamp on the Gyro sphere, the up & down thrills of the spring and a variety of live shows are performed on the front lawn stage. The Wild Castle Passport program, offering an individual guest multiple visits, is introduced and is very well received.…

    • 404 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Chapter 10

    • 484 Words
    • 2 Pages

    1. How do your nervous and endocrine systems work together as a physical response to stress?…

    • 484 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Chapter 2

    • 1207 Words
    • 5 Pages

    • Describe psychoanalytic, cognitive, behavioral and social learning, and ecological theories as applied to lifespan development.…

    • 1207 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    Chapter 12

    • 20153 Words
    • 81 Pages

    ating is a behavior that is of interest to virtually everyone. We all do it, and most of us derive great pleasure from it. But for many of us, it becomes a source of serious personal and health problems. Most eating-related health problems in industrialized nations are associated with eating too much—the average American consumes 3,800 calories per day, about twice the average daily requirement (see Kopelman, 2000). For example, it is estimated that Watch 65% of the adult U.S. popuYou Are What You Eat lation is either overweight or www.mypsychlab.com clinically obese, qualifying this problem for epidemic status (see Abelson & Kennedy, 2004; Arnold, 2009). The resulting financial and personal costs are huge. Each year in the United States, about $100 billion is spent treating obesity-related disorders (see Olshansky et al., 2005). Moreover, each year, an estimated 300,000 U.S. citizens die from disorders caused by their excessive eating (e.g., diabetes, hypertension, cardiovascular diseases, and some cancers). Although the United States is the trend-setter when it comes to overeating and obesity, many other countries are not far behind (Sofsian, 2007). Ironically, as overeating and obesity have reached epidemic proportions, there has been a related increase in disorders…

    • 20153 Words
    • 81 Pages
    Powerful Essays