• 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 one
more than zero
one

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

Python
Which are the advantages of functions in python?

All of the mentioned
Improving clarity of the code
Decomposing complex problems into simpler pieces
Reducing duplication of code

ANSWER DOWNLOAD EXAMIANS APP

Python
What does the function re.search do?

matches a pattern at any position in the string
such a function does not exist
matches a pattern at the start of the string
none of the mentioned

ANSWER DOWNLOAD EXAMIANS APP

Python
Methods provided by Python for receiving and sending TCP messages.

s.recvfrom(),s.sendto()
None of the mentioned
s.recv(), s.send()
Both (A) and (B)

ANSWER DOWNLOAD EXAMIANS APP

Python
When will the else part of try-except-else be executed?

when an exception occurs
Always
when no exception occurs
when an exception occurs in to except block

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
↑