.. _FP7:
.. raw:: html
.. |--| unicode:: U+2013 .. en dash
.. |---| unicode:: U+2014 .. em dash, trimming surrounding whitespace
:trim:
.. This file is part of the OpenDSA eTextbook project. See
.. http://algoviz.org/OpenDSA for more details.
.. Copyright (c) 2012-13 by the OpenDSA Project Contributors, and
.. distributed under an MIT open source license.
.. avmetadata::
:author: David Furcy and Tom Naps
===========================================
Functional Programming - Part 7 (W 2/24/16)
===========================================
RP 11 part 1
------------
Topics of the day:
1. Filtering pattern
2. Folding or reduce pattern
The review problem set for today contains four review problems.
This first problem deals with the filtering pattern.
.. avembed:: Exercises/PL/RP11part1.html ka
:module: FP7
:long_name: RP set #11, question #1
:points: 1.0
:required: True
:threshold: 1.0
:exer_opts: JXOP-debug=true&JOP-lang=en&JXOP-code=java
RP 11 part 2
------------
This problem deals with the folding pattern.
.. avembed:: Exercises/PL/RP11part2.html ka
:module: FP7
:long_name: RP set #11, question #2
:points: 1.0
:required: True
:threshold: 1.0
:exer_opts: JXOP-debug=true&JOP-lang=en&JXOP-code=java
RP 11 part 3
------------
This problem uses both the mapping and the folding patterns.
.. avembed:: Exercises/PL/RP11part3.html ka
:module: FP7
:long_name: RP set #11, question #3
:points: 1.0
:required: True
:threshold: 1.0
:exer_opts: JXOP-debug=true&JOP-lang=en&JXOP-code=java
RP 11 part 4
------------
This problem will give you intensive practice with the folding
pattern. This problem is randomized and must be solved three times in
a row.
.. avembed:: Exercises/PL/RP11part4.html ka
:module: FP7
:long_name: RP set #11, question #4
:points: 1.0
:required: True
:threshold: 3.0
:exer_opts: JXOP-debug=true&JOP-lang=en&JXOP-code=java