• 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
Which of the following blocks will be executed whether an exception is thrown or not?

except
Assert
Else
finally

ANSWER DOWNLOAD EXAMIANS APP

Python
In Python, which of the following cannot be a variable?

in
It
__init__
on

ANSWER DOWNLOAD EXAMIANS APP

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

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

ANSWER DOWNLOAD EXAMIANS APP

Python
Is Python case sensitive when dealing with identifiers?

machine dependent
no
None of the mentioned
yes

ANSWER DOWNLOAD EXAMIANS APP

Python
To insert 5 to the third position in list1, we use which Python command?

list1.append(3, 5)
list1.add(3, 5)
list1.insert(2, 5)
list1.insert(3, 5)

ANSWER DOWNLOAD EXAMIANS APP

Python
When is the finally block executed?

when there is an exception
always
only if some condition that has been specified is satisfied
when there is no exception

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
↑