Owl Teach Yourself Java in 24 Hours, Fifth Edition
HOME / FEEDBACK / ORDER THE BOOK / OTHER BOOKS / NEXT HOUR / THANKS
ROGERS CADENHEAD

Hour 1: Becoming a Programmer

Hour 1 Quiz

Question 1. Which of the following is not a reason that people think computer programming is difficult?

1.a. Programmers spread that rumor to improve their employment prospects

1.b. Jargon and acronyms are all over the place

1.c. People who find programming too difficult are eligible for a government bailout

Authors didn't get a bailout either.

Question 2. What kind of tool runs a computer program by figuring out one line at a time?

2.a. A slow tool

2.b. An interpreter

2.c. A compiler

Compilers figure out the instructions beforehand so the program can run faster.

Question 3. Why did James Gosling hole up in his office and create Java?

3.a. He was unhappy with the language he was using on a project

3.b. His rock band wasn't getting any gigs

3.c. When you can't visit YouTube at work, the Internet is pretty dull

He was frustrated with C++. Back in 1991 when Gosling created Java, people thought that YouTube was the place that held YouToothpaste.

Notes and Corrections

  • Edit

Reader Questions

  • None.

Activities

  • Solution 1: Visit Sun's official Java site and read some of the Getting Started with Java Technology pages. Edit
  • Solution 2: An example of instructions (in English) to handle the task:
    • Dear personal computer,
      • Item 1: Give the user a chance to select a number.
      • Item 2: Add 10 to this number.
      • Item 3: Multiply the resulting number by 5.
      • Item 4: Display the final value of the number.
    • Thanks,
    • George Owens
    Edit
   
HOME / FEEDBACK / ORDER THE BOOK / OTHER BOOKS / NEXT HOUR / THANKS

Search terms used to find this page: Java programming, teach yourself, 24 hours, how to, learn, Sams, Macmillan, Java2, JDK1.5, Java 1.5, JDK 1.5, SDK1.5, Java 2 SDK 1.5, SDK 1.5, Java 2 version 1.5, J2SE 1.5, J2SE 5, Java 2 Standard Edition 1.5, Java 2 Standard Edition 5, Java 2 SDK, Java SDK, Rogers Cadenhead, tutorial, hands-on, source code, code, javac, java, appletviewer, help, learning, applet, application, Java Plug-in, plugin, Swing, GUI, interface, Java2D, IO, Java Web Start, games, novice, beginner, neophyte, rookie

Valid HTML 4.01!

Valid CSS!