Coding Quiz
Level 3, 2026-08-15
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="b"
F="d"
Print(F+X)
[1]
Y="a"
Print(a)
[1]
def DoSum(VAR,E)
    Q=VAR + E
    return Q

A=DoSum(1,8)
Print(Q)
[1]
def Hello(B,type)
    if (type=="good"):
        Z="Hi "
    elif (type=="bad"):
        Z="Boo "
    else:
        Z="Bye"
    Print(Z+" "+B)

Hello("Mike","good")
[1]
def DoSum(X,E)
    F=X + E
    Print(F)

DoSum(8,8)
[1]
B=2
if B > 4:
    Print("Yes")
else:
    Print("No")
[1]
if True:
    Print(1)
elif True:
    Print(2)
else:
    Print(3)
[1]
def Hello(F,type)
    if (type=="good"):
        Z="Hi "
    elif (type=="bad"):
        Z="Boo "
    else:
        Z="Bye"
    Print(Z+" "+F)

Hello("Julie","ok")
[1]
E=False
B=True
if E == True:
    Print(1)
elif B != False:
    Print(2)
else:
    Print(3)
[1]
X=0
Z=1
while (X<5):
    X=X+1
    Z=Z*X
Print(Z)

[1]
VAR=False
B=False
if VAR == False:
    Print(1)
elif B != False:
    Print(2)
else:
    Print(3)
[1]
def Hello(E,type)
    if (!E) return
    if (type=="good"):
        X="Hi "
    elif (type=="bad"):
        X="Boo "
    else:
        X="Bye"
    return X + " " + E

Q = Hello("","good")
Print(Q)
[1]
A="9"
B="C"
Print(A+B)
[1]
VAR="D"
Print(D)
[1]
def DoSum(A,VAR)
    X=A * VAR
    return X

A=DoSum(8,4)
Print(A)
[1]
if (False and False):
    Print(1)
elif (False or False):
    Print(2)
else:
    Print(3)
[1]
F="6"
F="d"
Print(F+F)
[1]
Z="g"
Y="G"
Print(Z+"Y")
[1]
Y=0
while (Y<1):
    Y=Y+1
    Print("X")

[1]
F="D"
Print(D)
[1]