Training, Open Source Programming Languages

This is page

Our email: • Phone: 01144 1225 708225

For 2021 - online Python 3 training - see ((here)).

Our plans were to retire in summer 2020 and see the world, but Coronavirus has lead us into a lot of lockdown programming in Python 3 and PHP 7.
We can now offer tailored online training - small groups, real tutors - works really well for groups of 4 to 14 delegates. Anywhere in the world; course language English.

Please ask about private 'maintenance' training for Python 2, Tcl, Perl, PHP, Lua, etc.

Some tasks have a natural positive harmony; I find that's the case with training where an enthusiastic tutor, trainees who are attending because they want to learn, a good piece of software as the subject for the course, and a quiet and well thought out learning environment all contribute to a positive and enjoyable experience for everyone ... with any little glitches rapidly being corrected by the natural balance I'm talking about.

With the right approach, a sales deal can work with the same harmony. A product offered at a sensible price by a supplier that knows his product, and to a prospective customer who requires a product such as the one that's on offer. An ability for both seller and customer to listen to the customer's needs and the product on offer in detail, and to marry the two - perhaps with a little bit of flexibility and tailoring all around - to produce the right result for everyone.

Other tasks, alas, don't have that same natural harmony. At times, it's very hard for potential trainees to know whether they should book on beginner or intermediate, or intermediate or advanced courses ... and about 4 years ago we came up with a "quiz" tools where people could test our their knowledge online to get a flavour for their level. Alas, experience showed that the natural harmony wasn't there. People failed to celebrate getting 12 out of 15 questions right and rather grouched at getting 3 out of 15 wrong and, looking for "why" sometimes felt that these questions were poorly worded, off the topics that were relevant to them, too difficult, or just bad luck. I'm not sure that really was the case; I reviewed every question that was queried (and in some cases changed them), but I felt that the system as it was set up had, alas, a natural negative harmony.

The tragedy is that the quiz system, taken as a guideline is a very useful tool, and in the last few weeks I've revived it. Partly as an example of good CGI scripting using the 6 step and 4 layer models. And partly so that I can throw up a few questions at random in front of a class I've just met to help me help them get the best from their course. In the last few days, it's already proved its worth in both those areas.

So - how can I add natural harmony? I don't want to "dumb down" the tests like the school education system in the UK has been accused of doing. That would make the tests pointless. And I don't want to discourage reports about individual questions which could be clarified - feedback is vital. Tricky one, but I'm going to take three steps.

Firstly - a note on scoring. We set 15 questions, all multiple choice with on average 4 possible answers. If you get JUST TWO THIRDS of the questions right, you're showing substantial subject knowledge - the chance of getting that high a score by guessing is statistically insignificant. Please consider 10 out of 15 a good score if you're a user of the language in question; only folks like myself who have to know ALL the facets of a language to teach it can be expected to get a score of 14 or 15 as a matter of routine.

Secondly - I'm publishing a table of those statistics ... if you tried to answer every question with a random guess:
Chance of 0 out of 15 wrong is 0.00%
Chance of 1 out of 15 wrong is 0.00%
Chance of 2 out of 15 wrong is 0.00%
Chance of 3 out of 15 wrong is 0.00%
Chance of 4 out of 15 wrong is 0.01%
Chance of 5 out of 15 wrong is 0.07%
Chance of 6 out of 15 wrong is 0.34%
Chance of 7 out of 15 wrong is 1.31%
Chance of 8 out of 15 wrong is 3.93%
Chance of 9 out of 15 wrong is 9.17%
Chance of 10 out of 15 wrong is 16.51%
Chance of 11 out of 15 wrong is 22.52%
Chance of 12 out of 15 wrong is 22.52%
Chance of 13 out of 15 wrong is 15.59%
Chance of 14 out of 15 wrong is 6.68%
Chance of 15 out of 15 wrong is 1.34%

Here's the program:

$nquestions = 15;
$noptions = 4;

@pascal = (1,1);
foreach $row (1..$nquestions+1) {
$pnew[0] = 1;
for ($k=1;$k<$row;$k++) {
$pnew[$k] = $pascal[$k-1]+$pascal[$k];
@pascal = @pnew;

for ($wrong=0; $wrong<=$nquestions; $wrong++) {
$chance[$wrong] = ((1/$noptions)**($nquestions-$wrong) *
* $pascal[$wrong] ;
printf "Chance of $wrong out of $nquestions wrong is %.2f%%\n",
$cr += $chance[$wrong];
print $cr*100," total\n";

Thirdly, to remind you that this a bit of fun and gentle guidance - it doesn't pretend to be anything more and we can't provide a detailed evaluation from such a short quiz. Having said that, go and enjoy. You can reach the Quiz front page from here
(written 2005-03-31, updated 2006-06-05)

Associated topics are indexed as below, or enter for individual articles
P774 - Perl - Good CGI scripting.
  [261] Putting a form online - (2005-03-29)
  [262] A little bit of fun - the new Perl Quiz - (2005-03-30)
  [4320] An example of Model-View-Controller techniques in a Perl / CGI script - (2014-11-20)
  [4391] Refactoring Perl applications to give them a rosy future - (2015-01-11)

Back to
A little bit of fun - the new Perl Quiz
Previous and next
Horse's mouth home
Forward to
100% Training
Some other Articles
Searching security holes
A beautiful place to live and learn
Business practise, 2005 style
100% Training
Responding to spam
Easter at Well House Consultants
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page

This is a page archived from The Horse's Mouth at - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

© WELL HOUSE CONSULTANTS LTD., 2022: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: • WEB: • SKYPE: wellho

PAGE: • PAGE BUILT: Sun Oct 11 16:07:41 2020 • BUILD SYSTEM: JelliaJamb