IT SOLUTIONS
Your full service technology partner!
 VB Classic
 Search VB Classic Group: Advanced
 VB Classic Group Home eMag: VB Classic E. WEEKLYLESSON MYGROUPSETTINGS
 Message Board
 VB Classic KB
 VB Classic To/From To/FromCODEGuides
 VB Classic Study Test PRESTWOODCERTIFIED VB Classic Study Test◄╣
 VB Classic Store PRESTWOODSTORE Store Home Buy VB Classic Items
 Members Only

#### Prestwood eMagazine

January Edition
Subscribe now! It's Free!

 ► Prestwood Certified All Groups
 Printable Version Print Answers

# VB Classic Study Test

Practice tests to further your career.

### Intro

The following study test contains practice certification questions along with a study link for each question.  These questions were prepared by Mike Prestwood and are intended to stress an important aspect. All our practice questions are intended to prepare you specifically to earn your Prestwood certification and generally for passing any certification test as well as prepare you for professional work.

#### Features:

• Each question has a popup [Review] link.
• Hover over answers to reveal correct answer.

# 6 Questions

Mouse over answers to reveal correct answer.

## Beginner

2 Beginner Level Questions

 Question #1: True or False? Given the following code, which MsgBox will display? The True or the False one?`Dim a, b, c, d As Boolean   a = Trueb = Truec = Trued = False  If Not (a And b) And (c Or d) Then  MsgBox ("True")Else  MsgBox ("False")End If` Answer: TrueFalse
 Question #2: Yes or No? Is the default for parameters for subroutines and functions by reference? Answer: YesNo

## Intermediate

2 Intermediate Level Questions

 Question #3: Yes or No? Given the following two functions:`Function This()    This = FalseEnd Function`` ``Function That()    That = TrueEnd Function`   Will the That function in the following code execute?`Private Sub Command0_Click()    If This And That Then        MsgBox ("hi")    End IfEnd Sub` Answer: YesNo
 Question #4: True or False? A VB classic array is 0-based, meaning the first index is 0. Answer: TrueFalse

2 Advanced Level Questions

Question #5: Multiple Choice

In VB Classic object oriented programming, when an object instance is created from a class, VB calls a special parameter-less sub named what?

1.
 New
2.
 Class_New
3.
 Class_Initialize
4.
 Initialize
5.
 A method with the same name as the class.
Question #6: Multiple Choice

In VB Classic object oriented programming, when an object instance is destroyed, VB calls a special parameter-less sub named what?

1.
 Finalize
2.
 Object_Terminate
3.
 Class_Terminate
4.
 Class_Finalize
5.
 Free
 Go ahead!   Use Us! Call: 916-726-5675 Or visit our new sales site: www.prestwood.com