Coding Quiz
Level 3, 2026-11-07
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="a"
VAR="b"
Print(VAR+F)
[1]
def DoSum(Y,E,A)
    VAR=E + A + Y
    Print(VAR)

DoSum(6,4,7)
[1]
VAR=0
X=1
while (VAR<4):
    VAR=VAR+1
    X=X*VAR
Print(X)

[1]
E="a"
Z="f"
Print(E+"Z")
[1]
def Hello(Z,type)
    if (!Z) return
    if (type=="good"):
        F="Hi "
    elif (type=="bad"):
        F="Boo "
    else:
        F="Bye"
    return F + " " + Z

Y = Hello("Melissa","bad")
Print(Y)
[1]
A="B"
Print(B)
[1]
Q="4"
Q="a"
Print(Q)
[1]
F=0
while (F<0):
    F=F+1
    Print("X")

[1]
def DoSum(B,Q,Y)
    VAR=Y * Q * B
    Print(VAR)

DoSum(2,1,9)
[1]
def Hello(Y,type)
    if (!Y) return
    if (type=="good"):
        F="Hi "
    elif (type=="bad"):
        F="Boo "
    else:
        F="Bye"
    return F + " " + Y

B = Hello("ok","Octavian")
Print(B)
[1]
B=4
Print(B)

def MyFunction (B):
    B=B+5
    Print(B)

MyFunction(7)
Print(B+4)

[1]
def DoSum(E,Z,A)
    X=E + Z + A
    Print(X)

DoSum(5,5,6)
[1]
def DoSum(A,Y)
    VAR=A - Y
    return VAR

DoSum(1,6)
Print("VAR")
[1]
X="8"
X="d"
Print(X)
[1]
def Hello(Y,type)
    if (type=="good"):
        X="Hi "
    else:
        X="Bye"
    Print(X+" "+Y)

Hello("Mike","good")
[1]
Z=4
if Z > 8:
  Print("Yes")
else:
  Print("No")
[1]
def Hello(Q,type)
    if (type=="good"):
        VAR="Hi "
    else:
        VAR="Bye"
    Print(VAR+" "+Q)

Hello("Mike","bad")
[1]
E=2
X=9
Z=E * X
Print(Z)
[1]
def Hello(Z)
    Y="Hi " + Z
    Print(Y)

Hello("Melissa")
[1]
B=1
B=3
if B != B:
    Print("Yes")
else:
    Print("No")
[1]