2e1d Sample answers to training course exercises - available on our web site
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Sample answers to training course exercises - available on our web site

In order to consolidate knowledge that we've just imparted during each module of our courses, we set exercises for the delegates to try out at the end. And we're around and available while they're doing the exercises to check and assist in re-explaining any vital points that they've missed, and to help with the sometimes-odd error messages that a typing mistake can produce.

Sample answers are also available on our web site. If you've been on a Well House Consultants course, you'll have a folder of notes that covers the same ground as the course, which includes the exercises we set. At the top of the pages of each section, you'll find a module number - something like P205 for initial string handing in Perl. Simply put this number into a browser in the following format:
   http://www.wellho.net/resources/P205.html
and you'll go straight to a page which includes:
   • Links to the full source of sample program in the notes
   • Links to sample (template) answers to the exercises
   • A brief introduction to the topic, and a list of subsections
   • A note of which course(s) the module is a part of
   • Copyright for the module; in some cases the module is available for download
   • Blog articles which talk about subjects covered in the module
There's also a full list of all of our modules, giving you a top level index to all our resources, at
   http://www.wellho.net/resources/modules.html




I'm going to add, though, a few words of caution here.

When you're using a programming language, you'll use the wide range of features that make up the language as a whole. But when you're learning a language, you need to learn it in pieces - section by section. And that means that sometimes our sample answers, which have to be relevant to our delegates at the time, may not provide the best long-term solution. They may be stilted, long-winded, going from "A" to "B" via "F" ... and in many cases they'll not check the user's input. Paradoxically, they're likely to be overcommented as some of the minute detail is explained, whereas in a production program with an experienced maintainance team this very full commenting would be going one step beyond what was sensible.

Occasionally (and it's very occasionally these days!) we find that an example in the notes, or a sample answer, is missing from the web site. Many examples were written before we routinely published them online, and it's been a manual task over several years to get them all available. Please let me know if you're going through your notes and find something that's missing!.

And so - on that note - added to our web site this morning - sample answers for "initial string handling in Perl":
  • autumn - ending user input with the work End
  • winter - Capitalising and punctuating a sentence
and supporting that second example
  • midwinter - Alternative using more advanced conditionals
  • deepmidwinter - Same again, this time using inline structures within the print
(written 2012-06-21, updated 2012-06-23) 2b15

 
Associated topics are indexed under
G305 - Well House Consultants - Post Course support
  [3701] Refresh and Revision training class days - Perl / PHP / Python / Lua / Ruby / Tcl / C / C++ - (2012-04-19)
  [3419] Data that we use during our training courses, and other training resources - (2011-09-04)
  [3391] For programmers who use Internet Explorer as their browser - (2011-08-13)
  [3045] After Course Resources - do we publish sample answers. Example from Java Exceptions module. - (2010-11-13)
  [2732] Asking about Jesus - (2010-04-20)
  [2102] What do people think of our Apache httpd / Tomcat course? - (2009-03-24)
  [1874] Is it worth it? - (2008-11-07)
  [1245] Ensuring that our tutor answers YOUR questions - (2007-06-25)
  [651] Please Register with Opentalk - but just once! - (2006-03-19)
  [609] Been on a course, but still not got it? - (2006-02-16)
  [569] Instructions for bright people - (2006-01-19)
  [516] Open source questions? Anyone can ask. - (2005-12-03)
  [509] Snippets from Geekmas - (2005-11-28)
  [389] Tough Love - (2005-07-25)
  [336] Targetted Advertising - (2005-06-05)
  [327] How far should our support go - (2005-05-28)
  [293] Course follow-ups - (2005-04-27)
  [248] Use me, but use me effectively - (2005-03-16)
  [244] Getting your examples, my examples and the data files after your course - (2005-03-13)
  [199] Post course support - part of the service - (2005-02-02)
  [136] Please tell us - (2004-12-01)

P205 - Perl - Initial String Handling
  [3548] Dark mornings, dog update, and Python and Lua courses before Christmas - (2011-12-10)
  [3547] Using Perl to generate multiple reports from a HUGE file, efficiently - (2011-12-09)
  [3411] Single and double quotes strings in Perl - what is the difference? - (2011-08-30)
  [3005] Lots of ways of doing it in Perl - printing out answers - (2010-10-19)
  [2963] Removing the new line with chop or chomp in Perl - what is the difference? - (2010-09-21)
  [2832] Are you learning Perl? Some more examples for you! - (2010-06-27)
  [2816] Intelligent Matching in Perl - (2010-06-18)
  [2798] Perl - skip the classics and use regular expressions - (2010-06-08)
  [1860] Seven new intermediate Perl examples - (2008-10-30)
  [1849] String matching in Perl with Regular Expressions - (2008-10-20)
  [1608] Underlining in Perl and Python - the x and * operator in use - (2008-04-12)
  [1195] Regular Express Primer - (2007-05-20)
  [987] Ruby v Perl - interpollating variables - (2006-12-15)
  [970] String duplication - x in Perl, * in Python and Ruby - (2006-12-07)
  [324] The backtick operator in Python and Perl - (2005-05-25)
  [254] x operator in Perl - (2005-03-22)
  [31] Here documents - (2004-08-28)


Back to
Muttable v immutable and implications - Ruby
Previous and next
or
Horse's mouth home
Forward to
Fine evening, country walk from Melksham - pictures
Some other Articles
Melksham - a new dawn
Ruby on the web - a simple example using CGI
Hello World - Ruby on Rails - a checklist of each step
Fine evening, country walk from Melksham - pictures
Sample answers to training course exercises - available on our web site
Muttable v immutable and implications - Ruby
Melksham Chamber of Commerce - looking to our future shape. Pivotal meeting next Tuesday
How well do you know Melksham?
Python timing - when to use a list, and when to use a generator
Christmas in June? Melksham hotel bookings and Santa train
4086 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 at 50 posts per page

4565
This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - 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).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2013: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/3770_Sam ... -site.html • PAGE BUILT: Sat Feb 23 12:39:13 2013 • BUILD SYSTEM: wizard
0