Python traceback

Python traceback

Professional Development

17 Qs

quiz-placeholder

Similar activities

Python basics

Python basics

Professional Development

22 Qs

Datatypes and Flowcontrol

Datatypes and Flowcontrol

Professional Development

15 Qs

first round quiz

first round quiz

Professional Development

20 Qs

Python - CDT

Python - CDT

Professional Development

20 Qs

JDK,JRE,JIT & JVM MCQs

JDK,JRE,JIT & JVM MCQs

Professional Development

12 Qs

[FSW] PRE-Test Chapter 8

[FSW] PRE-Test Chapter 8

12th Grade - Professional Development

15 Qs

HTML & CSS Einführung

HTML & CSS Einführung

Professional Development

14 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Python traceback

Python traceback

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Pich Rim

Used 3+ times

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What Is a Python Traceback?

A report containing the function calls made in your code at an error point.

A report containing the function calls made in your code at the last point.

A wealth of information that can help you diagnose and fix the reason for the exception being raised in your code.

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What Does a blue box mean?

It contains the exception name that was raised.

It is an Instantiate name of a class exception that was raised.

It is an error title that was raised.

It is a function name that was raised.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Question 3: What Does a green box mean?

Understanding the reason for the exception being raised.

This message usually contains helpful information about errors.

It is an error title that was raised.

It is a function name that was raised.

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What Does a yellow box mean?

Contains information like the file name, line number, and module name.

Contains information like the file name, line number, and module name, all specifying where the code can be found.

Show path file and line number where the code can be found.

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What Does a red box mean?

The second line for these calls contains the actual code that was executed.

Each line for these calls contains the actual code that was executed.

Show a function was executed.

Show a code was executed.

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What does REPL stand for?

Read-write-print-loop

Read-executed-print-loop

Read-eval-print-loop

Read-executed-prompt-loop

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The following code example what is the raise exception would be?


>>> bar = {1:'a',2:'b'}

>>> bar[3]

AttributeError

ValueError

KeyError

InvalidKey

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?