Python Which are Server Socket Methods provided by Python? s.bind() s.listen() s.accept() All of the mentioned s.bind() s.listen() s.accept() All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is the use of id() function in python? id returns the identity of the object All of the mentioned None of the mentioned Every object doesn’t have a unique id id returns the identity of the object All of the mentioned None of the mentioned Every object doesn’t have a unique id ANSWER DOWNLOAD EXAMIANS APP
Python To insert 5 to the third position in list1, we use which Python command? list1.add(3, 5) list1.append(3, 5) list1.insert(2, 5) list1.insert(3, 5) list1.add(3, 5) list1.append(3, 5) list1.insert(2, 5) list1.insert(3, 5) ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following statements is true? If any exception is thrown in try block, else block is executed All raised standard exceptions must be handled in Python 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 If any exception is thrown in try block, else block is executed All raised standard exceptions must be handled in Python 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 ANSWER DOWNLOAD EXAMIANS APP
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 Which are the advantages of functions in python? Improving clarity of the code Reducing duplication of code All of the mentioned Decomposing complex problems into simpler pieces Improving clarity of the code Reducing duplication of code All of the mentioned Decomposing complex problems into simpler pieces ANSWER DOWNLOAD EXAMIANS APP