SlideShare a Scribd company logo
1 of 9
Download to read offline
MCN 7105: Structure and Interpretation of Computer
Programs
Group I (CS)
Applying Simple Procedures
Group I (CS) MCN 7105 October 20, 2019 1 / 9
Overview
1 Applying Simple Procedures
Introduction
Procedure Definition
Procedure Evaluation
Group I (CS) MCN 7105 October 20, 2019 2 / 9
Applying Simple Procedures Introduction
Applying Simple Procedures
An environment consists of a sequence of frames.
A frame is a table of bindings, a pairing of a name and a value.
A frame might be shared by multiple environments.
A procedure object consists of some code, together with a pointer
to the enclosing environment.
Group I (CS) MCN 7105 October 20, 2019 3 / 9
Applying Simple Procedures Procedure Definition
Procedure Definition
average
Group I (CS) MCN 7105 October 20, 2019 4 / 9
Applying Simple Procedures Procedure Evaluation
Procedure Evaluation
Steps
To apply a compound procedure P to arguments:
Create a new frame A
Make A into an environment E
In A, bind the parameters of P to the argument values
Evaluate the body of P with E as the current environment
Group I (CS) MCN 7105 October 20, 2019 5 / 9
Applying Simple Procedures Procedure Evaluation
Procedure Evaluation
average
Group I (CS) MCN 7105 October 20, 2019 6 / 9
Applying Simple Procedures Procedure Evaluation
Procedure Definition
hypotenuse
Group I (CS) MCN 7105 October 20, 2019 7 / 9
Applying Simple Procedures Procedure Evaluation
Procedure Evaluation
hypotenuse
Group I (CS) MCN 7105 October 20, 2019 8 / 9
Applying Simple Procedures Conclusion
Questions?
Group I (CS) MCN 7105 October 20, 2019 9 / 9

More Related Content

Similar to Evaluate procedures

Seminar pasqualina potena
Seminar pasqualina potenaSeminar pasqualina potena
Seminar pasqualina potenafbk-das
 
be5b99cpl-lec01-slides.pdf
be5b99cpl-lec01-slides.pdfbe5b99cpl-lec01-slides.pdf
be5b99cpl-lec01-slides.pdfElisée Ndjabu
 
Ntc 260 ntc260 ntc 260 best tutorials guide uopstudy.com
Ntc 260 ntc260 ntc 260 best tutorials guide  uopstudy.comNtc 260 ntc260 ntc 260 best tutorials guide  uopstudy.com
Ntc 260 ntc260 ntc 260 best tutorials guide uopstudy.comNewUOPCourse
 
Ntc 260 ntc260 ntc 260 education for service uopstudy.com
Ntc 260 ntc260 ntc 260 education for service   uopstudy.comNtc 260 ntc260 ntc 260 education for service   uopstudy.com
Ntc 260 ntc260 ntc 260 education for service uopstudy.comNewUOPCourse
 
Course Info
Course InfoCourse Info
Course Infojv66
 
Usability Assessment of a Context-Aware and Personality-Based Mobile Recommen...
Usability Assessment of a Context-Aware and Personality-Based Mobile Recommen...Usability Assessment of a Context-Aware and Personality-Based Mobile Recommen...
Usability Assessment of a Context-Aware and Personality-Based Mobile Recommen...Matthias Braunhofer
 
New C++ features for writing DSLs . Ivan Čukić. CoreHard Spring 2019
New C++ features for writing DSLs . Ivan Čukić. CoreHard Spring 2019New C++ features for writing DSLs . Ivan Čukić. CoreHard Spring 2019
New C++ features for writing DSLs . Ivan Čukić. CoreHard Spring 2019corehard_by
 
Cost-Aware Virtual Machine Placement across Distributed Data Centers using Ba...
Cost-Aware Virtual Machine Placement acrossDistributed Data Centers using Ba...Cost-Aware Virtual Machine Placement acrossDistributed Data Centers using Ba...
Cost-Aware Virtual Machine Placement across Distributed Data Centers using Ba...Soodeh Farokhi
 
