Python Say s=”hello” what will be the return value of type(s) in Python? bool int str String bool int str String ANSWER DOWNLOAD EXAMIANS APP
Python When is the finally block executed? when there is no exception only if some condition that has been specified is satisfied always when there is an exception when there is no exception only if some condition that has been specified is satisfied always when there is an exception ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following statements is true? The standard exceptions are automatically imported into Python programs All raised standard exceptions must be handled in Python If any exception is thrown in try block, else block is executed When there is a deviation from the rules of a programming language, a semantic error is thrown The standard exceptions are automatically imported into Python programs All raised standard exceptions must be handled in Python If any exception is thrown in try block, else block is executed When there is a deviation from the rules of a programming language, a semantic error is thrown ANSWER DOWNLOAD EXAMIANS APP
Python Which of these about a dictionary is false? The values of a dictionary can be accessed using keys Dictionaries aren’t ordered The keys of a dictionary can be accessed using values Dictionaries are mutable The values of a dictionary can be accessed using keys Dictionaries aren’t ordered The keys of a dictionary can be accessed using values Dictionaries are mutable ANSWER DOWNLOAD EXAMIANS APP
Python Which module in Python supports regular expressions? re regex pyregex none of the mentioned re regex pyregex none of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Python 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 All of the mentioned id returns the identity of the object None of the mentioned Every object doesn’t have a unique id ANSWER DOWNLOAD EXAMIANS APP