Coding Quiz
Level 3, 2025-12-08
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
F="b"
Q="C"
Print("F"+Q)
[1]
X="G"
Print(X)
[1]
Z="e"
VAR="A"
[1]
def DoSum(Z,B,F)
    A=F + Z - B
    Print(A)

DoSum(4,5,8)
[1]
A=0
Q=0
while (A<4):
    A=A+1
    Q=Q+9
Print(A+","+Q)

[1]
if (False and True):
    Print(1)
elif (False or True):
    Print(2)
else:
    Print(3)
[1]
Print("A")
#Print("B")
#Print("C")
[1]
Y=False
Q=True
if Y != False:
    Print(1)
elif Q != True:
    Print(2)
else:
    Print(3)
[1]
Q=True
A=True
if Q != False:
    Print(1)
elif A != True:
    Print(2)
else:
    Print(3)
[1]
VAR=True
Z=True
if VAR != True:
    Print(1)
elif Z != False:
    Print(2)
else:
    Print(3)
[1]
E="g"
Print(E)
[1]
VAR="D"
[1]
X="d"
B="d"
Print(B+X)
[1]
def DoSum(B,VAR,Y)
    F=VAR + B - Y
    Print(F)

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

[1]
X=5
if X < 1:
    Print("Yes")
else:
    Print("No")
[1]
Z="A"
A="c"
[1]
VAR=1
Print(VAR)

def MyFunction (VAR):
    VAR=VAR+1
    Print(VAR)

MyFunction(4)
Print(VAR+5)

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

Hello("Jenny","good")
[1]
def Hello(Z,type)
    if (type=="good"):
        Q="Hi "
    else:
        Q="Bye"
    Print(Q+" "+Z)

Hello("Flip","bad")
[1]