Course Hero Logo
This textbook is available atAmazon.com Logo
Java Programming 9th Edition

Java Programming (9th Edition)

Book Edition9th Edition
Author(s)Farrell
ISBN9781337397070
PublisherCengage
SubjectComputer Science
Learning Programming Terminology
TWO TRUTHS & A LIE
Comparing Procedural and Object-Oriented Programming Concepts
TWO TRUTHS & A LIE
Features of the Java Programming Language
TWO TRUTHS & A LIE
Analyzing a Java Application that Produces Console Output
TWO TRUTHS & A LIE
Compiling a Java Class and Correcting Syntax Errors
TWO TRUTHS & A LIE
Running a Java Application and Correcting Logic Errors
TWO TRUTHS & A LIE
Adding Comments to a Java Class
TWO TRUTHS & A LIE
Creating a Java Application that Produces GUI Output
TWO TRUTHS & A LIE
Chapter 1, Learning Programming Terminology, TWO TRUTHS & A LIE, Exercise 01
Page 5

TWO TRUTHS & A LIE

 

In each "Two Truths & a Lie" section, two of the numbered statements are true, and one is false. Identify the false statement and explain why it is false.

 

1. Unlike a low-level programming language, a high-level programming language allows you to use a vocabulary of reasonable terms instead of the sequences of on-and-off switches that perform the corresponding tasks.

2. A syntax error occurs when you violate the rules of a language; locating and repairing all syntax errors is part of the process of debugging a program.

3. Logic errors are fairly easy to find because the software that translates a program finds all the logic errors for you.

Answer

  1. true
  2. true
  3. false
Did you like this example?
Subscribe for full access
Page 5