Laboratory works on the subject "Programming (C language)" at ITMO
Lab 1 - Task [WordCount Utility]
The task is to write a WordCount utility. The program counts the number of lines and words in the file and displays file's size in bytes.
Lab 2 - Task [uint1024_t type]
The task is to write a uint1024_t type. The program reads and outputs a long number, forms uint1024_t from int, adds, subtracts and multiplies numbers of uint1024_t type.
Lab 3 - Task [Analysis of NASA server logs]
The task is to prepare a list of requests that ended in 5xx error, with number of failed requests, and to find the time window (with duration parameterized) when the number of requests to the server was maximum.
Lab 4 - Task [Mp3 file meta-information editor]
The task is to write 3 commands to work with the mp3 meta-information: show, get and set.
- show - displays all meta-information in the form of a table
- get=prop_name - displays a specific field of meta-information named prop_name
- set=prop_name value=prop_value - exposes the value of a specific meta-information field named prop_name in prop_value
Lab 5 - Task [Conway's Game Of Life]
The task is to write Conway's Game Of Life. The program (in addition to a .py program that collects all bmp files into one gif) outputs gifs with gradiented lifes and bug (feature) gifs that have glitches and explosions.
Sample BMP | Example | Glitch Example |
---|---|---|
The task is to write an archiver. The program creates an archive with files, extracts files from an .arc archive and outputs a list of files in an archive.