.. _SLang2ParameterPassing: .. 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 Parameter-Passing Mechanisms ============================ RP 28 Part 2 ------------ This problem will help you review the difference between *call by value* and *call by reference*. To earn credit for it, you must complete this randomized problem correctly three times in a row. .. avembed:: Exercises/PL/RP28part2.html ka :module: SLang2ParameterPassing :points: 1.0 :required: True :threshold: 3.0 :exer_opts: JXOP-debug=true&JOP-lang=en&JXOP-code=java_generic :long_name: RP set #28, question #2 RP 29 Part 1 ------------ This problem will help you review the differences among *call by value*, *call by reference*, and *call by copy-restore*. To earn credit for it, you must complete this randomized problem correctly three times in a row. .. avembed:: Exercises/PL/RP29part1.html ka :module: SLang2ParameterPassing :points: 1.0 :required: True :threshold: 3.0 :exer_opts: JXOP-debug=true&JOP-lang=en&JXOP-code=java_generic :long_name: RP set #29, question #1 RP 30 Part 1 ------------ This problem will help you review the differences among *call by reference*, *call by copy-restore*, and *call by macro*. To earn credit, you must complete this randomized problem correctly three times in a row. .. avembed:: Exercises/PL/RP30part1.html ka :module: SLang2ParameterPassing :points: 1.0 :required: True :threshold: 3.0 :exer_opts: JXOP-debug=true&JOP-lang=en&JXOP-code=java_generic :long_name: RP set #30, question #1 RP 31 Part 1 ------------ This problem will help you review the differences among *call by copy-restore*, *call by macro*, and *call by name*. To earn credit for it, you must complete this randomized problem correctly three times in a row. .. avembed:: Exercises/PL/RP31part1.html ka :module: SLang2ParameterPassing :points: 1.0 :required: True :threshold: 3.0 :exer_opts: JXOP-debug=true&JOP-lang=en&JXOP-code=java_generic :long_name: RP set #31, question #1 RP 31 Part 2 ------------ This problem will help you review the differences among *call by value*, *call by reference*, *call by copy-restore*, *call by macro*, and *call by name*. To earn credit for it, you must complete this randomized problem correctly three times in a row. .. avembed:: Exercises/PL/RP31part2.html ka :module: SLang2ParameterPassing :points: 1.0 :required: True :threshold: 3.0 :exer_opts: JXOP-debug=true&JOP-lang=en&JXOP-code=java_generic :long_name: RP set #31, question #2