$30
Logically Controlled Loops in Dart, Javascript, Lua, PHP, Python, Ruby, and Rust
In this homework assignment you will investigate how some design issues, related to the logically controlled loops, are addressed in Dart, Javascript, Lua, PHP, Python, Ruby, and Rust languages. The design issues you will investigate are
What are the location of tests? Pretest, posttest, or both?
What kind of user-located loop control mechanisms are provided?
First investigate how each of these issues are answered in each of these programming languages. Then write simple programs clearly illustrating the design decisions for the issues in the languages. Discuss the results of execution of your programs in a report.
For each design issue and for each language, your example codes should explain the answer using code segments in the respective language. You can illustrate the answers to these questions, in different parts of a single program. The example programs must be complete.
You can use online compiler/interpreters for this homework.
For each language, prepare a single source code file that examplifies and tests each design issue, in the order given above. Your example programs must be different than the sample codes that may be available in the Internet. To help the TA understand your code and give you good grades, appropriately comment your source to explain your example and why your example is appropriate for this homework.
Organize all of your experiments and their results and put them into a report. The report should include the following:
For each language and for each design issue, sample code segments and the results of their execution. You should explain what your example does, clearly. Make sure you give a list of references and proper citations to these references in your report about the design choices for these issues in the languages covered in this homework.
A section that includes your evaluation of these languages in terms of readability and writability of logicall-controlled loops. Write a paragraph discussing, in your opinion, which language is the best for logicall-controlled loops.. Explain why.
A section about your learning strategy. A learning strategy is an individual's approach to complete a task. In this section, discuss, in detail, the material and tools you used, experiments you performed. Also talk about personal communication, if you had. Give the URLs of the online compiler/interpreters you used to run your programs