Programming II - Labs 2016/2017

This page contains materials for the practice lessons of the Programming II (NPRG031) course that is being/has been taught during summer term 2016/2017 at Charles University in Prague, Czech Republic. The course official web page is/was to be found at Martin Pergl and Tomáš Holan. The practice lessons (labs) are/were backed by many, for this group, concretely, by Jakub Gemrot

Dates

Tuesdays's labs, 12:20, SW1, Jakub Gemrot: jakub.gemrot@gmail.com

How to pass the labs

  • Obtain 180 points from labs
    • You can get points by:
      1. Attending workshops and writing quick tests at their beginning
      2. Doing homeworks (and submitting them to CodEx or me)
    • Details can be read within this spreadsheet (GDrive)
    • Note that some homeworks will have STRICT deadlines, some of them will be quite relaxed…
  • Pass lab exam (15. / 22. 5. 2017)
  • Come up with semester project and deliver
    • Idea deadline: 11.4.2017
    • Description deadline: 2.5.2017

Labs: History

Lab 12 (PDF) (9.5.2017)

  • Minimax
    • How to play 2-player games
  • Assignment
    • Create AI player for TicTacRow (…Col…)
    • 10 points
    • DEADLINE: not really … 30.9.2017 23:59 … be reasonable!

Lab 11 (PDF) (2.5.2017)

  • 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
    • Have you found any bugs in there?
    • 10 points + 3 (meeting the deadline)
    • DEADLINE: 16.5.2016 23:59

Lab 10 (PDF) (25.4.2017)

  • 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 points, even after deadline + 5 bonus points (meeting the deadline)
    • DEADLINE: 9.5.2017

Lab 09 (PDF) (18.4.2017) Test links included

  • GDI+ and cool stuff!
  • Assignments
    • 9.1 Drawing Sierpinsky Triangle
      • 5 points
      • STRICT DEADLINE: 24.5.2017 23:59, no points after deadline
    • 9.2 Graph algorithms
      • Springy: 10 points
      • Optional - Component labeling: 5 bonus points
      • Optional - Graph transitive closure: 5 bonus points
      • Optional - Minimum spanning tree: 5 bonus points
      • STRICT DEADLINE: 24.5.2017 23:59, no points after deadline
    • 9.3 “3D” “Engine”

Lab 08 (PDF) (11.4.2017) Test links included

  • Dynamic programming!
  • Problems were/will be solved in the lab

Lab 07 (PDF) (4.4.2017) Test links included

  • C# Method Quiz - check how much you do know about method declaration and inheritance
  • Assignment 6
    • Implement ThemeHospital Simulation!
    • Points: 20
    • DEADLINE: not really … 30.9.2017 23:59 … be reasonable!

Lab 06 (PDF) (28.3.2017) Test links included

  • Assignment 5
    • Implement ThemeHospital navigation!
    • Examples of inputs (the same as in Assignment 4)
    • Points: 10
    • DEADLINE: not really … 30.9.2017 23:59 … be reasonable!

Lab 05 (PDF) (21.3.2017) Test links included

  • Assignment 4

Lab 04.5

Lab 04 - (PDF) (14.3.2017) 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
    • Link contains some answers for Test 04 (in the form of C# projects) as well as examples of two extra UML diagrams
  • Assignment 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
    • DEADLINE: not really … 30.9.2017 23:59 … be reasonable!

Lab 03 - (PDF) (7.3.2017) Test links included

  • C# and OOP - Gentle Introduction

Lab 02 - (PDF) (28.2.2017) Test links included

  • C# and OOP - Gentle Introduction
    • C#, OOP, UML introduction
    • GameBook assignment
        • note that books full text were scrapped by OCR, they contain errors
        • you have to send me an assignment with 3 books of your choice that you can load
        • you can adjust full texts as much as you want as long as you preserve the book contents (manual fixing is possible)
      • 10 points
      • STRICT DEADLINE: 6.3.2017 23:59, no points after deadline

Lab 01 - (PDF) (21.2.2017) 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 – 2017 – Assignment 01
    • Content:
      • Your name
      • Your CUNI number
      • Your CoDex nick
    • 5 points + Lab URL + Access to scoring sheet
    • STRICT DEADLINE: 27.2.2017 23:59, no points after deadline
programming_ii_2016-17_summer_semester.txt · Last modified: 2017/05/09 11:24 by jakub.gemrot