http://www.perlmonks.org?node_id=925026


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.

Replies are listed 'Best First'.
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.