Which of the equations are True? (Select two answers)
You are going to read 16 bytes from a binary file into a bytearray called data. Which lines would you use? (Select two answers)
An operator able to perform bitwise shifts is coded as (select two answers)
Select the valid fun () invocations:
(select two answers)
def fun (a, b=0):
return a*b
Which of the following statements are true? (Select two answers)
Python's built-in function named open () tries to open a file and returns:
Assuming that the following code has been executed successfully, select the expressions which evaluate to True (Select two answers)

What is the expected behavior of the following code?

What would you use instead of XXX if you want to check whether a certain ‘ key' exists in a dictionary called diet? (Select two answers)
II
if XXX:
print("Key exists")
Which of the following invocations are valid? (Select two answers)