How does the evaluation of conditions with AND and OR (short-circuit evaluation) work?
Python
What testing frameworks are available in Python? Auxiliary libraries?
How do the * and ** operators work in functions?
What is type hinting in Python? What type hinting is used?
What are context managers? Why use them?
x = (1, 2, 3); y = x; y.append(4) What will happen?
What is Shallow Copy and Deep Copy?
What are magic methods in Python? Examples?
x = [1, 2, 3]; y = x; y.append(4) What will happen?
a = [1, 2, 3] print(a[-1])
What are design patterns? Which ones do you know and have used?
What will be res = asyncio.sleep(1) without await, is it possible to call it like that?
What is a graph? Graph traversal algorithms?
How do multithreading, multiprocessing, and asynchronous execution differ? When should each be used?
a = 10 assert a < 0 a = 10; b = 0; c = -1 if (c > 0 or b > 0 or a > 0) if (c > 0 and b > 0 and a > 0) What is the difference, how will the condition checks be performed?
How many numbers can be encoded with 8 bits? What is the difference between a stack and a queue? What is recursion?
Tell about the SOLID principles.
What will print((1,) == (1)) output?
Which algorithm is the fastest: O(n), O(ln), O(n^2)?
What is a coroutine?