Just-in-time (JIT) compilation improves the performance of languages that compile into bytecode. Which language featured the first JIT compiler?
Java
C#
Smalltalk
Cobol
If I told you a key characteristic of my programming language of choice was that it generated threaded code which language would I most likely be talking about?
Pascal
Forth
Python
Your local supermarket is all sold out of energy drinks Jolt Cola and Mountain Dew. Which beverage will keep you going packing the most caffeine and sugar into a 12-ounce can?
Sunkist Orange Soda
Coca-Cola Classic
Pepsi-Cola
Dr. Pepper
Which of the following is NOT a central tenet of extreme programming?
Refactor your code often
Throw away obsolete code
Debugging is for wimps
Communicate often with the customer
What is the relationship between Java and JavaScript?
Netscape invented JavaScript as a stripped-down "lite" version of Java
Java borrowed ideas from JavaScript and made it a full-fledged programming language
They both originate from the same research at Sun Microsystems
There is none; it's all just marketing
Why do some consider Ruby to be more "purely" object-oriented than other more popular OOP languages such as Java and C++?
Because Ruby forces object orientation and does not permit procedural or functional style code
Because Ruby makes no distinction between objects and primitive types
Because Ruby's syntax is similar to that of Perl
Because Ruby programmers are full of themselves
Failure to validate user input is one of the most common sources of software security vulnerabilities. When is it safe to accept user input without validation?
When the application is running behind a firewall
Never; any program that accepts input can be exploited
When the application is written in Perl using the language's "taint mode"
When the user is your own mother
Which of the following is the best way to write reusable code that is easier to maintain?
Use more global variables
Keep variable and function names down to one or two letters
Insert comments throughout your source code files
Use pointer arithmetic wherever possible
Of the following who is NOT the inventor of a programming language in current use?
Andrew S. Tanenbaum
Guido van Rossum
Niklaus Wirth
Bjarne Stroustrup
To what concept does "the mythical man-month" refer?
The code that would have been written last month if your project was on deadline
The amount of code that you can produce in a month on your salary
The fallacy that assigning more staff to a programming job will complete it faster
The fact that like Sysiphus pushing the boulder you can never finish debugging