What are the main principles of SOLID you applied to improve your code architecture?
Python
What is a Mock in testing? What are fixtures?
How did you search for your first professional position?
Have you used Kubernetes for managing containerized applications in a production environment?
What motivates you in searching for a new position?
How was your integration into the team and adaptation at your new workplace?
Which of the SOLID principles do you believe are the most critical for developing quality code?
Do you have any questions for us regarding the role or the company?
What transaction isolation levels are supported in PostgreSQL?
What data types in programming are considered immutable and what are their features?
What is the role of metaclasses in the Python programming language and what are they used for?
Explain what a metaclass is in the context of object-oriented programming and how it is used?
# So, the requirements "what and how this code should do" should be accepted as it actually works now. # So, the requirements "what and how this code should do" should be accepted as it actually works now. db = Model() def process(data): print("file size: " + str(len(data))) users_lines = open("/opt/data/users.txt").read().splitlines() resultat = [] for stroka in users_lines: trasictions_lines = open("/opt/data/transactions.txt").read().splitlines() process(trasictions_lines) for str2 in trasictions_lines: parts = str2.split() is_valid = db.check_transaction( user_id=parts[3], change=parts[4], ) if not re.search("\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}\s+\d+\s+\w+\s+\d+.\d+", str2): continue user_id = stroka.split()[0] regdate = db.get_regdate(user_id) if re.search("\d{4}-\d{2}-\d{2}", regdate) and re.search("\d+.\d+", parts[4]): resultat.append(str2) if len(resultat) > 0: print("match")
Could you explain what the term ACID means in the context of databases?
How to add or update items in a dictionary in Python?
What parameters should be considered when choosing a future professional position?
What lesson can be learned from a perfect mistake or a difficult situation?
What professional skills and knowledge do you plan to develop within this project or company?
What potential problems can arise when using indexing in a database?