.. include:: ../../_common/header.rst CAT #3: Lists ============= :Date: Nov 14th, 2024 :Duration: 70 min :Course: 2024-25 :Grade: GTIAE :Org: ETSEIB school, Computer Science dept., UPC :Copyright: `Creative Commons BY-SA 4.0 DEED `_ Problems -------- .. toctree:: tanks tank_sorting numindex selnorm The relative weights for the grade are 40%, 20%, 20% and 20% respectively. The last problem is computed to improve the grade only. Hence, being *gX* the grade of problem X, the exam grade will be: .. math:: max(0.5*g1 + 0.25*g2 + 0.25*g3, 0.4*g1 + 0.2*g2 + 0.2*g3 + 0.2*g4) Solutions --------- - :download:`tanks.py ` - :download:`tank_sorting.py ` - :download:`numindex.py ` - :download:`selnorm.py ` Tests ----- - :download:`tests123.txt ` - :download:`tests4.txt `