• 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
Say s=”hello” what will be the return value of type(s) in Python?

bool
String
str
int

ANSWER DOWNLOAD EXAMIANS APP

Python
Which of the following creates a pattern object?

re.create(str)
re.compile(str)
re.regex(str)
re.assemble(str)

ANSWER DOWNLOAD EXAMIANS APP

Python
Which of the following results in a SyntaxError?

‘3\’
“He said, ‘Yes!'”
‘”Once upon a time…”, she said.’
”’That’s okay”’

ANSWER DOWNLOAD EXAMIANS APP

Python
Which of the following is not a standard exception in Python?

NameError
IOError
AssignmentError
ValueError

ANSWER DOWNLOAD EXAMIANS APP

Python
When is the finally block executed?

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

ANSWER DOWNLOAD EXAMIANS APP

Python
What does ~4 evaluate to in python?

-4
-5
+3
-3

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
↑