exercises

Exercise suggestions to help learn multi threading in C#

I want to get a good grasp of multi-threading in c#. I've read some articles that explain the concepts like Joseph Albahari's tutorials, but as you know no matter how much you read, most of it becomes rubbish if you don't practice. I need something that has instructive and pragmatic code examples related to real life practices, not some ...

Exercises for Regular Expressions?

Apart from what is available in the books about Regular Expressions, are there any web sites / blogs series / etc. with a bunch of exercises that are somehow more "real world" that the ones in most of the books? My specific problem is that currently I don't have specific needs / areas where I can exercise what I've learned about RegEx, ...

Dynamic/Static scope with Deep/Shallow binding (exercises)

I'm studying dynamic/static scope with deep/shallow binding and running code manually to see how these different scopes/bindings actually work. I read the theory and googled some example exercises and the ones I found are very simple (like this one which was very helpful with dynamic scoping) But I'm having trouble understanding how stat...

C : Dynamically storing strings (of dynamic sizes!)?

Am I missing something incredibly simple? because I can't seem to find a reason why my code isn't storing strings dynamically. All I get are blank lines when I print them at the end. Its supposed to print the last "n" lines of an arbitrary number of lines. There seems to be a problem with the storage of the actual lines though. Can anyon...

Using Hadoop map/reduce for programming language design course project

I need to design an exercise for my students in programming language design, My idea is help them to learn ideas in lisp, ML and other functional languages by force them to implement a mapreduce exercise with hadoop. Is here any suggestion that help me detail my idea? ...

Java Concurrency Exercises

Does anybody have suggestions for good resources and exercises on Java concurrency, particularly the new Java 5 constructs? They should have model answers ideally. I also found the following a number of good examples in State Models and Concurrency (Magee): http://www.doc.ic.ac.uk/~jnm/book/ ...