Concepts of Programming Languages (11th Edition)
Concepts of Programming Languages (11th Edition)
11th Edition
ISBN: 9780133943023
Author: Robert W. 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
Is there a definition for "debugging" in the context of computer programming?
Although Algol60's flexible style permits statements to start and stop anywhere, the majority of programming languages today demand that statements explicitly end with an end symbol, such as a semicolon or a colon. In contrast, Python and a select few other programming languages have a predefined structure whereby statements start in a certain column and conclude at the end of a line of code unless continuation marks are included for each statement. You will discover how fixed or free formats affect readability, writability, and security in this section.
The print is very small. I apologize in advance for this.  With this homework that has already been graded, I am working with the textbook "Starting out with Programming Logic and Design," by Tony Gaddis. A lot of my confusion lies in the fact that we are not working with any specific programming language. This is the language that is written before writinng using a programming language such as Java or C++. In this lesson, we are working with Modules.  My question is, what is the best way to recognize how to organize information as such, and create modules?

Chapter 1 Solutions

Concepts of Programming Languages (11th Edition)

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