Tag: programming languages

Questions Related to programming languages

SERVLETCONFIG--- one per web Application.

  1. True

  2. False


Correct Option: B

init() & destroy() ---methods can ONLY BE CALLED ONCE!

  1. True

  2. False


Correct Option: A

Who agrees with the idea that developers should write "dumb code," meaning straightforward, clean code that follows the most obvious object-oriented principles, in order to get the best compiler optimization -- and that clever, hacked-up, bit-banging code will get poorer results?

  1. Brian Goetz

  2. Heinz Kabutz

  3. Cay Horstmann

  4. All of the above

  5. None of the above


Correct Option: D
  1. Poor Unicode support.

  2. java.lang.Cloneable does not contain clone() method.

  3. The byte type is signed.

  4. The creators of the Java programming language modeled the syntax after C and C++.

  5. java.io.InputStream is an abstract class and not an interface.


Correct Option: C

Qusay Mahmoud remarked that "Today's generation of students is becoming known as Generation C." What does "C" stand for?

  1. Create, complete, and collect

  2. Creativity, curiosity, and career

  3. Content, cash, choice, and control

  4. Compete, confer, and collect


Correct Option: C

For which action can you use the TO_DATE function?

  1. Convert any date literal to a date

  2. Convert any numeric literal to a date

  3. Convert any character literal to a date

  4. Convert any date to a character literal

  5. Format ’10-JAN-99’ to ‘January 10 1999’


Correct Option: C

Computer science professors Qusay Mahmoud and Cay Horstmann agree that the biggest mistake made by teachers of computer science is

  1. Overwhelming students with too much code complexity too early

  2. Lecturing too much

  3. Failing to educate students in the use of tools

  4. Failing to encourage individual creativity and initiative


Correct Option: B