• 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
In Python, which of the following cannot be a variable?

on
It
in
__init__

ANSWER DOWNLOAD EXAMIANS APP

Python
Which of the following creates a pattern object?

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

ANSWER DOWNLOAD EXAMIANS APP

Python
Say s=”hello” what will be the return value of type(s) in Python?

int
bool
String
str

ANSWER DOWNLOAD EXAMIANS APP

Python
Which Python is used by client to opens a TCP connection to hostname?

s.connect()
s.bind()
All of the mentioned
s.accept()

ANSWER DOWNLOAD EXAMIANS APP

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

more than one
zero
more than zero
one

ANSWER DOWNLOAD EXAMIANS APP

Python
When is the finally block executed?

only if some condition that has been specified is satisfied
always
when there is an exception
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
↑