Coding Quiz
Level 3, 2026-03-03
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
def Hello(B,type)
    if (type=="good"):
        Z="Hi "
    elif (type=="bad"):
        Z="Boo "
    else:
        Z="Bye"
    Print(Z+" "+B)

Hello("Flip","ok")
[1]
Z=8
if Q >= 9:
    Print("Yes")
else:
    Print("No")
[1]
def DoSum(A,VAR)
    E=A * VAR
    return E

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

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

A=DoSum(9,4)
Print(E)
[1]
def Hello(Q)
  A="Hi " + Q

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

Hello("Missy","ok")
[1]
B="4"
B="A"
Print(B+B)
[1]
def DoSum(Z,F)
    Q=Z * F
    return Q

B=DoSum(1,7)
Print(B)
[1]
X="e"
B="D"
Print(X+"B")
[1]
Z="G"
Print(Z)
[1]
F="E"
F="7"
Print(F)
[1]
E="g"
A="f"
[1]
def Hello(X,type)
    if (!X) return
    if (type=="good"):
        Z="Hi "
    elif (type=="bad"):
        Z="Boo "
    else:
        Z="Bye"
    return Z + " " + X

Y = Hello("bad","Melissa")
Print(Y)
[1]
Q="F"
Print(F)
[1]
Y="4"
Y="e"
Print(Y+Y)
[1]
Print("A")
#Print("B")
#Print("C")
[1]
Y="B"
[1]
A="a"
F="B"
Print(A+"F")
[1]