Skip to content
/ Esame Public

Repository for programming lab exam at UniTs

Notifications You must be signed in to change notification settings

Fly7113/Esame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Esame

This repository contains the solution to the exam of the lab of the course "Indroduzione alla Programmazione" of the Bachelor's Degree in Artificial Intelligence and Data Analytics (AIDA) at the University of Trieste.

esame.py

The file esame.py contains an ExamException class, a CSVFile class, a CSVTimeSeriesFile class extending the CSVFile class and defining a method get_data and a function find_min_max.

test_esame.py

The file test_esame.py contains the tests for the esame.py file, using unittest.

data.csv and test.csv

The file data.csv contains the data used for the manual tests. The file test.csv contains the data used for the automatic tests done by unittest.

main.py

The file main.py contains the main function that reads the data from the file data.csv and prints the time series read from the csv file and the minimum and the maximum value months for each year, and executes the unittests.

About

Repository for programming lab exam at UniTs

Resources

Stars

Watchers

Forks

Languages