Coding Quiz
Level 3, 2026-06-20
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
A=6 if B != 8: Print("Yes") else: Print("No")
| [1]
|
|
|
def DoSum(X,Q,F) Y=Q * X + F Print(Y)
DoSum(2,8,5)
| [1]
|
|
B=7 E=8 if B != E: Print("Yes") else: Print("No")
| [1]
|
|
def DoSum(A,Z) F=A * Z return F
Q=DoSum(5,4) Print(Q)
| [1]
|
|
A=0 Z="" while (A<5): A=A+1 Z=Z+"X" Print(Z)
| [1]
|
|
if (False and True): Print(1) elif (False or True): Print(2) else: Print(3)
| [1]
|
|
|
X=0 Y=0 while (X<6): X=X+1 Y=Y+4 Print(X+","+Y)
| [1]
|
|
|
|
F=0 Z=0 while (F<9): F=F+1 Z=Z+8 Print(F+","+Z)
| [1]
|
|
VAR="C" VAR="3" Print(VAR)
| [1]
|
|
if True: Print(1) elif True: Print(2) else: Print(3)
| [1]
|
|
|
Q=3 Print(Q)
def MyFunction (Q): Q=Q+9 Print(Q)
MyFunction(9) Print(Q+3)
| [1]
|
|
|
def DoSum(Q,E,X) Y=E - X + Q Print(Y)
DoSum(6,9,8)
| [1]
|
|
def DoSum(VAR,X) E=VAR + X return E
Q=DoSum(5,8) Print(Q)
| [1]
|
|
def DoSum(VAR,B,A) X=B * A * VAR Print(X)
DoSum(2,5,5)
| [1]
|
|
|