1.1 Alcon Toys manufactures several versions of a basic doll. Assume that the basic doll
is called Model A and the versions are called B, C, and D. In the context of OOP, the
Model A doll is called ______ class.
a. base
b. inherited
c. derived, base
d. exposed, hidden
e. inherited, derived
1.2 Fun Toys manufactures several versions of a basic doll, assume that the basic doll is
called Model A and the versions are called B, C and D. In the context of OOP, the Model
B, C and D are called ____ classes
a. Base
b. Derived
c. Encapsulated
d. Instance
1.3 In OOP, _________ refers to the fact that you can create one class from another class.
a. abstraction
b. combining
c. encapsulation
d. exposition
e. inheritance
1.4 The ______ provides most of the tools required to design a user interface.
a. Solution Explorer
b. Form designer window
c. Toolbox window
d. Properties window
e. Attributes window
1.5 The ______ provides all of the tools required to design a user interface.
a. Solution Explorer
b. Form designer window
c. Toolbox window
d. Properties window
e. Attributes window
1.6 The last step in planning an OOED application is to ____________
, a. draw a sketch of the user interface.
b. identify the objects to which tasks will be assigned.
c. identify the tasks the application needs to perform.
d. identify the event you want to trigger an object into performing its assigned tasks.
e. plan the code.
f. Build the user interface
g. Code the application.
1.7 You can use a ____________ control to process code at regular time intervals.
a. watch
b. counter
c. clock
d. timer
e. register
1.8 The programming process begins with a meeting between the programmer and the
client. Which of the following activities would be the fifth in the programming process?
a. Build the user interface.
b. Plan the application.
c. Assemble the documentation.
d. Code the application.
e. Test and debug the application.
1.9 Consider the expression 100/10*2>15-3 AndAlso 3*2^2<16+5. Which operation is
performed third?
a. +
b. /
c. *
d. ^
1.10 Consider the expression 3^2*2<16+5 AndAlso 100/10*2>15-3. Which operation is
performed first.
a. *
b. /
c. +
d. ^
1.11 The character ___ is used to assign an access key to a control.
a. *
, b. @
c. &
d. $
e. #
1.12 If we need to use a logical condition to determine whether the AccountBalance is
not more than CreditLimit, which of the following is correct?
a. AccountBalance = CreditLimit
b. AccountBalance >= CreditLimit
c. AccountBalance <= CreditLimit
d. AccountBalance <> CreditLimit
e. AccountBalance + CreditLimit > 0
1.13 Select the correct statement. When designing a user form, it is recommended to:
a. place the buttons in a row along the top of the user form.
b. place the less commonly used buttons first.
c. limit the number of buttons to six per screen.
d. arrange information horizontally with the most important first.
e. group related information with appropriate shape, such as a rectangle.
1.14 If you do not provide a data type when declaring a variable, Visual Basic
automatically assigns a data type to the declared variable, which is ________.
a. Integer
b. String
c. Decimal
d. Object
e. Double
f. Byte
1.15 The ___________event occurs when a form is being read into the computer’s
internal memory.
a. click
b. load
c. double-click
d. close
e. keypress
1.16 Which of the following is the correct data type to use for a variable that will always
contain a whole number less than 90 000?
is called Model A and the versions are called B, C, and D. In the context of OOP, the
Model A doll is called ______ class.
a. base
b. inherited
c. derived, base
d. exposed, hidden
e. inherited, derived
1.2 Fun Toys manufactures several versions of a basic doll, assume that the basic doll is
called Model A and the versions are called B, C and D. In the context of OOP, the Model
B, C and D are called ____ classes
a. Base
b. Derived
c. Encapsulated
d. Instance
1.3 In OOP, _________ refers to the fact that you can create one class from another class.
a. abstraction
b. combining
c. encapsulation
d. exposition
e. inheritance
1.4 The ______ provides most of the tools required to design a user interface.
a. Solution Explorer
b. Form designer window
c. Toolbox window
d. Properties window
e. Attributes window
1.5 The ______ provides all of the tools required to design a user interface.
a. Solution Explorer
b. Form designer window
c. Toolbox window
d. Properties window
e. Attributes window
1.6 The last step in planning an OOED application is to ____________
, a. draw a sketch of the user interface.
b. identify the objects to which tasks will be assigned.
c. identify the tasks the application needs to perform.
d. identify the event you want to trigger an object into performing its assigned tasks.
e. plan the code.
f. Build the user interface
g. Code the application.
1.7 You can use a ____________ control to process code at regular time intervals.
a. watch
b. counter
c. clock
d. timer
e. register
1.8 The programming process begins with a meeting between the programmer and the
client. Which of the following activities would be the fifth in the programming process?
a. Build the user interface.
b. Plan the application.
c. Assemble the documentation.
d. Code the application.
e. Test and debug the application.
1.9 Consider the expression 100/10*2>15-3 AndAlso 3*2^2<16+5. Which operation is
performed third?
a. +
b. /
c. *
d. ^
1.10 Consider the expression 3^2*2<16+5 AndAlso 100/10*2>15-3. Which operation is
performed first.
a. *
b. /
c. +
d. ^
1.11 The character ___ is used to assign an access key to a control.
a. *
, b. @
c. &
d. $
e. #
1.12 If we need to use a logical condition to determine whether the AccountBalance is
not more than CreditLimit, which of the following is correct?
a. AccountBalance = CreditLimit
b. AccountBalance >= CreditLimit
c. AccountBalance <= CreditLimit
d. AccountBalance <> CreditLimit
e. AccountBalance + CreditLimit > 0
1.13 Select the correct statement. When designing a user form, it is recommended to:
a. place the buttons in a row along the top of the user form.
b. place the less commonly used buttons first.
c. limit the number of buttons to six per screen.
d. arrange information horizontally with the most important first.
e. group related information with appropriate shape, such as a rectangle.
1.14 If you do not provide a data type when declaring a variable, Visual Basic
automatically assigns a data type to the declared variable, which is ________.
a. Integer
b. String
c. Decimal
d. Object
e. Double
f. Byte
1.15 The ___________event occurs when a form is being read into the computer’s
internal memory.
a. click
b. load
c. double-click
d. close
e. keypress
1.16 Which of the following is the correct data type to use for a variable that will always
contain a whole number less than 90 000?