Skip to content

Day 20 / Mar 28 (Mon)

Pair Programming

Pair programming

Roman to Arabic Numeral Converter

(Before lunch)

Create a brand new project for a command-line application that converts a Roman number to the corresponding Arabic number and vice versa.

  1. The application should accept an option to indicate "direction", i.e. from Roman to Arabic or the opposite.

    1. Advanced version: Let the application determine it
  2. The application should take a string of numerals on command line until a user exits

  3. Publish the project to GitHub and announce on slack


Working in pairs1:

Language Teacher

(After lunch)

Create a new project for a command-line application that teaches a language (e.g. English).

The application works with a dictionary file that stores translations. The file is loaded at the startup and updated with new translations at shutdown (exit).

The application uses another file for a user score. The file contains words, how often they were asked for and the ratio of successful answers.

The application is meant to ask words to translate from Polish to English and vice versa and score answers (a success = 1 or a failure = 0).

Words with lower score should be asked more often (e.g. twice as often as others).

Publish the project to GitHub and announce on slack.


Working in pairs1:

  • (ania, janek)
  • (daniel, leo)
  • (rafal, adam)
  • (damian, mateusz)
  • (grzegorz, krzysiek)

Schedule

  1. 8:30 - 8:45 Status Call / Intro
  2. 8:45 - 11:45 Pair programming
  3. 11:45 - 12:00 Status Call
  4. 12:00 - 12:45 Lunch break
  5. 12:45 - 1:40pm Status Call
    • Live-coding session (45')
    • Introduction to the next exercise (10')
  6. 1:40pm - 2:20pm Pair programming
  7. 2:20pm - 2:30pm Status Call / Outro

  1. The story, all names, characters, and incidents portrayed in this production are fictitious. No identification with actual persons (living or deceased), places, buildings, and products is intended or should be inferred. (cf. All persons fictitious disclaimer

Back to top