IMI Info1 - Tutorium WS22 - Collections, Loops & the Clock Lab

  • 127 views

  • 0 favorites

Today we went over Collections like Arrays (more on that later, I felt it was better to start with them, as they are very common), Arraylists and what they are used for. Then we went over the types of loops, when to use which... it got a bit messy, but I hope it worked out finally. We briefly went over Method chaning, the small pros and major cons! And in the end talked about the neck-breaking Clock Lab - it is one of the harder ones, don't worry too much after this!
PS: I forgot to answer a question on iterators and wanted to touch autoboxing. Click here to see a video on that!

00:00:00 - Intro & Questions
00:05:40 - Collections
00:08:10 - Basic idea of arrays
00:11:25 - Flexible arrays: ArrayList
00:18:20 - Loops & Iterations
00:20:15 - Definite loops
00:22:25 - Indefinite loops
00:23:35 - Lengthy explanation on difference & usage
00:31:30 - Rule of Thumb
00:33:55 - While loop
00:47:15 - For Loop
00:53:00 - For-Each Loop
00:56:00 - Usage of For-Each
01:02:40 - Method chains
01:08:30 - Outro
01:09:40 - Redo your old codes
01:11:45 - Lab 3: Rock around the Clock
01:12:50 - Task 2, How it works
01:15:13 - Play with objects in BlueJ
01:16:05 - Separation of Concerns & responsibility
01:17:55 - Task 3, US & International Clock
01:18:25 - Bashing the USA & their "metric" values :D
01:19:55 - Testing the US clock
01:21:31 - Errors & overload constructors
01:23:25 - Edge case testing & showing in BlueJ
01:26:25 - State checking, with 2 values ;)
01:28:47 - Task 4, the other implementation
01:32:25 - Task 6, add an alarm function
01:36:30 - Further questions, maning booleans
01:39:25 - The advantage of parameters
01:42:55 - The game lab exercise/exam
01:45:20 - Ask questions in Moodle!

Tags:

Mehr Medien in "Medieninformatik"