Well House Consultants
You are on the site of
Well House Consultants
Open Source Training Courses
hotel accommodation. You are welcome to browse and use
our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Well House Manor Resources
Object Orientation and General topics
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
C and C++ Resources
Web and Intranet Resources
Object Orientation and General technical topics module Q904
Analysing a Programming Task
Exercises, examples and other material relating to training module Q904. This topic is presented on public courses Learning to program in Python
, Learning to Program in Java
, Technology Background for PHP
A module for newcomers to programming, no matter what language they're learning. A "Hello World" program may be easy to understand, but once you get variables, expressions, loops and conditionals involved too, perhaps nested inside one another, it's another matter. This module introduces some basic design ideas such as flowcharting, and shows you how to convert a flowchart into a program.
|Articles and tips on this subject||updated|
|3895||Flowchart to program - learning to program with Well House|
Drawing a flowchart is how many people understand a process; it's something that's been used in schools and textbooks for many generations, and it provides a graphic representation of choices and actions that most people find easy to follow.
For newcomers to programming, such as on my Learning to program ...
|3461||From flowchart to program - code design for the newcomer|
We're all used to seeing little flow chart diagrams on instrtuction sheets and in books - telling us things like whether we should call the doctor for our sick child, or let him/her sweat it out. So - for newcomers to programming - flowcharts are a natural way of drawing out what the program needs to ...
|3366||Specification, Design, Implementation, Testing and Documentation - stages of a (Java) programming project|
There are two key factors in writing even a simple program - working out what you want to do / how you're going to do it, and then actually doing it in the language of your choice. Call the two phases "design" and "implementation" if you like.
The design phase can be very much more 'free format' - ...
|3329||Perl from basics|
It's refreshing to teach Perl to a class of bright but brand new programmers, which I'm doing in Edinburgh this week. For a class on novices really make me think "why" at some of the aspects us old hacks take for granted. And - yes - I'm delighted to step back to the basics and explain.
Along these ...
|2834||Teaching examples in Perl - third and final part|
Three part article ... this is part 3. Jump back to part  
Following on from two earlier posts, here is the final third of the new examples that I wrote during last week's Perl course, and to which I have added extra documentation over the last couple of days.
P212 More on Character Strings
|1853||Well structured coding in Perl|
Write a small code utility - a few lines - and you can simply start at the top and work through to the bottom. But as the code increases in length, you're going to want to take out common code and put that code into named blocks that can be re-used. Extending this technique, you can break all your code ...
|2715||Uploading an image, document or pdf via a browser (php)|
One of the most popular scripts on our web site is a demonstration, with full source code, of how you can upload data from a browser, store it into a MySQL database, pull it back from that database, and display it within a new or future response pages.
But there's a lot of steps in that upload - store ...
When I travelled from home to Saudi Arabia in May, 2006, I planned ahead. Flights were booked, course manuals printed, Visa obtained, contacts established, deposit paid (to us for courses), travel insurance in place before I even left home. "Of Course" or "Prudent", I expect you'll say. And I agree ...
|1513||Perl, PHP or Python? No - Perl AND PHP AND Python!|
"Which language is best for xxx task" I am often asked. And I'll listen to the questioner's description of his application, his background, and the sort of support he'll have at his place of coding before coming up with a suggestion. Never would I suggest he learn all three.
And yet, today, I found ...
|1850||Daisy the Cow and a Pint of Ginger Beer|
One of the trickiest aspects of learning for newcomers to programming is to know when to split out parts of their code into named blocks. Newcomers can easily see that it's a good idea - as it means that code can be tested in smaller chunks, and that code can be shared (reused) - but it's not always ...
|1607||Learning to program in Perl|
For the last few days, I've been teaching Learning to Program in Perl. Unlike a conventional course style, for this one I had been asked to assume no prior programming knowledge, and covered first principles such as variables, conditionals, and loops.
Here is one of the examples I wrote during the course ...
|1345||Perl and Shell coding standards / costs of an IT project|
There are three major staff costs in the life of an IT project - the specification and development of the system, the maintainance and upgrading of the system though its life, and the investment that's made in data entry and integrity through the life of the system. And although there's a lot of thought ...
|747||The Fag Packet Design Methodology|
Old fashioned engineering - in the Midlands of England. Imagine the scene as some widget or other was designed at the turn on the last century. Chimneys belching smoke out over the "Black Country", and workers belching smoke out from their Players, Marlboro or Senior Service.
I've oft heard the term ...
Examples from our training material
|Trainlength.java|| Analysing a problem - how long a train?|
|summer|| Planning a simple application - the result|
|tconv.c|| Well Structured program in C. Read / calc / report|
|topd|| Top down design - first example in Perl|
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from http://www.training-notes.co.uk
Topics covered in this module
A small job.
Learning about the job.
Working it out.
As a job gets larger.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.