Problem Solving and Programming Concepts
Adam Merrifield (2697795).
Chapter 9 Review Questions: pg 397
- c. A method can contain one or more other methods.
- a. a header
- c. in scope
- b. a value in a method call
#!/bin/bash | |
# send mail to seydesign forum and post to blog | |
(cat <<EOCAT | |
Subject: Testing the mail system | |
MIME-Version: 1.0 | |
Content-Type: text/html | |
Content-Disposition: inline | |
EOCAT | |
cat ~/Desktop/test-mail.html) | sendmail "[email protected]" |
Problem Solving and Programming Concepts | |
Adam Merrifield (2697795). | |
Chapter 11 Review Questions: pg 482 | |
1. c. constructor | |
2. a. exactly one constructor | |
3. c. both of the above | |
4. b. a constructor that requires no arguments |
stack = { | |
postDom : $(function () { | |
var myStack = stacks.myStack; | |
var thisID = myStack.setId('%id%'); | |
myStack.setOption = '%id=someOption%'; | |
myStack.callTallest(thisID); | |
}), | |
preDom : (function() { | |
if (!stacks.myStack) { | |
stacks.myStack = { |
%[if edit]% | |
<!-- | |
/** | |
* Edit mode UI styles | |
* | |
* source (CSS): https://gist.github.com/5264404 | |
* source (HTML): https://gist.github.com/5264439 | |
* | |
* Licensed under the GPL 2: http://www.gnu.org/licenses/gpl-2.0.html | |
* Copyright 2013 Adam Merrifield |
%[if edit]% | |
/** | |
* Edit mode UI styles | |
* | |
* source (CSS): https://gist.github.com/5264404 | |
* source (HTML): https://gist.github.com/5264439 | |
* | |
* Licensed under the GPL 2: http://www.gnu.org/licenses/gpl-2.0.html | |
* Copyright 2013 Adam Merrifield | |
*/ |
Problem Solving and Programming Concepts | |
Adam Merrifield (2697795). | |
Chapter 10 Review Questions: pg 442 | |
1. c. instance | |
2. a. field | |
3. b. client | |
4. b. is-a |
Problem Solving and Programming Concepts | |
Adam Merrifield (2697795). | |
Chapter 9 Assignment | |
################################ | |
start |
Problem Solving and Programming Concepts | |
Adam Merrifield (2697795). | |
Chapter 8 Assignment: pg 350 3a | |
3. a. Professor Zak allows students to drop the two lowest scores on the 10 | |
100-point quizzes she gives during the semester. Design an application that | |
accepts a student name and 10 quiz scores. Output the student’s name and | |
total points for the student’s eight highest-scoring quizzes. |
Problem Solving and Programming Concepts
Adam Merrifield (2697795).
Chapter 9 Review Questions: pg 397
/** | |
* Script for myStack | |
* | |
* A super awesome stack of awesomeness | |
* http://some.url/mystack | |
* | |
* Licensed under the GPL 2 | |
* Copyright 2013 Adam Merrifield | |
*/ |