Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #13764 > unrolled thread

The JavaScript IQ test

Started byGene Wirchenko <genew@ocis.net>
First post2012-05-03 10:37 -0700
Last post2012-05-06 04:16 +0200
Articles 7 — 5 participants

Back to article view | Back to comp.lang.javascript


Contents

  The JavaScript IQ test Gene Wirchenko <genew@ocis.net> - 2012-05-03 10:37 -0700
    Re: The JavaScript IQ test Gregor Kofler <usenet@gregorkofler.com> - 2012-05-03 20:23 +0200
      Re: The JavaScript IQ test Stefan Weiss <krewecherl@gmail.com> - 2012-05-03 21:38 +0200
        Re: The JavaScript IQ test Gene Wirchenko <genew@ocis.net> - 2012-05-03 13:33 -0700
        Re: The JavaScript IQ test John G Harris <john@nospam.demon.co.uk> - 2012-05-04 15:05 +0100
    Re: The JavaScript IQ test Mentifex <mentifex@myuw.net> - 2012-05-04 16:12 -0700
      Re: The JavaScript IQ test Stefan Weiss <krewecherl@gmail.com> - 2012-05-06 04:16 +0200

#13764 — The JavaScript IQ test

FromGene Wirchenko <genew@ocis.net>
Date2012-05-03 10:37 -0700
SubjectThe JavaScript IQ test
Message-ID<cfg5q7h6hs1guuaofvcbevissg9q52580f@4ax.com>
Dear JavaScripters:

The JavaScript IQ test
http://www.infoworld.com/d/application-development/the-javascript-iq-test-191020

     A commenter and I caught one error in it.  Another commenter
pointed out an edge case for another question.  I found another edge
case myself.

     What do you think of this test?

Sincerely,

Gene Wirchenko

[toc] | [next] | [standalone]


#13765

FromGregor Kofler <usenet@gregorkofler.com>
Date2012-05-03 20:23 +0200
Message-ID<jnuifc$h9h$1@dont-email.me>
In reply to#13764
Am 2012-05-03 19:37, Gene Wirchenko meinte:
> Dear JavaScripters:
>
> The JavaScript IQ test
> http://www.infoworld.com/d/application-development/the-javascript-iq-test-191020

"Using a variable without declaring it with a "var" command:"
...
"Correct Answer: Creates a local variable in the block"



>       What do you think of this test?

Crap.

Most of the questions are either ambigious

"If you have two functions with the same name in the file" 
(Declarations? Expressions?)

or completely superfluous.
"Which has never been a name of JavaScript"

Gregor

[toc] | [prev] | [next] | [standalone]


#13766

FromStefan Weiss <krewecherl@gmail.com>
Date2012-05-03 21:38 +0200
Message-ID<jnumrj$cas$1@news.albasani.net>
In reply to#13765
On 2012-05-03 20:23, Gregor Kofler wrote:
>> The JavaScript IQ test
>> http://www.infoworld.com/d/application-development/the-javascript-iq-test-191020
...
>>       What do you think of this test?
> 
> Crap.

Seconded.

Almost all of the questions are ambiguous, and contain several correct
answers, or none. Sometimes even the questions themselves are wrong.

<spoiler>
  8. Using a variable without declaring it with a "var" command:
    a) Creates a local variable in the block
    b) Creates an array
    c) Generates an error
    d) Creates a global variable

  Correct answer: a
  Explanation: The variables are defined in the local block, not the
               global space.
</spoiler>

This is truly horrible. At a quick count, only 7 questions out of 20 are
actually usable.

I hope nobody is foolish enough to use this test for recruiting...

- stefan


PS: The full quiz text, in all its glory: http://pastebin.com/iKFcVYye

[toc] | [prev] | [next] | [standalone]


#13767

FromGene Wirchenko <genew@ocis.net>
Date2012-05-03 13:33 -0700
Message-ID<3qq5q7tm34a68gnrpiqo9n84qf0ar4rtua@4ax.com>
In reply to#13766
On Thu, 03 May 2012 21:38:26 +0200, Stefan Weiss
<krewecherl@gmail.com> wrote:

[snip]

>I hope nobody is foolish enough to use this test for recruiting...

     I would use it.  "What are your comments on this test?"  <BEG>

Sincerely,

Gene Wirchenko

[toc] | [prev] | [next] | [standalone]


#13774

FromJohn G Harris <john@nospam.demon.co.uk>
Date2012-05-04 15:05 +0100
Message-ID<dTH2sfBTI+oPFwkD@J.A830F0FF37FB96852AD08924D9443D28E23ED5CD>
In reply to#13766
On Thu, 3 May 2012 at 21:38:26, in comp.lang.javascript, Stefan Weiss
wrote:

  <snip>
>I hope nobody is foolish enough to use this test for recruiting...

Surely, knowing that "EichScript" has never been used as a name makes a
recruit superbly qualified for JQuery ;-)

  John
-- 
John Harris

[toc] | [prev] | [next] | [standalone]


#13794

FromMentifex <mentifex@myuw.net>
Date2012-05-04 16:12 -0700
Message-ID<a94d6984-d450-4275-881e-7b0102806e3a@k7g2000pbo.googlegroups.com>
In reply to#13764
My JavaScript IQ turned out to be:

You got 5 of 20 correct.
Your score: 25%

Mentifex (Arthur)
--
http://www.scn.org/~mentifex/AiMind.html
http://cyborg.blogspot.com/2009/08/javascript.html
http://www.amazon.com/The-Art-Meme-ebook/dp/B007ZI66FS/
http://bookstore.iuniverse.com/Products/SKU-000540906/AI4U.aspx

[toc] | [prev] | [next] | [standalone]


#13802

FromStefan Weiss <krewecherl@gmail.com>
Date2012-05-06 04:16 +0200
Message-ID<jo4mtg$g8l$1@news.albasani.net>
In reply to#13794
On 2012-05-05 01:12, Mentifex wrote:
> My JavaScript IQ turned out to be:
> 
> You got 5 of 20 correct.
> Your score: 25%

The chance of randomly guessing the "correct" answer in this test is one
in four (25%). Did you answer the questions yourself, or did you let
your AI solve them?

The former would indicate that you got some of the seven "good"
questions wrong (in addition to ALL of the ambiguous ones); the latter
would be consistent with the results I've seen in previous interactions
with your "AI".


- stefan


(PS: Yes, I'm aware of who I'm talking to)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web