• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 7 páginas
Examen

CSE 101 Practice Questions AND ANSWERS Errors and Debugging

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

CSE 101 Practice Questions AND ANSWERS Errors and Debugging

Vista previa del contenido

Matching questions
1-13 of 13

Click a definition to match it with a term




A program contains the line of code x = 2 + y, but the variable y has never been seen
before this point. What will happen when we run this code?
Question 8 options:
The Python interpreter will treat y as having the value 0.
The program will crash.
Nothing will happen.
The computer will report a logical error.


Give this one a try later!

, The program will crash.




When a line of code containing a logical error is reached, _____________.
Question 11 options:
the Python interpreter terminates the program.
the Python interpreter typically skips the line and doesn't execute it.
nothing obvious happens, typically.
the computer prints an error message.


Give this one a try later!


nothing obvious happens, typically.




Debugging is:
Question 1 options:
creating/writing a series of software tests
documenting the bugs in a program
finding all the bugs in a program
running a program through a series of tests
tracking down programming errors and correcting them


Give this one a try later!


tracking down programming errors and correcting them




Which of the following is a semantic/logic error?
Question 3 options:
Including a space in the name of a variable.
Mistakenly dividing a value by 100 instead of multiplying it by 100 in a formula.

Información del documento

Subido en
27 de junio de 2025
Número de páginas
7
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$8.50

¿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.
codersimon
3.8
(87)
Vendido
808
Seguidores
478
Artículos
6423
Última venta
2 días 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