exercises

What are some interesting coding exercises?

How do you practice coding? I've seen the great CodeKata and also Steve Yegge's Practicing Programming. What are some more interesting exercises? ...

What are your programming exercises?

Do you have any programming "exercises" that you do in order to hone your programming skills? Anything from FizzBuzz to more complicated problems to get you thinking about real-life scenarios that you may encounter? ...

Interesting coding exercises for noobs

I am running a series of workshops for colleagues cross training to C#. The theory content is fine, but I am finding it hard to come up with interesting exercises for them to do. Anyone have an ideas or links to exercies that are simple enough for noobs, but interesting enough to keep their interest? ...

How to start coding the "Dining Philosophers Problem" simulation?

I'm not a beginner at C# but I really need to increase my understanding, so I've picked a classic deadlock problem to code to help teach myself some of the more advanced concepts of C#. The Dining Philosophers Problem seems like a good one, but I need a little help to get started. I know I need to approach the "diners" as objects, but ...

Where to practice Lambda function?

I am currently trying to learn all new features of C#3.0. I have found a very nice collection of sample to practice LINQ but I can't find something similar for Lambda. Do you have a place that I could practice Lambda function? Update LINQpad is great to learn Linq (thx for the one who suggest) and use a little bit Lambda in some expre...

What are some exercises you do to make you a better programmer?

Lately, I have taken to programming without a mouse to force myself to become more comfortable with different shortcuts. It's been a good exercise as I feel using shortcuts is essential for productivity . I figured I would ask if anyone else did the same types of things and could recommend other things to help improve my habits. ...

Classic programming exercises

I was looking for some good programming exercises for some mentoring. Something like: projecteuler.net: good for the mathematical side but somewhat abstract DNS client: good exercise + concrete technology understanding Sorry for asking this again. I did find this thread but I was hoping for something concrete. Preferably something sm...

Scaling exercises to practice

I was trying to find online some exercises to practice scaling techniques (memchached, SQL Optimization, sharding dbs), but I could only find descriptions of these techniques, not any project on which to try them. This link with slides on scaling techniques, is an interesting one, as it sums up some tools to achieve scalability quite we...

Where can I find a collection regular expression exercises for Perl?

I learned a lot of Perl RegEx syntax rules, but probably the only way to actually be able to write them is to do a bunch of 'RegEx' related exercises. I looked over the other "Learn RegEx" threads on StackOverflow, but haven't found anything similar. Is there any collection of such exercises? In form of book, HTML, with/without answers...

Interesting Programming Exercises/Problems?

What are some interesting programming exercises/problems? Also include the language (if relevant). ...

php exercises

Hi, I'm looking for exercises that will help me to learn php (complex loops, arrays, tricks etc) ...

How best to implement BCD as an exercise?

I'm a beginner (self-learning) programmer learning C++, and recently I decided to implement a binary-coded decimal (BCD) class as an exercise, and so I could handle very large numbers on Project Euler. I'd like to do it as basically as possible, starting properly from scratch. I started off using an array of ints, where every digit of t...

Programming exercises to learn a new language

I can not seem to find this exactly as a post, but what I am looking for is a list of exercises to help me get better at programming. Like Fibonacci sequences, temperature conversions, etc. A website would be great. Thanks for any help. ...

Tips and exercises for caring for your hands over time?

I've noticed lately after ten years as a full-time programmer/computer user ( and hobby guitarist ) that my hands are starting to get a bit tight in certain movements. I'm sure this is a matter of having been doing the same things with them for many years, but as I understand it this pattern is one that is likely to result in arthritis i...

Intermediate C++ Exercises

I'm looking for interesting exercises to code that would be suitable for an intermediate level c++ programmer. I know that the 'term' intermediate covers a lot of ground and varies from person to person but just post what you think would fall into the category. Thank you. ...

noob project to learn Spring/Hibernate

I want to get my feet wet with Spring/Hibernate. But I think I move along faster and am more motivated if I am working with code rather than just reading a book chapter by chapter. Does anyone have any good ideas for a home project to work on to learn these technologies? Any exercises that you might have worked on and thought useful? O...

Bjarne's new book - anyone done the exercises?

I'm doing the exercises in Stroustrup's new book "Programming Principles and Practice Using C++" and was wondering if anyone on SO has done them and is willing to share the knowledge? Specifically about the calculator that's developed in Chap 6 and 7. Eg the questions about adding the ! operator and sqrt(), pow() etc. I have done these b...

What is a good way to conduct a Group Kata?

I'd like to conduct a group Kata session, to get my software developer group to pick up the practice. I'm thinking of giving some of the sample problems out there, and splitting the group into two teams. The solutions may be developed in different languages. Would it be more fun and educational to structure this as a contest? What ar...

What are some helpful tools, excercises, etc. to teach an apprentice C#?

I'm bringing on an apprentice to help with my firm, and I'm about to start teaching him C#. I'm trying to find any tools, excercises, book, etc. that can aid in helping him learn C#. I'm willing to invest to a certain degree, so anything that is commercial may also be viable. This is to apprentice someone who is in the college years...

Where can I find C coding exercises to practice?

Tutorials are a dime a dozen, but I'd like to find a list of exercises online that I could attempt to practice what I'm learning. The sort of things that start with "Write a program to..." I'm an absolute beginner, so basic exercises increasing in difficulty would be great. ...