Concepts Of Programming Languages
Concepts Of Programming Languages
12th Edition
ISBN: 9780134997186
Author: Sebesta, Robert W.
Publisher: Pearson,
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 2, Problem 35RQ

Explanation of Solution

The characteristics of C that make it less safe than Pascal:

C was insecure compared to Pascal due its lack of complete type checking and management of pointers.

  • Pascal has a better ability to detect type-related errors at compile time, whereas C allows more flexible handling of mixed data-types when required.
  • A language is strongly typed if:
    • (1) Every object in the language belongs to exactly one type.
    • (2) Type conversion occurs by converting a value from one type to another.
  • Conversion does not occur by viewing the representation of a value as a different type.
  • Although C is a typed language, it is not strongly typed whereas Pascal comes close to a strongly typed language.
  • For example in C, functions can be written and parameters types were not all checked until C version C99...

Blurred answer
Students have asked these similar questions
I actually wanted it coded in C Programming.
What Differs C And C++ From Each Other? Which One Would You Choose To Use Instead?
I WANT IN SIMPLE C LANGUAGE THIS QUESTION:

Chapter 2 Solutions

Concepts Of Programming Languages

Ch. 2 - Prob. 11RQCh. 2 - Prob. 12RQCh. 2 - Prob. 13RQCh. 2 - Prob. 14RQCh. 2 - Prob. 15RQCh. 2 - Prob. 16RQCh. 2 - Prob. 17RQCh. 2 - Prob. 18RQCh. 2 - Prob. 19RQCh. 2 - Prob. 20RQCh. 2 - Prob. 21RQCh. 2 - On what programming language was COBOL based?Ch. 2 - In what year did the COBOL design process begin?Ch. 2 - What data structure that appeared in COBOL...Ch. 2 - What organization was most responsible for the...Ch. 2 - Prob. 26RQCh. 2 - Prob. 27RQCh. 2 - Prob. 28RQCh. 2 - Prob. 29RQCh. 2 - Prob. 30RQCh. 2 - Prob. 31RQCh. 2 - Prob. 32RQCh. 2 - Prob. 33RQCh. 2 - Prob. 34RQCh. 2 - Prob. 35RQCh. 2 - Prob. 36RQCh. 2 - Prob. 37RQCh. 2 - Prob. 38RQCh. 2 - Prob. 39RQCh. 2 - What Ada construct provides support for abstract...Ch. 2 - What populates the Smalltalk world?Ch. 2 - Prob. 42RQCh. 2 - Prob. 43RQCh. 2 - Prob. 44RQCh. 2 - What do the Ada and COBOL languages have in...Ch. 2 - What was the first application for Java?Ch. 2 - Prob. 47RQCh. 2 - How does the typing system of PHP and JavaScript...Ch. 2 - Prob. 49RQCh. 2 - Prob. 50RQCh. 2 - Prob. 51RQCh. 2 - Prob. 52RQCh. 2 - Prob. 53RQCh. 2 - What data structure does Python use in place of...Ch. 2 - Prob. 55RQCh. 2 - What characteristic of Rubys arithmetic operators...Ch. 2 - Prob. 57RQCh. 2 - Prob. 58RQCh. 2 - Prob. 59RQCh. 2 - Prob. 60RQCh. 2 - Prob. 61RQCh. 2 - Prob. 62RQCh. 2 - Prob. 63RQCh. 2 - Prob. 1PSCh. 2 - Prob. 2PSCh. 2 - Prob. 3PSCh. 2 - Prob. 4PSCh. 2 - Prob. 5PSCh. 2 - Prob. 6PSCh. 2 - Prob. 7PSCh. 2 - Prob. 8PSCh. 2 - Prob. 9PSCh. 2 - Prob. 10PSCh. 2 - Prob. 11PSCh. 2 - Prob. 12PSCh. 2 - Prob. 13PSCh. 2 - Prob. 14PSCh. 2 - Prob. 15PSCh. 2 - Prob. 16PSCh. 2 - Prob. 17PSCh. 2 - Prob. 18PSCh. 2 - Prob. 19PSCh. 2 - Prob. 20PSCh. 2 - Prob. 21PSCh. 2 - Prob. 22PSCh. 2 - Prob. 23PSCh. 2 - Prob. 24PS
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
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