Coding Quiz
Level 3, 2024-11-25
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="G"
F="4"
Print(F)
[1]
def DoSum(Q,B,VAR)
    F=B - Q - VAR
    Print(F)

DoSum(5,2,2)
[1]
Q=5
Y=7
B=Q - Y
Print(B)
[1]
E="2"
VAR="G"
Print(E+VAR)
[1]
X=8
if Q == 5:
    Print("Yes")
else:
    Print("No")
[1]
def Hello(B)
    Q="Hi " + B
    Print(Q)

Hello("Mike")
[1]
VAR=3
if VAR != 2:
  Print("Yes")
else:
  Print("No")
[1]
Z=True
B=False
if Z != True:
    Print(1)
elif B != False:
    Print(2)
else:
    Print(3)
[1]
E=0
Q=0
while (E<8):
    E=E+1
    Q=Q+9
Print(E+","+Q)

[1]
if True:
    Print(1)
elif True:
    Print(2)
else:
    Print(3)
[1]
VAR="f"
Z="G"
Print(VAR+"Z")
[1]
#Print("A")
Print("B")
Print("C")
[1]
def DoSum(X,Q,F)
    B=Q + F - X
    Print(B)

DoSum(4,9,1)
[1]
Y=0
X=1
while (Y<4):
    Y=Y+1
    X=X*Y
Print(X)

[1]
B=True
F=False
if B == False:
    Print(1)
elif F == True:
    Print(2)
else:
    Print(3)
[1]
Y=6
B=2
VAR=Y - B
Print(VAR)
[1]
def DoSum(A,Y)
    VAR=A + Y
    return VAR

E=DoSum(7,3)
Print(VAR)
[1]
def Hello(E,type)
    if (type=="good"):
        Y="Hi "
    else:
        Y="Bye"
    Print(Y+" "+E)

Hello("Jenny","bad")
[1]
def DoSum(Y,VAR)
    Z=Y - VAR
    return Z

Q=DoSum(2,8)
Print(Z)
[1]
def DoSum(E,A)
    F=E + A
    return F

DoSum(4,5)
Print(F)
[1]