Concepts Of Programming Languages
12th Edition
ISBN: 9780134997186
Author: Sebesta, Robert W.
Publisher: Pearson,
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 1, Problem 13RQ
Explanation of Solution
Importance of type-checking of parameters of a sub-
Type checking means the type of the parameters passed to a subprogram should be cross checked against the formal parameters of the subprogram.
- It is extremely important to check the type of parameters to maintain the reliability of the code.
- If type checking is not present in a language, it can produce erroneous results. Programs terminated unexpectedly.
- The type checking can be done either at compile time or run time. Type checking at run time means the type of parameters is checked during the compilation of the program.
- While type checking at run time means that the type of parameters is checked at the run time...
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Why is type checking the parameters of a subprogram important?
What is an overloaded subprogram?
Explain.........
______ are the parameters bound to the subprogram in a subprogram call statement.
Chapter 1 Solutions
Concepts Of Programming Languages
Ch. 1 - Why is it useful for a programmer to have some...Ch. 1 - Prob. 2RQCh. 1 - Prob. 3RQCh. 1 - Prob. 4RQCh. 1 - Prob. 5RQCh. 1 - In what language is most of UNIX written?Ch. 1 - What is the disadvantage of having too many...Ch. 1 - How can user-defined operator overloading harm the...Ch. 1 - Prob. 9RQCh. 1 - Prob. 10RQ
Ch. 1 - Describe some design trade-offs between efficiency...Ch. 1 - Prob. 12RQCh. 1 - Prob. 13RQCh. 1 - Prob. 14RQCh. 1 - Prob. 15RQCh. 1 - Prob. 16RQCh. 1 - Prob. 17RQCh. 1 - Prob. 18RQCh. 1 - Prob. 19RQCh. 1 - Prob. 20RQCh. 1 - Prob. 21RQCh. 1 - Prob. 22RQCh. 1 - Prob. 23RQCh. 1 - Prob. 24RQCh. 1 - Prob. 25RQCh. 1 - What role does the symbol table play in a...Ch. 1 - Prob. 27RQCh. 1 - Prob. 28RQCh. 1 - What are the advantages in implementing a language...Ch. 1 - Prob. 1PSCh. 1 - What are some features of specific programming...Ch. 1 - Prob. 3PSCh. 1 - Prob. 4PSCh. 1 - Prob. 5PSCh. 1 - What common programming language statement, in...Ch. 1 - Java uses a right brace to mark the end of all...Ch. 1 - Prob. 8PSCh. 1 - Explain the different aspects of the cost of a...Ch. 1 - Prob. 10PSCh. 1 - Describe some design trade-offs between efficiency...Ch. 1 - Prob. 12PSCh. 1 - Prob. 13PSCh. 1 - Prob. 14PSCh. 1 - How do type declaration statements for simple...Ch. 1 - Write an evaluation of some programming language...Ch. 1 - Prob. 17PSCh. 1 - Many contemporary languages allow two kinds of...
Knowledge Booster
Similar questions
- What are the two issues that arise when subprogram names areparameters?arrow_forwardWhat is a static ancestor of a subprogram? What is a dynamic ancestorof a subprogram?arrow_forwardWhat are the basic principles of programming language implementation when implementing subprograms?WOULD YOU PLEASE GIVE A SHORT EXPLANATION OF THE ABSTRACT DATA TYPES FOUND IN PROGRAMMING PRINCIPLES?arrow_forward
- What's the difference between Oops and functional programming, exactly?arrow_forwardWhat are the principles of programming language and how do you describe implementing subprograms in it? WHAT ARE THE ABSTRACT DATA TYPES IN THE PRINCIPLES OF PROGRAMMING LANGUAGE AND HOW DO THEY WORK?arrow_forwardWhat are some practical applications of the dynamic programming approach?arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology PtrProgramming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:Cengage
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage