What error occurs when you execute the following Python code snippet? apple = mango ValueError TypeError NameError SyntaxError TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following creates a pattern object? re.compile(str) re.assemble(str) re.create(str) re.regex(str) TRUE ANSWER : ? YOUR ANSWER : ?
Which is the correct expression for power(xy ) in Python? None of the mentioned x^^y x^y x**y TRUE ANSWER : ? YOUR ANSWER : ?
In Python, which of the following cannot be a variable? __init__ on in It TRUE ANSWER : ? YOUR ANSWER : ?
In Python GUI programming, the method that leaves an impression of a turtle shape at the current location stamp() All of the mentioned shape() position() TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following statements is true? Overriding isn’t possible in Python A subclass method can be overridden by the superclass A non-private method in a superclass can be overridden A private method in a superclass can be overridden TRUE ANSWER : ? YOUR ANSWER : ?
What type of data is: a=[(1,1),(2,4),(3,9)]? List of tuples Invalid type Tuples of lists Array of tuples TRUE ANSWER : ? YOUR ANSWER : ?
An exception is ____________ a special function a module a standard module an object TRUE ANSWER : ? YOUR ANSWER : ?
Which Python is used by client to opens a TCP connection to hostname? s.connect() All of the mentioned s.bind() s.accept() TRUE ANSWER : ? YOUR ANSWER : ?