USING IMAGE CLASSIFICATION TO INCENTIVIZE RECYCLING
USING IMAGE CLASSIFICATION TO INCENTIVIZE RECYCLINGUSING IMAGE CLASSIFICATION TO INCENTIVIZE RECYCLING
USING IMAGE CLASSIFICATION TO INCENTIVIZE RECYCLINGIRJET Journal
 
Building Performance Modeling: How to Use Modeling Analysis to Optimize Desig...
Building Performance Modeling: How to Use Modeling Analysis to Optimize Desig...Building Performance Modeling: How to Use Modeling Analysis to Optimize Desig...
Building Performance Modeling: How to Use Modeling Analysis to Optimize Desig...YRG sustainability
 
Understanding20and20 simulating20the20iec206185020standard
Understanding20and20 simulating20the20iec206185020standardUnderstanding20and20 simulating20the20iec206185020standard
Understanding20and20 simulating20the20iec206185020standardManojlooki
 
David.graham
David.grahamDavid.graham
David.grahamNASAPMC
 
Pune PradhiKaran Nigdi - CLOUD COMPUTING CLASSES @ MINDSCRIPTS
Pune PradhiKaran Nigdi - CLOUD COMPUTING CLASSES @ MINDSCRIPTSPune PradhiKaran Nigdi - CLOUD COMPUTING CLASSES @ MINDSCRIPTS
Pune PradhiKaran Nigdi - CLOUD COMPUTING CLASSES @ MINDSCRIPTSMindScripts SoftwareTestingPune
 
Proactive Process Adaptation using Deep Learning Ensembles
Proactive Process Adaptation using Deep Learning Ensembles Proactive Process Adaptation using Deep Learning Ensembles
Proactive Process Adaptation using Deep Learning Ensembles Andreas Metzger
 
Building with Glass V1 Formalizing the Forward.pdf
Building with Glass V1 Formalizing the Forward.pdfBuilding with Glass V1 Formalizing the Forward.pdf
Building with Glass V1 Formalizing the Forward.pdfJeanMarshall8
 
Building with Glass V1 Formalizing the Forward.pdf
Building with Glass V1 Formalizing the Forward.pdfBuilding with Glass V1 Formalizing the Forward.pdf
Building with Glass V1 Formalizing the Forward.pdfBrij Consulting, LLC
 
Cost Analysis of ComFrame: A Communication Framework for Data Management in ...
Cost Analysis of ComFrame: A Communication Framework for  Data Management in ...Cost Analysis of ComFrame: A Communication Framework for  Data Management in ...
Cost Analysis of ComFrame: A Communication Framework for Data Management in ...IOSR Journals
 
Simulations Project Marking Contingencies.pdf
Simulations Project Marking Contingencies.pdfSimulations Project Marking Contingencies.pdf
Simulations Project Marking Contingencies.pdfBrij Consulting, LLC
 
Privacy and Provenance in Environmental Impact Assessment - ISIE 2015 Surrey UK
Privacy and Provenance in Environmental Impact Assessment - ISIE 2015 Surrey UKPrivacy and Provenance in Environmental Impact Assessment - ISIE 2015 Surrey UK
Privacy and Provenance in Environmental Impact Assessment - ISIE 2015 Surrey UKBrandon Kuczenski
 
High Performance Cooperative Distributed Systems in Adtech
High Performance Cooperative Distributed Systems in AdtechHigh Performance Cooperative Distributed Systems in Adtech
High Performance Cooperative Distributed Systems in AdtechC4Media
 

Similar to Evaluate procedures (20)

Seminar pasqualina potena
Seminar pasqualina potenaSeminar pasqualina potena
Seminar pasqualina potena
 
be5b99cpl-lec01-slides.pdf
be5b99cpl-lec01-slides.pdfbe5b99cpl-lec01-slides.pdf
be5b99cpl-lec01-slides.pdf
 
