Loading, please wait ...
Open its course - Design Patterns
Interpreter By Mukhtiar Zamin
Summary

Summary

3
Teachers with
Mukhtiar Zamin
229
Followers
For Learning
All
Visibility
Security Status
2
Contributions
By Teachers
Notes
  1. Students are auto-evaluated against related topics to ensure they learned it.

In this lecture we will learn about the Interpreter design pattern.

Noe: Interactive video is available to authenticated class students only.

Lab for All, By Mukhtiar Zamin


Watch the following example and then work on the lab tasks: 
Code: Click on tutorialspoint.com


Lab Tasks for All, By Mukhtiar Zamin

Add one another non-terminal expression to this example (SonExpression or DaughterExpression), i.e. 

  • If "Stuart is a son of Robert" in the context and we ask SonExpression then it returns true, Since Expression 1 is "Robert" and Expression 2 is "Stuart".
  • If "Samantha is a daughter of Julie" in the context and we ask DaughterExpression to interpret this, then it returns true, Since Expression 1 is "Julie" and Expression 2 is "Samantha".

×

Interpreter Evaluation

To earn PASS status, system is about to evaluate you using multiple choice questions (MCQs) and True/False type questions.

  • CAREFULLY READ THE FOLLOWING INSTRUCTIONS!
  • Make sure you have learned this lecture along with its topics and tutorials.
  • On first evaluation you get 100% marks on correct answer, then on 2nd you get 95% marks and so on.
  • Answer the questions with a gap NOT MORE THAN A MINUTE, Otherwise it will re-start.

I have read above instrucitons and ready for evaluation.
Your's
Status
Not Registered
Teacher
Mukhtiar Zamin
Alert
Your performance monitoring will start when you register in a class of this course.

Questions on

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn, Evaluate and Optimize

Follow Us
Facebook Switch Display Mode Enable Translation
© 2024 - Subject Expert