
1.7 Exercises,Problems, and Projects 35
EXERCISES,PROBLEMS, AND PROJECTS
■
Compiler errors are detected by the compiler and are usually
caused by incorrect Java syntax or misspellings. Run-time errors
are detected by the Java Virtual Machine and are usually caused by
exceptions or incorrect use of classes. Logic errors occur during
program execution and are caused by incorrect program design.
1.7 Exercises, Problems,and Projects
1.7.1 Multiple Choice Exercises
1. Which one of these is not an operating system?
❑ Linux
❑ Java
❑ Windows
❑ Unix
2. Which one of these is not an application?
❑ Word
❑ Internet Explorer
❑ Linux
❑ Excel
3. How many bits are in three bytes? ...