Re: Programming problems

From: rossum (rossum48_at_coldmail.com)
Date: 08/04/04


Date: Wed, 04 Aug 2004 21:14:10 +0100

On 4 Aug 2004 03:45:25 -0700, prashanthellina@gmail.com (Prashanth
Ellina) wrote:

>Hi people,
>
>I intend to create tutorial that seeks to teach programming by
>example. I plan to handle languages like C, C++, Python, Basic, Java
>etc.
>
>Can someone suggest a list of programming problems that can be used as
>examples. The list should try to cover most language constructs so as
>to give a quick feel of the language to the learner.
>
>The following are some that I had in mind
>1) Find prime numbers between 1 and 100
>2) Matrix multiplication
>3) Fibonacci series
>4) Greatest of N numbers
>5) Bubble sort
>6) ... Hoping you guys can give more
>
>Thanks a lot in advance,
>Prashanth Ellina
>prashanthellina AT gmail dot com

You do not say what type of person you plan to teach. If you are
teaching complete beginners then you will need problems like:

"Enter five numbers and dislay the largest and smallest."

The kinds of problems generally suggested so fsar are not for complete
beginners.

rossum

--
The ultimate truth is that there is no Ultimate Truth