Ntc 260 ntc260 ntc 260 best tutorials guide uopstudy.com
Ntc 260 ntc260 ntc 260 best tutorials guide  uopstudy.comNtc 260 ntc260 ntc 260 best tutorials guide  uopstudy.com
Ntc 260 ntc260 ntc 260 best tutorials guide uopstudy.com
 
Ntc 260 ntc260 ntc 260 education for service uopstudy.com
Ntc 260 ntc260 ntc 260 education for service   uopstudy.comNtc 260 ntc260 ntc 260 education for service   uopstudy.com
Ntc 260 ntc260 ntc 260 education for service uopstudy.com
 
Course Info
Course InfoCourse Info
Course Info
 
Usability Assessment of a Context-Aware and Personality-Based Mobile Recommen...
Usability Assessment of a Context-Aware and Personality-Based Mobile Recommen...Usability Assessment of a Context-Aware and Personality-Based Mobile Recommen...
Usability Assessment of a Context-Aware and Personality-Based Mobile Recommen...
 
New C++ features for writing DSLs . Ivan Čukić. CoreHard Spring 2019
New C++ features for writing DSLs . Ivan Čukić. CoreHard Spring 2019New C++ features for writing DSLs . Ivan Čukić. CoreHard Spring 2019
New C++ features for writing DSLs . Ivan Čukić. CoreHard Spring 2019
 
Cost-Aware Virtual Machine Placement across Distributed Data Centers using Ba...
Cost-Aware Virtual Machine Placement acrossDistributed Data Centers using Ba...Cost-Aware Virtual Machine Placement acrossDistributed Data Centers using Ba...
Cost-Aware Virtual Machine Placement across Distributed Data Centers using Ba...
 
USING IMAGE CLASSIFICATION TO INCENTIVIZE RECYCLING
USING IMAGE CLASSIFICATION TO INCENTIVIZE RECYCLINGUSING IMAGE CLASSIFICATION TO INCENTIVIZE RECYCLING
USING IMAGE CLASSIFICATION TO INCENTIVIZE RECYCLING
 
Building Performance Modeling: How to Use Modeling Analysis to Optimize Desig...
Building Performance Modeling: How to Use Modeling Analysis to Optimize Desig...Building Performance Modeling: How to Use Modeling Analysis to Optimize Desig...
Building Performance Modeling: How to Use Modeling Analysis to Optimize Desig...
 
Understanding20and20 simulating20the20iec206185020standard
Understanding20and20 simulating20the20iec206185020standardUnderstanding20and20 simulating20the20iec206185020standard
Understanding20and20 simulating20the20iec206185020standard
 
David.graham
David.grahamDavid.graham
David.graham
 
Pune PradhiKaran Nigdi - CLOUD COMPUTING CLASSES @ MINDSCRIPTS
Pune PradhiKaran Nigdi - CLOUD COMPUTING CLASSES @ MINDSCRIPTSPune PradhiKaran Nigdi - CLOUD COMPUTING CLASSES @ MINDSCRIPTS
Pune PradhiKaran Nigdi - CLOUD COMPUTING CLASSES @ MINDSCRIPTS
 
Proactive Process Adaptation using Deep Learning Ensembles
Proactive Process Adaptation using Deep Learning Ensembles Proactive Process Adaptation using Deep Learning Ensembles
Proactive Process Adaptation using Deep Learning Ensembles
 
Building with Glass V1 Formalizing the Forward.pdf
Building with Glass V1 Formalizing the Forward.pdfBuilding with Glass V1 Formalizing the Forward.pdf
Building with Glass V1 Formalizing the Forward.pdf
 
Building with Glass V1 Formalizing the Forward.pdf
Building with Glass V1 Formalizing the Forward.pdfBuilding with Glass V1 Formalizing the Forward.pdf
Building with Glass V1 Formalizing the Forward.pdf
 
