Which are Server Socket Methods provided by Python? s.listen() All of the mentioned s.accept() s.bind() TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is not a standard exception in Python? NameError IOError ValueError AssignmentError TRUE ANSWER : ? YOUR ANSWER : ?
What error occurs when you execute the following Python code snippet? apple = mango ValueError SyntaxError TypeError NameError TRUE ANSWER : ? YOUR ANSWER : ?
What data type is the object below in Python? L = [1, 23, 'hello', 1] array dictionary tuple list TRUE ANSWER : ? YOUR ANSWER : ?
Which of following Python Network/Internet modules supports HTTP protocol? httplib xmlrpclib urllib All of the mentioned TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following results in a SyntaxError? ”’That’s okay”’ “He said, ‘Yes!'” ‘3\’ ‘”Once upon a time…”, she said.’ TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is invalid variable in Python? __a = 1 _a = 1 None of the mentioned __str__ = 1 TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following blocks will be executed whether an exception is thrown or not? Else Assert except finally TRUE ANSWER : ? YOUR ANSWER : ?
In Python, which of the following cannot be a variable? __init__ on It in TRUE ANSWER : ? YOUR ANSWER : ?