CONCEPTS OF PROGRAMMING LANG.-TEXT
CONCEPTS OF PROGRAMMING LANG.-TEXT
11th Edition
ISBN: 2810017678981
Author: Sebesta
Publisher: PEARSON
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 1, Problem 17PS

Explanation of Solution

Chances of syntax errors between Pascal and Java while using semicolon:

Pascal uses semicolons to separate statements while JAVA uses semicolons to terminate statements.

  • One of these approaches is more natural while the other is more error free syntactically.
  • We personally feel that the Pascal approach is more natural as semicolons are used in English to separate different parts of a sentence.
  • So, it should come naturally to an English speaker that a semicolon should be used to separate statements.
  • So, this approach seems more natural. While the approach used by JAVA is less to prone to syntactic errors...

Blurred answer
Students have asked these similar questions
Some programming languages—for example, Pascal—have used thesemicolon to separate statements, while Java uses it to terminatestatements. Which of these, in your opinion, is most natural and leastlikely to result in syntax errors? Support your answer.
The phrases "cohesion" and "coupling" are used interchangeably in the area of computer programming.
What, exactly, does "debugging" imply in the context of computer programming?

Chapter 1 Solutions

CONCEPTS OF PROGRAMMING LANG.-TEXT

Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education