Visual Basic for Applications (VBA) Quiz — Flashcards | Visual Basic Programming | FatSkills

Visual Basic for Applications (VBA) Quiz — Flashcards

Fast review mode: answers are shown by default so you can skim quickly. Hide them if you want to self-test.

Visual Basic for Applications (VBA) MCQs For LinkedIn Skill Assessments.

1 of 32 Ready
Which two sets of values are printed by this function and sub?

Function GetVitals(ID As Long, Age As Long, Optional Weight As Long) As String
GetVitals='ID=' & ID &'Age=' & Age & 'Weight=' & Weight
End Function
Sub ShowVitals()
Dim ID As Long, Age As Long,Weight as Long
Debug.Print GetVitals(ID:=5,Age:=20)
Debug.Print GetVitals(ID:=6,Age:=25,Weight:=130)
End Sub

ID=5 Age = 20 Weight=0
ID=6 Age = 25 Weight=130
Shortcuts
Prev Space Show / hide Next
Turn this into a study set.
Sign in with Google to save tricky questions to your reminder list and resume on any device.
Sign in with Google Free • no extra password