Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Perl quiz for beginners

by cdarke (Prior)
on Sep 09, 2011 at 07:12 UTC ( #925026=note: print w/ replies, xml ) Need Help??


in reply to Perl quiz for beginners

Perl is a name, not a set of initials (although that is open to interpretation).
Autovivification: it is more than the supplied answer
The shebang line for the use described is UNIX specific, it is a special comment on, for example, Windows.
Command to use to know Perl version only using command line is poorly worded, and please explain why perl -v is wrong.
Valid File handlers did you mean "file handles"? In which case, none of the supplied answers are correct with use strict, anyway, you should be teaching begineers lexical file handles, not bare-words.
my $prize = “5 Dollars” print ‘You got $prize’; will give a syntax error because there is a missing semi-colon before the print

These questions are way too thin to give any indications as to the skill level of the participant, and anyway, with TMTOWTDI, just having one possible answer is questionable.


Comment on Re: Perl quiz for beginners
Select or Download Code
Re^2: Perl quiz for beginners
by jassics (Initiate) on Sep 09, 2011 at 07:49 UTC
    Many many thanks for your awesome feedback "cdarke"
    I know I need to learn many things in Perl. I am just experienced beginner in perl :D
    That's why I joined Perl monks to hone my skills and learn & share with you.
    Yes Perl is a name but everybody asks what is it's full form and I need to say it, so put this question in quiz.

    Yes I just kept example of it. It should be path to Perl interpreter. ex: c:/opt/perl/bin/perl

    I asked "Perl version only" all other options except $] would fetch more information that just version number/string Yes Autovivification is more than that but I thought it would be enough to give idea in one line

    Yes very true but here motto was to ask which keywords are meant file handles and answer would be STDIN, STDOUT, STDERR

    I checked and semicolon is there.
    and yes this was meant for Perl beginners only. But it's good to get expert's comments so that We can work much harder way to have expert level participants in future.

    Thanks for joing us at Aliencoders. Wish to hear a lot from you there :)
      Yes very true but here motto was to ask which keywords are meant file handles and answer would be STDIN, STDOUT, STDERR

      Then please write STDIN, STDOUT, STDERR. I thought you did mean a, b and c.

      And a, b, c are also valid file handles:

      $ perl -wE 'use strict; open a, "<", "TODO"; say <a>'

      It is also slightly annoying to have several correct answers within a poll; the question which of several correct answers is more correct doesn't make sense, if you start thinking about it.

      Thanks for the quiz anyway.

      "Yes Perl is a name but everybody asks what is it's full form and I need to say it, so put this question in quiz."

      Nonsense, BS, indefensible rationalization/justification because the answer is wrong.

      Visting unknown site such as yours, I don't allow js or cookies (among other personal quirks). So I can't get past Q1, though from this nodes' grandparent, I can deduce the questions. But, frankly, the comments below from moritz, davido and jwkrahn persaude me that I haven't missed anything valuable.

      And further re davido's comment about teachers and quizes, the teacher who's trying to fake competence with knowledge a scant chapter ahead of the student on a topic in which neither is expert is almost guaranteed to provide misinformation.

      Update : Oh yes, it's considered bad form here to post your data offsite: if it's not posted here, it may not be there, sometime in the future, and thus the value of the entire thread is apt to be lost.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://925026]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2014-04-18 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (471 votes), past polls