Programming I - Labs 2018/2019
Dates
Interesting
VisuAlgo - visualization of algorithms including AVL trees!
How to pass the labs
Submitting homeworks
Send me an email (jakub.gemrot@gmail.com) containing a link where I can download your homework / project.
Ideally use DropBox or One Drive or WeTransfer; from time to time I have problems downloading files from GDrive (they are having wild JavaScripting that gets blocked by my filters occasionally).
Always use subject: PRG1 - 2018 - L[lab number] - [homework name]
The subject is crucial! My mailbox is often overflowing and I have to process emails in batches - at these times, I'm searching for your homeworks via subject names.
Lab Tests
25.1.2019, SW2
18.1.2019, SW2
Labs History
Lab 10
Lab 09
19.12.2018
Recursion
No homework
Lab 08
12.12.2018
Dynamic variables, new/dispose, linked lists
Homework in the ReCodEx group (Big Numbers / Fakt dlouhá čísla)
Lab 07
4.12.2018
Arrays in Pascal, user types, record, passing the data via value and reference (var)
Homework in the ReCodEx group (Train and the Bridge / Po mostě má přejet vlak)
Lab 06
27.11.2018
We have been talking about functions building chain of functions and reusing them, showing the result of function signature changes and how to work around it
Tasks we have been working on, using only functions chr(x) and ord(x)
Is this input a natural number (0 included)?
Does this string contain a natural number (0 included)?
Does this string a whole number?
Homework
Lab 05
20.11.2018
We've been going through the 22 small programs and then we will be talking about string handling, procedures and functions
We touched string functions and procedures in Pascal
Lab 04
23.10.2018
So we have presented correct lower-estimate for sorting algorithms based on comparison of two numbers, yep O(N log N) is the best we can hope for
But only for a given assumptions, see
Counting Sort, for small range of natural numbers, you can have sort with time complexity O(N)! But it's not working in-place, what a pity.
Then I've been showing Pascal language, some bits of Lazarus, and we have a homework!
WARNING: 30.10. - immatriculation, 6.11. - Dean's day, 13.11. - I'm in Canada ;(
Lab 03
Lab 02
Lab 01