Python Say s=”hello” what will be the return value of type(s) in Python? bool String int str bool String int str ANSWER DOWNLOAD EXAMIANS APP
Python What is the use of duck typing? No restriction on the type values that can be passed to a given method Makes the program code smaller Less restriction on the type values that can be passed to a given method More restriction on the type values that can be passed to a given method No restriction on the type values that can be passed to a given method Makes the program code smaller Less restriction on the type values that can be passed to a given method More restriction on the type values that can be passed to a given method ANSWER DOWNLOAD EXAMIANS APP
Python The expression a{5} will match _____________ characters with the previous regular expression. 5 or more 5 or less exactly 5 exactly 4 5 or more 5 or less exactly 5 exactly 4 ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is the use of id() function in python? Every object doesn’t have a unique id id returns the identity of the object None of the mentioned All of the mentioned Every object doesn’t have a unique id id returns the identity of the object None of the mentioned All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Python What arithmetic operators cannot be used with strings in Python? All of the mentioned – * + All of the mentioned – * + ANSWER DOWNLOAD EXAMIANS APP
Python Which are the advantages of functions in python? Improving clarity of the code Decomposing complex problems into simpler pieces All of the mentioned Reducing duplication of code Improving clarity of the code Decomposing complex problems into simpler pieces All of the mentioned Reducing duplication of code ANSWER DOWNLOAD EXAMIANS APP