Post a Comment
Quite a fun test, very OSNews material
I got 75, although could have got 100 if I had been more careful. I didn't know about Pascal history, I assumed Dr.Pepper was second-in-line, and "The Gang of Four" is news to me; otherwise, clearly I know too much useless information for my own good.
(Data-types in Assembly, lol; a byte is a byte is a byte my friend)
No it's not. All the other answers were wrong, so it could only be that one. It could have said "The cat sat on the mat" and it'd still be correct.
You cannot store a decimal point in assembly, there is no such thing - only 1s and 0s. If you put a Float into a memory location, you can interpret those 1s and 0s anyhow you want. You could read it back as an Int, or an ASCII value, or even execute it as a Mnemonic.
Some of the best C64 code (Demos and some of the better copy-protection schemes like Timex) used this kind of behaviour to write self-modifying code. There's many creative things you can do when you write assembly by hand, but it's a real minefield to work in.
If you don't know what kind of data is there in the memory location you are accessing and its binary representation in the architecture(s) you are using you shouldn't be using assembly at all, not even C.
However, the much maligned Systems Hungarian notation can be very useful when dealing with assembly code.
How can someone so ignorant be employed as an editor at InfoWorld?
For the question about Hungarian Notation one of the possible answers was:
d. It was invented at the Polytechnic University of Bucharest, Hungary
For the thousand time Bucharest is not the capital of Hungary, Budapest is.
"How can someone so ignorant be employed as an editor at InfoWorld?
For the question about Hungarian Notation one of the possible answers was:
d. It was invented at the Polytechnic University of Bucharest, Hungary
For the thousand time Bucharest is not the capital of Hungary, Budapest is."
Wow...don't even know how to answer this one. When do you start as editor for InfoWorld??? 
"For the thousand time Bucharest is not the capital of Hungary, Budapest is."
It's the other way round too. We have a lot of fun here in Bucharest/Romania when a singer/statesmen messes them up.
And for all you English lubbers, you mess them up because you make them sound alike. They're actually:
"Boo-dah-pehsht" and "Boo-coo-reh-shti", where that last "ti" is pronounced like "li" in Linux.
Edited 2008-07-29 19:12 UTC
Somehow I expected a test on PROGRAMMING, not a history quiz. The whole thing is akin to an auto repair class that spends six months on the life history of Nikolaus August Otto instead of talking about how engines work.
The only question worth a damn was the one where the best answer was commenting - and even that was semi-useless since throwing in commenting any old way can be WORSE than not having any.
See: http://www.ibm.com/developerworks/linux/library/l-clear-code/
Specifically: "Oh? We're done? Thanks for letting me know. That big right bracket and the infinite expanse of empty space beyond really didn't tip me off to that."
Edited 2008-07-29 12:23 UTC
Well I got only 65 yet I spend most of my time developing in C/C++. I don't know or care for any of the modern trendy languages like Ruby and know almost nothing about SQL or Cobol. Clearly 1/3 of the questions have zero to do with anything. I suspect most older CS professors or even the mighty D.Knuth might fail this too if they are not hip to trivia nonsense.
Watch how all the geeks on this thread will make antagonistic comments and excuses for not getting 100%. "It's a stupid quiz", "doesn't mean anything", "editor is retarded", etc. etc.
I got 65% and for what it's worth, I don't care. It affects my programming self-esteem, neither one way or the other. It's just a quiz people.
Tend to agree. Seems this "test" has more to do with this guy's vision of himself as a great wit than with technical expertise. Yeah, I got a 75 and it's been years since I programmed in C and decades since I programmed in Assembler, but many of the questions and answers are surrounded by ongoing "discussion" so his version of the correct answer may be in dispute.
The key is that javascript is NOT a lite version of Java. This is probably one of the most ANNOYING misconceptions ever in the IT world. I don't know how many times I have heard hiring managers, developers - eople who should know better confuse the two. I cringe when I hear people say something like "yeah we need a Java developer to help with some of our web pages", when they really mean a Javascript developer. The languages share nothing except a "c-like" syntax (braces, semi-colons). Javascript really has far more in common with the functional languages.
So personally, I was glad to see that question. It really was a marketing decision to include the word "java" in javascript. However, it was a very poor decision. It created a lot of unnecessary confusion.
It actually reminds me of the word "Basic" in Visual Basic. While VB is actually a derivative of Basic, unfortunately the word "Basic" confuses many adminsitrative folks. They see the word and think that it must be easy. I have seen this played out such that non-programmers are hired as VB programmers, because, well, it's basic! How hard can it be? In fact, one job I interviewed actually called it "Visual Basics". I had to keep myself from laughing during the interview. In reality, enterprise applications of great complexity and depth can be created with VB (even before .NET). However there is a "pile" of VB guys out there that to a certain extent were created due to the word "basic" in the title.
Words are funny!
*Sigh* you haven't read his post, he didn't say that..
What he said is that both Java and Javascript has some heavy link with Self a project made by Sun:
for Java it's not the language but the JVM's JIT compiler which benefited from Self research
and for Javascript it's because it is a prototype based language like Self.
So I was a bit annoyed by the incorrect "solution" IMHO..
"Question 15: Is P equal to NP?
5 points
d. I don't know
This is one of the most important unsolved problems in computational science. If you actually did know the answer, you would be rich now."
This is just silly. The author confuses a factual question with the justfication of that answer. For example, if somone asks me "Is E=mc^2?" I can answer "Yes" altought I don't know how to justify it: the question is not "Do you know if E=mc^2?". A correct answer would be something in the line of "It hasn't been proved that..."
... and it's supposed to be fun. Think of it as a sitcom for people who have never had sex.
As for an indicator of programming intelligence, yeah it sucks. I received a 70, but my main claim to programming fame is that I'm a brilliant developer of pseudo-random number generators. Need an encryption algorithm, I'll give you a program that generates a stream of pseudo-random numbers. And hey, noone can crack that. Not even the recipient with the key. 
Many of the questions (and answers) are a bit silly, but that is as it should be. No-one (outside a few clueless managers) honestly think that a five-minute online quiz can give you any indication of how good a programmer you are, so any attempt at making it seem serious would be a lie.
For the record, I scored 85. My wrong answers were the drink, the gang of four and Brian Kerningham. I'm not from the US, so I have had little exposure to Dr. Pepper and Sunkist Orange, and I don't do OO much, so I'm not aquantied with the gang of four. I really should have known about Brian, though.




