Types of exercises

Prediction

Prediction of R code behavior.

These exercises expect students to be able predict the result of certain R expressions without using the computer. Such exercises are very effective in finding uncertainties and gaps in knowledge.

Correction

Correction of malfunctioning code.

Such exercises are invaluable for learning syntax and pattern recognition in computer code.

Exploration

Exploration of R code behavior.

Finding combinations is a useful way to get first-hand, personal experience in the language.

Paraphrasing

Paraphrasing on given R expressions.

Computer languages are redundant by nature. These exercises expect students to take existing computer code and recalculate the same result with different tools.

Optimization

Optimization of ineffective code.

Higher-level paraphrasing exercises expect students to improve the overall performance of a given code.

Modification

Modification of existing code to perform calculations.

Implementation

Implementation of code instructions given in English, usually to create a function.

Analysis

The analysis of a given object or file. Answer the questions using progammed data manipulation techniques.