Are You Smarter Than A Programmer?

6 Questions

Settings
Please wait...
Programmer Quizzes & Trivia

Questions and Answers
  • 1. 
    Which contains a decimal?
    • A. 

      Double

    • B. 

      Int

    • C. 

      Character

    • D. 

      Boolean

  • 2. 
    What are the two parts of every object?
    • A. 

      Methods and words

    • B. 

      Numbers and variables

    • C. 

      Methods and properties

    • D. 

      Words and numbers

  • 3. 
    Who discovered the first computer bug?
    • A. 

      Ada Lovelace

    • B. 

      Grace Hopper

    • C. 

      Donald Knuth

    • D. 

      Richard Stalman

  • 4. 
    What package would you use to create a Graphical User Interface?
    • A. 

      Java.awt

    • B. 

      Java.util

    • C. 

      Javax.swing

    • D. 

      Java.io

  • 5. 
    Which is a correct method heading?
    • A. 

      Protected method()

    • B. 

      Int method()

    • C. 

      Private()

    • D. 

      Public void method()

  • 6. 
    What theoretical device is typically used to demonstrate how a computer handles tasks?
    • A. 

      Microwave oven

    • B. 

      Turing Machine

    • C. 

      Warp Drive

    • D. 

      EDM