EBK CONCEPTS OF PROGRAMMING LANGUAGES
EBK CONCEPTS OF PROGRAMMING LANGUAGES
12th Edition
ISBN: 8220106832448
Author: Sebesta
Publisher: RENT PEARS
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 1, Problem 23RQ

Explanation of Solution

Two language design criteria that are in direct conflict with each other:

For efficient language design, there are so many criteria that have to be kept in mind and the main problem is many of them conflict with each other. So the reconciliation and satisfaction of all of these criteria is a challenging engineering task Developers of any language has to compromise on some criteria to fulfill other criteria.

The choice of these criteria depends mainly upon the use and potential audience of the language. The two contradicting criteria in language design are:

  • Cost of execution; and
  • Reliability.

The classic example of this dilemma is checking of the array bounds for any index.

For example, JAVA, at the compile time checks that all the references to arrays have their indices within the bounds.

  • As a result, JAVA code is more reliable but takes more time to execute if there are more references to arrays.
  • The designers of JAVA traded execution time for reliability...

Blurred answer
Students have asked these similar questions
What is an example of 2 language design criteria that are in direct conflict with each other?
What is an example of two language design criteria that are in directconflict with each other?
What is the significance of keywords in programming languages? How do they impact code readability and functionality?

Chapter 1 Solutions

EBK CONCEPTS OF PROGRAMMING LANGUAGES

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.
Recommended textbooks for you
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Text book image
Fundamentals of Information Systems
Computer Science
ISBN:9781305082168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
Management Of Information Security
Computer Science
ISBN:9781337405713
Author:WHITMAN, Michael.
Publisher:Cengage Learning,