Programming II - Workshops 2014/2015

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

Monday's workshops, 15:40, SW1, Jakub Gemrot: jakub.gemrot@gmail.com

How to pass the practice

  • You have to either:
    1. Obtain 170 points from workshops
    2. Obtain at least 145 points + do an extra workshop (exam) during 25.5.
  • You can get points by:
    1. Attending workshops and writing quick tests at their beginning
    2. Doing homeworks (and submitting them to CoDex)
  • Details can be read within this XLSX

Workshops: Future

Workshops: History

Workshop 12 (PPTX), (PDF) (11.5.2015, 15:40)

  • Graph Algorithms
    • Component labeling, Transition closure, Kruskal's algo, “Sringy” algo for graph layouting
  • Assignment
    • Implement “Springy” algo
    • Implement component labeling + Transition closure (using Visitor pattern)
    • Bonus: implement Kruskal's algo
    • 10 points + 5 (Kruskal) + 3 (meeting the deadline)

Workshop 11 (PPTX), (PDF) (4.5.2015, 15:40)

  • Test Driven Development
  • Assignment
    • Provide complete code coverage for Heap class
    • Are there any bugs?
    • 10 points + 3 (meeting the deadline)

Workshop 10 (PPTX), (PDF) (27.4.2015, 15:40)

  • Extreme Programming
  • 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
    • 10 + 5 points

Workshop 9 (PPTX), (PDF) (20.4.2015, 15:40)

  • Graphics, WinForms, Exceptions, Lot of fun!
  • And two cool assignments to fight with!
    • Sierpinsky Triangle
    • Surprise! :-)
      • 30 + 15 points
  • Some article about GDI objects in C# and why you have to dispose them

Workshop 8 (PPTX), (PDF) (13.4.2015, 15:40)

  • Dynamic Programming
  • No assignment today, you have one more week to polish your simulations!

Workshop 7 (PPTX), (PDF) (30.3.2015, 15:40)

  • 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) (16.3.2015, 15:40)

  • Theme Hospital Lite!
  • Assigment 6
    • Start implementing discrete simulation of the hospital

Workshop 5 - (PPTX), (PDF) (16.3.2015, 15:40)

  • 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) (9.3.2015) Test links included

  • Snake Revisited
    • 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+6 points in total!

Workshop 3 - (PPTX), (PDF) (6.3.2015) 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!
      • You won't find the assignment inside CodEx … here we're creating the real game ;)
    • 10+3 points

Workshop 2 - (PPTX), (PDF) (16.2.2015) Test links included

  • C#, OOP, UML introduction
    • Visual Studio 2013 basics
    • Variables, Functions
    • Console and Reading, Writing
  • Assigment 2
    • See CodEx tasks 2.1 and 2.2
    • 5+5 points

Workshop 1 - (PPTX), (PDF) (16.2.2015) 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 – 2015 – Assignment 01
    • Content:
      • Your name
      • Your CUNI number
      • Your CoDex nick
    • 5 points + Workshop URL + Access to scoring sheet
programming_ii_2014-15_summer_term.txt · Last modified: 2015/05/11 20:49 by jakub.gemrot