Coding Quiz
Level 2, 2026-09-22
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
B="e"
B="8"
Print(B)
[1]
VAR="d"
Print(d)
[1]
A=9
if A >= 4:
  Print("Yes")
else:
  Print("No")
[1]
F="a"
VAR="B"
Print(F+VAR)
[1]
def Hello(B)
  E="Hi " + B

Hello("Octavian")
[1]
Q=9
F=9
if Q > F:
    Print("Yes")
else:
    Print("No")
[1]
def DoSum(E,A)
    Q=E * A
    return Q

VAR=DoSum(1,2)
Print(VAR)
[1]
Print("A")
Print("B")
Print("C")
[1]
VAR="D"
Print(VAR)
[1]
Q="f"
Print(f)
[1]
VAR="E"
[1]
def DoSum(B,Y)
    X=B + Y
    return X

Z=DoSum(6,3)
Print(X)
[1]
Q="D"
Print("Q")
[1]
Z="6"
Z="B"
Print(Z)
[1]
Z=3
A=2
Y=Z - A
Print(Y)
[1]
X="A"
Print(A)
[1]
Y="C"
A="g"
[1]
def Hello(B)
    Q="Hi " + B
    Print(Q)

Hello("Missy")
[1]
def DoSum(Q,B)
    Z=Q * B
    return Z

Q=DoSum(9,7)
Print(Z)
[1]
def Hello(Y,type)
    if (!Y) return
    if (type=="good"):
        B="Hi "
    elif (type=="bad"):
        B="Boo "
    else:
        B="Bye"
    return B + " " + Y

VAR = Hello("","ok")
Print(VAR)
[1]