Programming II - Workshops 2015/2016
This page contains materials for the practice lessons of the Programming II (NPRG031) course that is being/has been taught during summer term 2014/2015 at Charles University in Prague, Czech Republic. The course official web page is/was to be found here. The lecturer is/was Tomáš Holan. The practice lessons (workshops) are/were backed by many, for this group, concretely, by Jakub Gemrot
Dates
Thursday's workshops, 14:00, SW2, Jakub Gemrot: jakub.gemrot@gmail.com
How to pass the practice
- You have to either:
- Obtain 200 points from workshops
- Obtain at least 170 points + do an extra workshop (exam) during 18. / 25.5.
- You can get points by:
- Attending workshops and writing quick tests at their beginning
- Doing homeworks (and submitting them to CoDex or me)
- Details can be read within this XLSX
Workshops: History
Workshop 12 (PPTX), (PDF) (19.5.2016)
- Graph Algorithms + “3D” Engine
- Assignment
- Graph algorithms
- 10 points
- 5 bonus points for meeting deadline (31.5.2016)
- “3D” Engine
- 30 + 15 points
- Brace up for Final test next week!
Workshop 11 (PPTX), (PDF) (12.5.2015, 14:00)
- Test Driven Development
- What is TDD, why we should do it, how to do it in C#
- Assignment
- Provide complete code coverage for Heap class
- Are there any bugs?
- 10 points + 3 (meeting the deadline)
Workshop 10 (PPTX), (PDF) (5.5.2016, 14:00)
- Extreme Programming
- Pair programming in practice
- Workshop template for “Fixed Layout Tree”
- Assignment
- Continue with the code you have created during the workshop
- Implement flexible layouting of the tree and a way to add multiple numbers at once
- Deadline: 12.5.2016
- 10 points + 5 bonus points (meeting the deadline)
Workshop 9 (PPTX), (PDF) (24.4.2016, 14:00)
- Graphics, WinForms, Exceptions, Lot of fun!
- And two cool assignments to fight with!
- Sierpinsky Triangle
- 5 points
-
- Some tricks how to handle resizing / start drawing
- Graph algorithms
- Component labeling (5 points)
- Transitive closure (5 points)
- Minimum spanning tree (5 bonus points)
- 10 + 5 points
- Some article about GDI objects in C# and why you have to dispose them
Workshop 8 (PPTX), (PDF) (21.4.2015, 14:00)
- Dynamic Programming
- No assignment today, you have one more week to polish your simulations!
Workshop 7 (PPTX), (PDF) (14.4.2016, 12:20)
- Theme Hospital Lite!
- Assigment 7
- Finish the implementation of the discrete simulation
- Create a program that can read “from the file” and outputs to file.
- 30 points + up to 10 bonus points for the best solutions!
- Example inputs
- Small change: TIME spearator is '.' instead of ':' …
Workshop 6 (PPTX), (PDF) (8.4.2016, 14:00)
- Theme Hospital Lite!
- Assigment 6+7
- Start implementing discrete simulation of the hospital
Workshop 5 - (PPTX), (PDF) (4.4.2016, 17:20)
- Theme Hospital Lite topic introduced
- Assigment 5
- Navigating around the hospital
- Input files as well as detailed description can be downloaded here
- Create a program that can read “from the file” and outputs to Console.
- 10 points
Workshop 4 - (PPTX), (PDF) (24.3.2015) No-Test links included
- Snake Reloaded
- OOP hints
- Assigment 4
- See the slides … create Snake game!
- You won't find the assignment inside CodEx … here we're creating the real game ;)
- 10+3 points … so its 20+3 points in total!
Workshop 3 - (PPTX), (PDF) (10.3.2016) Test links included
- Snake Unleashed
- We're going to create a simple text-based “Snake” game in here
- Practicing OOP while using C# language
- Console magics, Time
- Assigment 3
- See the slides … create Snake game stub according to UML!
- You won't find the assignment inside CodEx … here we're creating the real game ;)
- 10 points
-
- Link contains some answers for Test 03 (in the form of C# projects) as well as examples of two extra UML diagrams
Workshop 2 - (PPTX), (PDF) (3.3.2016) Test links included
- C#, OOP, UML introduction
- Visual Studio 2013 basics
- Variables, Functions
- Console and Reading, Writing
- Be sure to practice VS2015 keyboard shortcuts
- Assigment 2
- See CodEx tasks 2.1 and 2.2
- 5+5 points
Workshop 1 - (PPTX), (PDF) (25.2.2016) Test links included
- Programming I Revisited - Part 1
- Simple Pascal program with twists
- Recursion - HaNoi
- C# program :-b
- Robot in 3D
- Assigment 1
- Send me an email to jakub.gemrot@gmail.com
- Subject: Programming II – 2016 – Assignment 01
- Content:
- Your name
- Your CUNI number
- Your CoDex nick
- 5 points + Workshop URL + Access to scoring sheet