• 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
Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python?

1
0
2
4

ANSWER DOWNLOAD EXAMIANS APP

Python
What error occurs when you execute the following Python code snippet? apple = mango

SyntaxError
TypeError
NameError
ValueError

ANSWER DOWNLOAD EXAMIANS APP

Python
What does the function re.match do?

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

ANSWER DOWNLOAD EXAMIANS APP

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

finally
Else
Assert
except

ANSWER DOWNLOAD EXAMIANS APP

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

more than one
more than zero
zero
one

ANSWER DOWNLOAD EXAMIANS APP

Python
Which of the following creates a pattern object?

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

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
↑