Self Studies

Computer Scienc...

TIME LEFT -
  • Question 1
    5 / -1

    In which working mode, the Python interpreter displays the name of the error and a small description of the error?

  • Question 2
    5 / -1

    Which statements are used by a user to forcibly raise exceptions in a program?

  • Question 3
    5 / -1

    The argument is generally a ____________ that is displayed when the exception is raised.

  • Question 4
    5 / -1

    Which type of errors are captured and handled by Exception Handling technique?

  • Question 5
    5 / -1

    What will be the sequence of output statements for the following code:

    print("Insert positive number")
    def positive(number):
        assert number>=0, "Error: Negative Number"
    print (positive(5))
    print (positive(-5))

  • Question 6
    5 / -1

    This process of creating an exception object and handing it over to the runtime system is know as _______________.

  • Question 7
    5 / -1

    Throwing an Exception executes in which of the following sequence:

  • Question 8
    5 / -1

    The _____________ keeps track of the exact position where the error has occurred.

  • Question 9
    5 / -1

    Which error will be raised for the following code:

    marks = 2
    a = marks / 0

  • Question 10
    5 / -1

    An error raised during program execution, even if the program is syntactically and semantically correct, is know as ____________.

Submit Test
Self Studies
User
Question Analysis
  • Answered - 0

  • Unanswered - 10

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
Submit Test
Self Studies Get latest Exam Updates
& Study Material Alerts!
No, Thanks
Self Studies
Click on Allow to receive notifications
Allow Notification
Self Studies
Self Studies Self Studies
To enable notifications follow this 2 steps:
  • First Click on Secure Icon Self Studies
  • Second click on the toggle icon
Allow Notification
Get latest Exam Updates & FREE Study Material Alerts!
Self Studies ×
Open Now