100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

MMET 383 HSEIH EXAM 2, ERROR HANDLING TO PG. 59

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
16-12-2025
Written in
2025/2026

MMET 383 HSEIH EXAM 2, ERROR HANDLING TO PG. 59

Institution
MMET 383
Course
MMET 383









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
MMET 383
Course
MMET 383

Document information

Uploaded on
December 16, 2025
Number of pages
7
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

MMET 383 HSEIH EXAM 2, ERROR HANDLING TO PG.
59

Number, source, description - Answer -properties of the VB Err Object

On Error GoTo Variable
'code code code stuff for no errors
Exit Sub

Variable:
Msgbox("error")
Exit Sub
End Sub - Answer -Visual Code for Error Handling

Exit sub - Answer -statement that causes the program execution to exit out of the
current procedure; for when errors are found in a processing module; also use when an
immediate exit from the current procedure is the best solution

number=rnd()*(high-low)+low - Answer -random number function

* - Answer -three loops available in VB

counter-controlled - Answer -a loop is __ if a variable is incremented or decremented
during each loop cycle

loop variable or loop counter - Answer -variable for counter-controlled loops

initialize - Answer -you must __ the loop variable prior to the first loop iteration if the
loop is counter-controlled, and add code so the loop variable is properly
incremented/decremented during each loop cycle

pre-test - Answer -test condition before body execution

post-test - Answer -test condition after each execution; execute at least one time

"loop" - Answer -end loops with the command...

while - Answer -repetition continues as long as the condition is true

until - Answer -repetition continues as long as the condition is false

EXIT DO - Answer -when a loop is entered, the body statements are fully executed
before the condition is tested again unless you have __ to prematurely exit loop. If there
is neither a while or until, the loop is infinite unless __ is executed

, 'Initialize Sum, Num, then loop
Sum=0
Num=First
Do
Sum=Sum+Num
Num=Num+2
Loop While Num <= Last - Answer -post test while loop example

counting loops - Answer -use when # iterations are known

For Var = StartValue to EndValue [Step number]
'code code code stuff here
Next Var
'after statement - Answer -Logic for counting loops

'Initialize
Sum=0
For Num=First To Last Step 2
Sum=Sum+Num*Num
Next Num
'display
End Sub - Answer -Sum Squares Program with Counting For Loop

If/ElseIf/Else/Then etc - Answer -*

functions, procedures, and methods - Answer -what is the difference?*
how to call?

procedure - Answer -any sequence of statements that has a name and is executed in a
unit

function - Answer -

List1.Items.Add("Fish")
List1.Text; List1.ListIndex - Answer -List Box Commands

Picture1.Load("picture1.jpg")

IN DEBUG FOLDER - Answer -Picture Box Commands

Me.Closed
Me.Hide
Form1.show - Answer -Multi-Form Commands

navigate through pictures - Answer -

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
GEEKA YALA UNIVERSITY
View profile
Follow You need to be logged in order to follow users or courses
Sold
2009
Member since
3 year
Number of followers
1447
Documents
48320
Last sold
1 day ago

3.8

345 reviews

5
172
4
61
3
44
2
16
1
52

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions