• HOME
  • QUIZ
  • CONTACT US
EXAMIANS
  • COMPUTER
  • CURRENT AFFAIRS
  • ENGINEERING
    • Chemical Engineering
    • Civil Engineering
    • Computer Engineering
    • Electrical Engineering
    • Mechanical Engineering
  • ENGLISH GRAMMAR
  • GK
  • GUJARATI MCQ

Python

Python
How many except statements can a try-except block have?

zero
more than zero
one
more than one

ANSWER DOWNLOAD EXAMIANS APP

Python
Which of the following is the use of id() function in python?

Every object doesn’t have a unique id
All of the mentioned
id returns the identity of the object
None of the mentioned

ANSWER DOWNLOAD EXAMIANS APP

Python
Which of the following blocks will be executed whether an exception is thrown or not?

finally
except
Assert
Else

ANSWER DOWNLOAD EXAMIANS APP

Python
Why are local variable names beginning with an underscore discouraged in Python Programming?

they confuse the interpreter
they are used to indicate global variables
they are used to indicate a private variables of a class
they slow down execution

ANSWER DOWNLOAD EXAMIANS APP

Python
Which of the following functions results in case insensitive matching?

re.I
re.U
re.X
re.A

ANSWER DOWNLOAD EXAMIANS APP

Python
What type of data is: a=[(1,1),(2,4),(3,9)]?

Array of tuples
List of tuples
Invalid type
Tuples of lists

ANSWER DOWNLOAD EXAMIANS APP
MORE MCQ ON Python

DOWNLOAD APP

  • APPLE
    from app store
  • ANDROID
    from play store

SEARCH

LOGIN HERE


  • GOOGLE

FIND US

  • 1.70K
    FOLLOW US
  • EXAMIANSSTUDY FOR YOUR DREAMS.
  • SUPPORT :SUPPORT EMAIL ACCOUNT : examians@yahoo.com

OTHER WEBSITES

  • GUJARATI MCQ
  • ACCOUNTIANS

QUICK LINKS

  • HOME
  • QUIZ
  • PRIVACY POLICY
  • DISCLAIMER
  • TERMS & CONDITIONS
  • CONTACT US
↑