This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I see I did (first time around exploring the SaaS1 class) create a github account | |
but have not used it really yet. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I see I did (first time around exploring the SaaS1 class) create a github account | |
but have not used it really yet. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I see I did (first time around exploring the SaaS1 class) create a github account | |
but have not used it really yet. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Will the URL work this time? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Let me know if you can see this - also - how do I see that you responded | |
or commented on these - you said you commented earlier on the not-logged-in | |
post of a gist whose URL worked for me. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here is my first question on Homework #2 Problem #1 and I did the worst on question #1 (where I got the most parts incorrect). | |
Part 1: Unary Constraints: | |
My incorrect answer was: (i), (iii), (iv), (v), (vi) | |
Domains after unary constraints: | |
A: (1,1), (1,3), (2,2), (2,3) | |
B: (1,3), (2,3) | |
C: (1,1), (1,2), (1,3), (2,1), (2,2) | |
D: (1,2), (2,1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My code for 169.1 (take 2) homework #1 question #2 (RPS game) is below along with the testing output. | |
I realize that you should take any nested level of an RPS game, but I started out simply here, not yet | |
knowing how to do any nesting level, so that would be my first question. | |
But given my code below and the test cases I gave it, the specific 8 player given in the description, | |
along with the 16 player, this works fine for me. Yet it fails the autograder, so this simplified version | |
that does not allow any nesting level is my first question. | |
I'm new to Ruby and have mostly been writing in Python and before that C, so new to this syntax, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In this 169.1 homework #1 question #3, I can see that I find the anagrams correctly and put them in a list, | |
but it is not in the correct form for the expected output. I am guessing here that my ignorance with Ruby | |
is causing me trouble here again? | |
=begin | |
Karen West, April 8th, 2013 | |
HW 1-3: Anagrams | |
An anagram is a word obtained by rearranging the letters of another word. For example, "rats", "tars", and "star" are anagrams of one another, as are "dictionary" and "indicatory". We will call any array of single-word anagrams an anagram group. For instance, ["rats", "tars", "star"] is an anagram group, as is ["dictionary"]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For 169.1 saas homework #1 question #4, I have not yet read in the book about this which is what I plan to do later today. | |
So that may help me here. For this question, it passes 4 of the 6 autograder tests. | |
=begin | |
Karen West, Homework #1, part 4, SaaS1, April 8th, 2013 | |
HW 1-4: Basic Object Oriented Programming | |
Part A: Create a class Dessert with getters and setters for name and calories. Define instance methods healthy?, which returns true if a dessert has less than 200 calories, and delicious? which returns true for all desserts. | |
Here is the framework: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Below someone named pyTony (who was also in my Python class last semester from MIT) posted the following solutions | |
to his project1, which I used to try to get mine working after the due date, since he had posted them, and then | |
they took down the solutions, perhaps since they want to reuse these questions another time, not sure. | |
Those are from search.py and all work (dfs, bfs, ucs, astar searching). I don't know if you were in the MIT class | |
in Python last semester, but they were much more lenient (and may have changed since then) about not only posting | |
an official solution after the due date, but they also allowed ALL students who may have had different approaches | |
to the problem to post their solutions for comparison and learning purposes on the class Wiki, and in the cases where | |
I got the answer wrong, I was able to correct it and move onto the next project the next week, or in the cases where | |
I got it correct but someone had implemented a better and more efficient solution, I could also learn from that. |
OlderNewer