A socket object is usually created by which one of the following invocations?
Which of the following methods allow you to load a configuration using ConfigParser? (Select two answers.)
What is true about the following snippet of code?
class Cat:
def __init__(self, weight, sex):
self.height = height
self.weight = weight
self.sex = sex
def say(self):
print('meows')
kitty = Cat(1, 'male')
kitty.say()
Analyze the following snippet and choose the best statement that describes it.

Which of the following examples using line breaks and different indentation methods are compliant with PEP 8 recommendations? (Select two answers.)
Look at the following examples of comments and docstrings in Python. Select the ones that are useful and compliant with PEP 8 recommendations. (Select the two best answers.)
The following snippet represents one of the OOP pillars Which one is that?

If w is a correctly created main application window, which method would you use to foe both of the main window's dimensions?
What will be the content of the cars.xml file when you run the following code?
import xml.etree.ElementTree as ET
root = ET.Element('data')
car_1 = ET.SubElement(root, 'car', {'brand': 'Audi'})
car_2 = ET.SubElement(root, 'car', {'brand': 'Volkswagen'})
tree = ET.ElementTree(root)
tree.write('cars.xml', 'UTF-8', True)
Which function or operator should you use to obtain the answer True or False to the question: "Do two variables refer to the same object?"
Look at the following code snippets and decide which ones follow PEP 8 recommendations for whitespaces in expressions and statements (Select two answers.)
A)
No whitespace immediately before the opening parenthesis that starts the list of arguments of a function call:

B)
A whitespace immediately before a comma, semicolon, and colon:

C)
No whitespace between a trailing comma and a following closing parenthesis:

D)
A whitespace immediately after the opening parenthesis that starts indexing or slicing:

Analyze the following snippet and decide whether the code is correct and/or which method should be distinguished as a class method.

Which methods can be invoked in order to draw a triangle?
(Select two answers.)
Analyze the following function and choose the statement that best describes it.
