I.T. Discussion Community!
-Collapse +Expand
VB Classic
Search VB Classic Group:

Advanced
-Collapse +Expand VB Classic Study Test
PRESTWOODCERTIFIED
VB Classic Study Test◄╣
-Collapse +Expand VB Classic Store

Prestwood eMagazine

August Edition
Subscribe now! It's Free!
Enter your email:

   ► Prestwood Certified   Print This    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 = True
b = True
c = True
d = False
 
If Not (a And b) And (c Or d) Then
  MsgBox ("True")
Else
  MsgBox ("False")
End If
Answer:
  • True
  • False
  • Question #2: Yes or No?

    Is the default for parameters for subroutines and functions by reference?

    Answer:
  • Yes
  • No

  • Intermediate

    2 Intermediate Level Questions

    Question #3: Yes or No?

    Given the following two functions:

    Function This()
        This = False
    End Function
     
    Function That()
        That = True
    End Function

     

    Will the That function in the following code execute?

    Private Sub Command0_Click()
        If This And That Then
            MsgBox ("hi")
        End If
    End Sub
    Answer:
  • Yes
  • No
  • Question #4: True or False?

    A VB classic array is 0-based, meaning the first index is 0.

    Answer:
  • True
  • False

  • Advanced

    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?

    Answer:
    1. 

    Class_Initialize

    2. 

    New

    3. 

    Class_New

    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?

    Answer:
    1. 

    Finalize

    2. 

    Object_Terminate

    3. 

    Class_Finalize

    4. 

    Free

    5. 

    Class_Terminate

    Follow PrestwoodBoards on: 


    ©1995-2019 PrestwoodBoards  [Security & Privacy]
    Professional IT Services: Coding | Websites | Computer Tech