Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 2 fuera de 7 páginas
Examen

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

Document preview thumbnail
Vista previa 2 fuera de 7 páginas

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

Vista previa del contenido

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 -

Información del documento

Subido en
16 de diciembre de 2025
Número de páginas
7
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$13.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
GEEKA
3.8
(366)
Vendido
2162
Seguidores
1449
Artículos
60406
Última venta
6 horas hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes