This test consists in two parts: a quiz with questions and a coding part with problems.
This test consists in two parts: a quiz with questions and a coding part with problems.
Write your answer in the corresponding textboxes or choose the rigth radio buttons/checkboxes.
x = 2
y = 2
if x > y : print("True")
else : print("False")
x = "Monday"
y = "Monday"
if x == y :
print("True")
else :
print("False")
x = 2
if x == 2 :
print("True")
x = 3
if x == 2 :
print("True")
x = 3
y = 10
if x > 0:
y = 12
y = y + 5
print(y)
x = -3
y = 10
if x > 0:
y = 12
y = y + 5
print(y)
x = -3
y = 10
if x > 0 :
y = 12
y = y + 5
print(y)
x
for which the following code will produce the value "yes". There may be more than one correct choice.
if not (x < 5) :
print("yes")
else :
print("No")