Filters
Question type

Study Flashcards

The Get statement begins with the keywords Start Get.

A) True
B) False

Correct Answer

verifed

verified

A variable that is declared with the ____ keyword can be used only by the class in which it is defined.


A) Public
B) Protected
C) Friend
D) Private

E) All of the above
F) C) and D)

Correct Answer

verifed

verified

The ____ privateVariable instruction directs the computer to return the contents of the Private variable.


A) Send
B) Throw
C) Pass
D) Return

E) A) and B)
F) None of the above

Correct Answer

verifed

verified

The Class statement ends with the keyword(s) ____.


A) Class
B) Exit Class
C) End Class
D) Next Class

E) B) and D)
F) A) and C)

Correct Answer

verifed

verified

Constructors must be Function procedures.

A) True
B) False

Correct Answer

verifed

verified

You create a Public property using a Property ____.


A) variable
B) procedure
C) constructor
D) class

E) All of the above
F) A) and B)

Correct Answer

verifed

verified

Using a Public property to assign a value received from a program ensures that the Set block is processed.

A) True
B) False

Correct Answer

verifed

verified

True

All the words in a method name should be verbs.

A) True
B) False

Correct Answer

verifed

verified

False

A ____ initializes the class's variables.


A) constructor
B) Public property
C) Set block
D) Get block

E) A) and C)
F) B) and C)

Correct Answer

verifed

verified

By convention, the first letter of each word in a method name should be capitalized.

A) True
B) False

Correct Answer

verifed

verified

When a property is declared using the ____ keyword, it can be accessed by any application that uses an object created from the class.


A) Public
B) Private
C) Protected
D) Friend

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

The Class statement begins with the keywords Private Class.

A) True
B) False

Correct Answer

verifed

verified

In the following instruction, Room is a(n) ____. Dim bedroom As New Room


A) object
B) variable
C) class
D) property

E) A) and B)
F) All of the above

Correct Answer

verifed

verified

The Return privateVariable instruction is entered in ____.


A) the default constructor
B) a constructor other than the default constructor
C) a Get block
D) a Set block

E) B) and C)
F) A) and D)

Correct Answer

verifed

verified

C

A ____ is a method whose instructions the computer processes, automatically, each time an object is created from the class.


A) structure
B) designer
C) loader
D) constructor

E) C) and D)
F) A) and B)

Correct Answer

verifed

verified

The Set statement begins with the keyword ____.


A) Set
B) Public Set
C) Start Set
D) Private Set

E) All of the above
F) A) and B)

Correct Answer

verifed

verified

A text box is created from the TextBox ____.


A) object
B) class
C) method
D) property

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

The code contained in the ____ block allows an application to retrieve the contents of the Private variable associated with the property.


A) Set
B) Assign
C) New
D) Get

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

By convention, most programmers capitalize the first letter in a class name.

A) True
B) False

Correct Answer

verifed

verified

In the Set statement, a parameter is enclosed in ____.


A) brackets
B) quotation marks
C) braces
D) parentheses

E) None of the above
F) All of the above

Correct Answer

verifed

verified

Showing 1 - 20 of 50

Related Exams

Show Answer