jassics has asked for the wisdom of the Perl Monks concerning the following question:
It contains 15 questions and time permitted is 20 minutes.
If you know the basics you can finish it within 10 minutes at max.
here is the link for that quiz. let me know your review so that I can come up with the next level quiz on Perl
Perl Overview Quiz for beginners
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Perl quiz for beginners
by davido (Cardinal) on Sep 09, 2011 at 08:41 UTC | |
If I saw that quiz at a potential employer I would cross them off my list; I don't need work that badly. Here are a few of the specific issues: I am sure that a critical eye would find fault with some of my answers here as well, which will lend credence to this next statement. Good test questions and well chosen answer sets take a lot of thought to compose; a concept that too many teachers fail to recognize. I hate multiple choice questions because I'm constantly asking myself, "Do they want the correct answer, or the answer that I suspect they think is correct?" I do think that the questions themselves would do a poor job of distinguishing a good programmer from a bad one. I have retyped the next paragraph so many times that I've decided to refrain from saying any more on the subject. Dave | [reply] [d/l] |
by jwkrahn (Abbot) on Sep 09, 2011 at 09:07 UTC | |
If you're asking specifically about the default filehandles, they're all full caps, If you are talking about STDIN, STDOUT and STDERR then perl has always (AFAIK) supported the lower case versions stdin, stdout and stderr although ARGV, ARGVOUT and DATA have to be upper case.
| [reply] [d/l] [select] |
by davido (Cardinal) on Sep 09, 2011 at 09:10 UTC | |
Does it support Stdin, Stdout, and Stderr? Because that's how the answers were worded: In ucfirst format. (And if it does, then holy cow, I'm still a beginner!) Dave | [reply] [d/l] [select] |
by jassics (Initiate) on Sep 09, 2011 at 10:26 UTC | |
Yes, lots of efforts are needed before posting full proof expert like quiz. I am beginner in Perl programming and got many things from these comments that how much effort I need before posting anything here or even in our website. Thanks for all expert comments. Criticism is always good for someone (here for me :)). I will try to put next quiz after experimenting and testing a lot. Davido, as per your comments I modified many questions and answers. hope there will less bugs now. Perl acronym will always be there even t doesn't mean so. Check Wikipedia or any good universities documents. It will be there. ex: http://www.cs.cmu.edu/cgi-bin/perl-man (Canergie Mellon University). So let ti be there for our reference in case if its asked. | [reply] |
by davido (Cardinal) on Sep 09, 2011 at 10:32 UTC | |
If anything, it's a Backronym, which makes its inclusion in your quiz a poor choice. If you must include it, call it what it is, and don't try to make it look like the name Perl was an artifact derived from a chosen longhand phrase. Which "good university" has documents stating that Perl is intended to be an acronym? Before you start telling people to refer to Wikipedia or some vague university's "documents", you should RTFM, or in this case, RTFFAQ: perlfaq1: What is the difference between perl and Perl?. I won't cut-and-paste it here, but you will find that the Perl documentation disputes your assertion. While you're at it, you can confirm my JAPH comment here: perlfaq1: What is a JAPH? Dave | [reply] |
by jassics (Initiate) on Sep 09, 2011 at 10:41 UTC | |
by davido (Cardinal) on Sep 09, 2011 at 11:03 UTC | |
by ww (Archbishop) on Sep 09, 2011 at 11:38 UTC | |
"Check Wikipedia or any good universities documents. It will be there." Not because I care all that much about the specific issue -- whether the name has some specific acronymic meaning, but rather, because you're suggesting that seconday (and very possibly inaccurate) resources should be grounds for ignoring a primary resource, such as Larry Wall's own remarks. Now, I'll grant that I've not found (in the archives of comp.lang.perl.misc) a statement signed by Wall, nor audio or video of Wall disputing the notion that "perl" or "Perl" is an acronym, nor have I ever had occasion to ask timtoady 'what's the fact?' but the assertions of numerous Perl pioneers (including a good many Monks of Great Tenure; merlyn, tilly (see [Re^5: perl not omnipotent? let's see!), petdance....) are, to me, far more persuasive than sources such as wiki, CS departs at .edus, etc. Likewise, IMO, the widely reported story that a witty writer invented a backronym to explain his name choice (or as a joke) seems more plausible than that he departed so radically from the common use of | [reply] |
Re: Perl quiz for beginners
by cdarke (Prior) on Sep 09, 2011 at 07:12 UTC | |
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. | [reply] [d/l] [select] |
by jassics (Initiate) on Sep 09, 2011 at 07:49 UTC | |
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 :) | [reply] |
by moritz (Cardinal) on Sep 09, 2011 at 08:38 UTC | |
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:
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. | [reply] [d/l] [select] |
by ww (Archbishop) on Sep 09, 2011 at 09:32 UTC | |
"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. | [reply] |
Re: Perl quiz for beginners
by eyepopslikeamosquito (Archbishop) on Sep 09, 2011 at 10:56 UTC | |
Typo alert: question seven has the phrase "It is sed" twice. The use of English in your quiz needs improving. Also, the quiz has no humour. At all. I think humorous options to one or two questions would improve it. For some example quiz questions (some of which have humorous alternatives) see Running a Perl Quiz Night. From the draft Oxford English Dictionary entry cited on history.perl.org: Perl Brit. | [reply] |
by Anonymous Monk on Sep 09, 2011 at 13:17 UTC | |
Thanks to all of you who made that quiz little worthy now :) | [reply] |
Re: Perl quiz for beginners
by blue_cowdawg (Monsignor) on Sep 09, 2011 at 13:49 UTC | |
I'm not sure your quiz is quite the right tool to test the knowledge of beginning Perl programmers. Having taught Perl at the college level I am speaking from experience. If your the objective of the test is to test a person's knowledge of Perl culture, then this quiz is OK. However if you are trying to determine if someone at the beginner's level can program in the language then the quiz falls far short. If I were designing the quiz I'd have asked more questions having to do with the actual programming of "things" in Perl (such as your questions about file descriptors, perlvars, etc) and less on TLAs and history. But then, that's just how I write tests. One thing I'd caution you on though when writing a test about programming in any language and especially Perl. There Is More Than One Way to Do It comes to mind. What I'd consider to be the "right solution" to solve a problem may not be a student's "right solution" and both could be valid. Peter L. Berghold -- Unix Professional Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg | [reply] |
by jassics (Initiate) on Sep 09, 2011 at 14:52 UTC | |
| [reply] |
by blue_cowdawg (Monsignor) on Sep 09, 2011 at 14:56 UTC | |
Me, being me, would ask questions like
Peter L. Berghold -- Unix Professional Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg | [reply] [d/l] |
by Tux (Canon) on Sep 09, 2011 at 15:01 UTC | |
by blue_cowdawg (Monsignor) on Sep 09, 2011 at 15:04 UTC | |
Re: Perl quiz for beginners
by Guenhwyvar (Scribe) on Sep 09, 2011 at 14:27 UTC | |
| [reply] [d/l] |
by Tux (Canon) on Sep 09, 2011 at 14:55 UTC | |
That is because he is using Windows. On windows the quotes are ". On all other (sane) systems, the non-interpoliting quotes are ', which is what renders any quiz that involves quotation useless if it is to span Windows and any-other-OS. FWIW I didn't even start the quiz as it took way too long loading and when loaded (don't remember if I waited for a full load) requires cookies/scripting Enjoy, Have FUN! H.Merijn | [reply] [d/l] [select] |
Re: Perl quiz for beginners
by raybies (Chaplain) on Sep 09, 2011 at 12:42 UTC | |
my question 14 (dunno if it's mixed up) there was a typo: "Defualt" (filehandles...) ALso I contend that Pathologically Ecclectic Rubbish Lister is the correct Backcronym for Perl, and I will stand by that til the day I die... So unfortunately I got them all right save one... :( but in my heart, I got'em all... :-P --Ray | [reply] |
Re: Perl quiz for beginners
by egga (Monk) on Sep 09, 2011 at 10:08 UTC | |
I appreciate your effort to make that quiz. It's a nice idea and I pretty much like your GUI. A big drawback is the quality of your questions, but I'm sure, that you are improving them over time. I personally prefer questions, which need knowledge of the language itself (e.g. "what does ... print") over questions, which need "meta knowledge" of the language (e.g. what does XYZ stand for). But I have to admit that the Perl ecosystem is quite overwhelming and understanding the community is one very important key to learn the language. I hope you keep up that work and provide questions for more experienced developers very soon. Thanks for your time and sweat. | [reply] |
by jassics (Initiate) on Sep 09, 2011 at 10:35 UTC | |
i posted this quiz here to know every one's idea and I succeed in that. I will surely devote more time before posting my next quiz and that will be for all. (Experts don't require it but their views are always accountable :)) If any of Perl Monks want to contribute their questions then please forward a mail to admin@aliencoders.com or jassics@gmail.com. So that I can put these questions for next quiz. It will help many people who work on Perl | [reply] |