Coding Quiz
Level 2, 2026-08-04
All code is in Python. Operations with strings and numbers are not allowed. Ordering of string characters: !,A,1,a (meaning 'A' < 'a').
Special Symbols:    Blank:      Space:      Error: E
Y="G"
X="c"
Print(Y+"X")
[1]
E="D"
E="4"
Print(E)
[1]
Y="d"
Y="3"
Print(Y)
[1]
Q="F"
B="B"
Print("Q"+B)
[1]
def DoSum(Z,B)
    VAR=Z + B
    return VAR

Q=DoSum(2,4)
Print(Q)
[1]
E=0
B=1
while (E<2):
    E=E+1
    B=B*E
Print(B)

[1]
def Hello(Z)
  Y="Hi " + Z

Hello("Octavian")
[1]
def DoSum(B,A,Z)
    E=Z + A + B
    Print(E)

DoSum(7,3,2)
[1]
Q=False
VAR=True
if Q == True:
    Print(1)
elif VAR == True:
    Print(2)
else:
    Print(3)
[1]
def DoSum(E,X)
    Z=E + X
    Print(Z)

DoSum(1,1)
[1]
X="d"
[1]
X="e"
X="3"
Print(X)
[1]
if (True and True):
    Print(1)
elif (True or True):
    Print(2)
else:
    Print(3)
[1]
Y=1
if Y >= 1:
  Print("Yes")
else:
  Print("No")
[1]
Y="A"
X="G"
Print("Y"+X)
[1]
def DoSum(Q,Z)
    E=Q - Z
    return E

B=DoSum(1,3)
Print(E)
[1]
Z="9"
Z="a"
Print(Z+Z)
[1]
X=0
while (X<0):
    X=X+1
    Print("X")

[1]
B=0
Z=1
while (B<3):
    B=B+1
    Z=Z*B
Print(Z)

[1]
Y=True
Z=False
if Y != True:
    Print(1)
elif Z != False:
    Print(2)
else:
    Print(3)
[1]