Say s=”hello” what will be the return value of type(s) in Python? int String str bool TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following functions results in case insensitive matching? re.U re.A re.I re.X TRUE ANSWER : ? YOUR ANSWER : ?
An exception is ____________ a special function a module an object a standard module TRUE ANSWER : ? YOUR ANSWER : ?
What is the maximum possible length of an identifier allowed by Python? 79 characters 31 characters None of the mentioned 63 characters TRUE ANSWER : ? YOUR ANSWER : ?
What data type is the object below in Python? L = [1, 23, 'hello', 1] list tuple array dictionary TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is the use of id() function in python? All of the mentioned id returns the identity of the object None of the mentioned Every object doesn’t have a unique id TRUE ANSWER : ? YOUR ANSWER : ?
The expression a{5} will match _____________ characters with the previous regular expression. 5 or more 5 or less exactly 5 exactly 4 TRUE ANSWER : ? YOUR ANSWER : ?
Which are the advantages of functions in python? Reducing duplication of code All of the mentioned Decomposing complex problems into simpler pieces Improving clarity of the code TRUE ANSWER : ? YOUR ANSWER : ?
When is the finally block executed? only if some condition that has been specified is satisfied when there is an exception always when there is no exception TRUE ANSWER : ? YOUR ANSWER : ?
In Python, which of the following cannot be a variable? in It __init__ on TRUE ANSWER : ? YOUR ANSWER : ?