exercises

TDD Exercise Ideas

I am about to give a TDD workshop. I have the theoretical part pretty much sorted out, but I wish to avoid typical Tic-tac-toe, Currency or god forbid Calculator exercise. Any suggestions for a good TDD exercise that can be ideally finished in a couple of hours? It would be great if you could list the most important test cases (includi...

Erlang programming exercises

I'm learning Erlang. I've moved from Haskell so I don't want to and have to learn functional programming. But Erlang is quite specific because of the microprocesses. So, can you give me some examples which will be simple to test and measure and use all the power of Erlang? ...

I need help understanding what Exercise 5-12 is asking for in the C Programming Language book.

K&R C Programming Language: pg. 105 Extend entab and detab to accept the shorthand entab -m +n to mean tab stops every n columns, starting at column m. entab replaces a number of spaces with a tab character and detab does the opposite. The question I have concerns the tab stops and entab. I figure that for detab it's ...

Classic exercises for computer vision / image processing?

For a mentoring project, I am looking for an online repository of classic computer vision exercises, similar to Project Euler, but geared towards image processing problems that could be solved in MATLAB or OpenCV. Anyone have any ideas? ...

Design patterns exercises

Does anyone know of a website where I can found a collection of design patterns exercises? Thanks in advance. ...

Networking exercises

Are there any books or websites that have examples of protocol exercises, such as sliding window protocols and IP subnetting? ...

where can I get these kind of exercises to solve?

Recently I did a Java programming exercise successfully which was sent by a recruiting firm, The problem statement goes like this 'There are two text files FI(records abt files and directory information) and FS(containing blocks of data) which represent a file Index and file System respectively and I was supposed to write a static read ...

Programming Exercises for Learning Purposes?

Possible Duplicate: What are your programming exercises? Are there any programming exercises that apply to any language? Before I got my first job, I thought I knew C# pretty well, then I was thrown right into the deep end, and now I know I have a good command over the language. I would like to apply the same method to other ...

Dividing large integer by large integer

Guys I'm working on class called LINT (large int) for learning purposes, and everything went ok till know. I'm stuck on implementing operator/(const LINT&). The problem here is that in when I want to divide LINT by LINT I'm getting into recursive fnc invocation i.e: //unfinished LINT_rep LINT_rep::divide_(const LINT_rep& bottom)const {...

Where can I find some good graphics programming exercises?

I'm currently reading through Real-Time Rendering (3rd ed.) and I love the book, but there aren't any exercises. Where can I find some exercises to help solidify my grasp on the content? Edit: Real-Time Rendering is a heavily conceptual book; I'm looking for math exercises, not programming exercises. ...

help java matrix?

Hello everybody I need help, I got a problem with this matrix, I need to have it in this way: 1 2 3 4 = 10 2 4 6 8 = 20 3 6 9 12 = 30 4 8 12 16 = 40 But I have it in this way: 1 2 3 4 1 2 4 6 8 2 3 6 9 12 3 4 8 12 16 4 I dont know how can we do that, I intent but nothing This is my code: public class Matrix { public ...

Cannot be resolved or is not a field (Notepad exercises from android dev website)

I'm running through the notepad exercises on the android dev website, currently working on exercise (found here http://developer.android.com/resources/tutorials/notepad/notepad-ex2.html). I came to the end of the tutorial and found that I had several errors in the main two java files regaurding R file relations, such as 'setContentView(R...

What are good programming questions to exercise the use of "if ... else" in Python?

What would be a good set of programming exercises that would help Python newbies to learn the use of the "if ... else" construct? I could cook up the following, do you know of any more? Find the largest/smallest of three numbers. Given a date (year, month, day), find the next date. Most of the intended audience have not had much of a...

HTDP Exercise 6.6.1 - What does it mean by template functions?

Hi all I'm looking at Scheme at the moment for a bit of fun, using the "how do design programs" book. All pretty easy so far but ran into this odd wording in exercise 6.6.1 where I'm not clear what is intended: Develop the template fun-for-circle, which outlines a function that consumes circles. Its result is undetermined. One pos...

I need some simple logic/programming exercises for a junior programmer.

I'm currently teaching an employee ECMA script as it is needed in maintaining a workflow system we use and i need some challenges to use as exercises. We have covered most of the language and he is now pretty familiar with the syntax so i just need him to get using it. I need to provide him exercises which make him think logically. For...

Anyone know where I can find some good MATLAB exercises with solutions?

I've been looking around and I can find plenty of tutorials and videos, but I find that the best way to learn something is by working through practise problems. Even better when there are solutions. Something like projecteuler.net is good, but I need something which is more specific to MATLAB and will allow me to master all the basics o...

codingbat-like site for C++

Hi! Guys, I need to find a good site like codingbat to "learn again" C++. I learned it at school but then I've never used it seriously. I'm not looking for something like Project Euler because it focuses on math problems. I need something really focused on C++ principles, chacteristics and tools. ...

Give me some javascript exercises please

The best way I learn anything is by practice and exercise questions. Right now looking at getting familiar with javascript. I did some basic exercises , but am unable to find more on the internet. Can you people give me some questions to practice and learn javascript. Nothing complicated, just one liners would do. Example: "increase t...

Want to Join K&R Study Group?

Hello All, Someday I want to be a computer scientist. Right now I'm looking for a few good men, women, girls, boys, cats, dogs, fish ... anybody ... anybody? I've completed all the exercises in Chapter 1 of Kernighan & Ritchie's "The C Programming Language - ANSI C" (more or less independently) and wish to work through the rest of the ...

C Programming Exercises

Possible Duplicate: Where can I find C coding exercises to practice? I am learning c programming language and i need some exercises resources to practice from. ...