Coding Quiz
Level 3, 2026-05-09
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
X=True
Q=False
if X != True:
    Print(1)
elif Q != True:
    Print(2)
else:
    Print(3)
[1]
A="b"
Y="e"
Print(A+Y)
[1]
A="a"
Z="b"
Print("A"+Z)
[1]
A=5
if A != 7:
  Print("Yes")
else:
  Print("No")
[1]
F="c"
Print(c)
[1]
Q=0
Z=0
while (Q<8):
    Q=Q+1
    Z=Z+6
Print(Q+","+Z)

[1]
E=3
E=3
if E < E:
    Print("Yes")
else:
    Print("No")
[1]
B="c"
Z="E"
Print(Z+B)
[1]
def Hello(Q,type)
    if (!Q) return
    if (type=="good"):
        VAR="Hi "
    elif (type=="bad"):
        VAR="Boo "
    else:
        VAR="Bye"
    return VAR + " " + Q

Z = Hello("","ok")
Print(Z)
[1]
def Hello(E)
    Z="Hi " + E
    Print(Z)

Hello("Mongo")
[1]
Q="g"
F="G"
Print(Q+"F")
[1]
F="f"
Y="G"
Print(F+"Y")
[1]
Q=0
while (Q<1):
    Q=Q+1
    Print("X")

[1]
Y=0
X=""
while (Y<1):
    Y=Y+1
    X=X+"X"
Print(X)

[1]
def Hello(VAR,type)
    if (type=="good"):
        Q="Hi "
    elif (type=="bad"):
        Q="Boo "
    else:
        Q="Bye"
    Print(Q+" "+VAR)

Hello("Jenny","bad")
[1]
E=4
if E == 7:
    Print("Yes")
else:
    Print("No")
[1]
Y=0
E=""
while (Y<4):
    Y=Y+1
    E=E+"X"
Print(E)

[1]
Q=0
X=0
while (Q<8):
    Q=Q+1
    X=X+2
Print(Q+","+X)

[1]
VAR="9"
VAR="F"
Print(VAR)
[1]
def DoSum(A,VAR,Q)
    E=A + Q + VAR
    Print(E)

DoSum(4,6,7)
[1]