मराठी

Categorize the following as syntax error, logical error, or runtime error: num1 = 25; num2 = 0; num1/num2 - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Categorize the following as syntax error, logical error, or runtime error:

num1 = 25; num2 = 0; num1/num2

पर्याय

  • Syntax error

  • Logical error

  • Runtime error

MCQ
टीपा लिहा

उत्तर

Runtime Error

The syntax is correct. The error will arise only when the 'interpreter' will run the line containing these statements.

shaalaa.com
Debugging
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 5: Getting Started with Python - Exercise [पृष्ठ ११७]

APPEARS IN

एनसीईआरटी Computer Science [English] Class 11
पाठ 5 Getting Started with Python
Exercise | Q 8. b) | पृष्ठ ११७
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×