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

CSE 101 Practice Questions AND ANSWERS Errors and Debugging

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
27-06-2025
Written in
2024/2025

CSE 101 Practice Questions AND ANSWERS Errors and Debugging

Institution
CSE 101
Course
CSE 101









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

Written for

Institution
CSE 101
Course
CSE 101

Document information

Uploaded on
June 27, 2025
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

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.

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.
codersimon West Virgina University
View profile
Follow You need to be logged in order to follow users or courses
Sold
758
Member since
3 year
Number of followers
478
Documents
6114
Last sold
4 days ago
**SOUNDEST LEANING MATERIALS FROM CODERSIMON **

Learning is not attained by chance; it must be sought for with ardor and diligence On this page, you find exams,tests,summaries, notes ,documents, package deals, and flashcards offered by codersimon

3.8

83 reviews

5
41
4
12
3
15
2
4
1
11

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