Cost Analysis of ComFrame: A Communication Framework for Data Management in ...
Cost Analysis of ComFrame: A Communication Framework for  Data Management in ...Cost Analysis of ComFrame: A Communication Framework for  Data Management in ...
Cost Analysis of ComFrame: A Communication Framework for Data Management in ...
 
Simulations Project Marking Contingencies.pdf
Simulations Project Marking Contingencies.pdfSimulations Project Marking Contingencies.pdf
Simulations Project Marking Contingencies.pdf
 
Privacy and Provenance in Environmental Impact Assessment - ISIE 2015 Surrey UK
Privacy and Provenance in Environmental Impact Assessment - ISIE 2015 Surrey UKPrivacy and Provenance in Environmental Impact Assessment - ISIE 2015 Surrey UK
Privacy and Provenance in Environmental Impact Assessment - ISIE 2015 Surrey UK
 
High Performance Cooperative Distributed Systems in Adtech
High Performance Cooperative Distributed Systems in AdtechHigh Performance Cooperative Distributed Systems in Adtech
High Performance Cooperative Distributed Systems in Adtech
 

More from rajab ssemwogerere

Define cancer treatment using knn and naive bayes algorithms
Define cancer treatment using knn and naive bayes algorithmsDefine cancer treatment using knn and naive bayes algorithms
Define cancer treatment using knn and naive bayes algorithmsrajab ssemwogerere
 

More from rajab ssemwogerere (6)

Presentation machine learning
Presentation machine learningPresentation machine learning
Presentation machine learning
 
Define cancer treatment using knn and naive bayes algorithms
Define cancer treatment using knn and naive bayes algorithmsDefine cancer treatment using knn and naive bayes algorithms
Define cancer treatment using knn and naive bayes algorithms
 
Data security and privacy
Data security and privacyData security and privacy
Data security and privacy
 
Access control data security
Access control data securityAccess control data security
Access control data security
 
Application virtualization
Application virtualizationApplication virtualization
Application virtualization
 
Map reduce presentation
Map reduce presentationMap reduce presentation
Map reduce presentation
 

Recently uploaded

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 

Recently uploaded (20)

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 

Evaluate procedures

  • 1. MCN 7105: Structure and Interpretation of Computer Programs Group I (CS) Applying Simple Procedures Group I (CS) MCN 7105 October 20, 2019 1 / 9
  • 2. Overview 1 Applying Simple Procedures Introduction Procedure Definition Procedure Evaluation Group I (CS) MCN 7105 October 20, 2019 2 / 9
  • 3. Applying Simple Procedures Introduction Applying Simple Procedures An environment consists of a sequence of frames. A frame is a table of bindings, a pairing of a name and a value. A frame might be shared by multiple environments. A procedure object consists of some code, together with a pointer to the enclosing environment. Group I (CS) MCN 7105 October 20, 2019 3 / 9
  • 4. Applying Simple Procedures Procedure Definition Procedure Definition average Group I (CS) MCN 7105 October 20, 2019 4 / 9
  • 5. Applying Simple Procedures Procedure Evaluation Procedure Evaluation Steps To apply a compound procedure P to arguments: Create a new frame A Make A into an environment E In A, bind the parameters of P to the argument values Evaluate the body of P with E as the current environment Group I (CS) MCN 7105 October 20, 2019 5 / 9
  • 6. Applying Simple Procedures Procedure Evaluation Procedure Evaluation average Group I (CS) MCN 7105 October 20, 2019 6 / 9
  • 7. Applying Simple Procedures Procedure Evaluation Procedure Definition hypotenuse Group I (CS) MCN 7105 October 20, 2019 7 / 9
  • 8. Applying Simple Procedures Procedure Evaluation Procedure Evaluation hypotenuse Group I (CS) MCN 7105 October 20, 2019 8 / 9
  • 9. Applying Simple Procedures Conclusion Questions? Group I (CS) MCN 7105 October 20, 2019 9 / 9