By Kane on April 11, 2011
Sometimes, after being in a place for a while everything starts to seem normal. People have an amazing capacity for adjustment, and this is probably especially true for PCVs who are stuck in an area with both very supportive volunteers and who are strongly involved in their community or work places. Due to this familiarity it’s easy to forget how culturally foreign Americans are from Gambians and how experiences we take for granted they’ve never had and vice versa.
This is all by way of explanation of an interesting response I received on a recent question to one of my Introduction to Computer Science homework questions. Note, this particular student is one of my better ones and there is nothing wrong with the answer….
The question was something along the lines of “Write a set of steps that conform to the definition of an informal algorithm”.
He wrote
Task is to get a mango
(a) Find a mango tree
(b) Start throwing rocks
(c) If any mango falls, pick it up.
Again, I consider this a pretty decent answer it’s just something that no American college student would likely think of when answering this question… It’s a fairly small example but this type of situation brings to light many challenges we often face in teaching in this sort of environment. How much more of an effective teacher would I be if i had a better cultural and historical background to pull from when creating assignments and giving examples in class? It’s hard to say…
Posted in Peace Corps |
By Kane on April 7, 2011
Dear ole brother sent me a new camera a few weeks ago and I just received in the mail this Tuesday. I thought this would be a good opportunity to do another “Day in pictures” type post and play with my camera. It’s pretty punk rock. Enjoy…
Early in the morning
Making coffee is a complex ritual
Leaving the house
This child called me taubab for like 10 mins
I've got my ducks in a row
Down the dirt road
Past the trash dump
Jammeh's "Alternative" clinic. Alternative to what? Don't ask
Taxi to take me to the office. (Representative sample)
Inside a taxi
The office
YaYa giving me my COS packet = [
See those 2 boxes. They weigh like 30 pounds. They go to Brikama for samantha
I'm sad.
Westfield!
Gele taking me to brikama
Clean air anyone?
On the way
Near the college
Oh. UTG!
My sad office
Wondering about
Grading papers. The students did.... poorly.
Someone's happy to get packages
I got an easter card!
Samantha buying us bean sandwiches
The most important part of my day.
Even gingers love bean sandwiches
See?
We had to walk to samantha's house to drop the boxes off...
So many goodies.
On the way back
Looks hot, no?
See. I work
Not much.
These people hate me
This happens everyday
Stalking samatha.
Going home
I'm happy!
Westfield at night
Taxi to pizza
Mike!
Booze!
Pizza!
Done.
Waiting for samantha on the corner. Like usual.
Finally home
Posted in Peace Corps |
By Kane on February 10, 2011
It’s been a while. Not as long as it’s been before. But. Awhile…
The term for UTG officially started on January 24th or so, not that anybody really showed up or started teaching (including myself…ahem…). My first classes were last week, so, it’s been a little busy around here. For some unknown and inexplicable reason, I decided to pick up three classes at UTG that I’ve never taught before, one of which is completely new and one of which hasn’t been taught in 3 years. This means that I need to develop most of the class material myself which really just takes an inordinate amount of time…
The brand new class is a programming logic and design course that is intended to teach new CS students on how to actually solve a problem. The tragic thing about some of our students here is that they know the syntax of a language well but they are unable to turn a word problem like “take a set of numbers and calculate the average” into a working solution. Hopefully this class will address that issue a bit. The course is going to be taught using several versions of a language called Racket, which is based of Scheme, which for those keeping score at home is a bit like lisp. I decided on the use of this language for a number of reasons, the biggest of which is that the book is available for free online at http://www.htdp.org/ and draft second edition at http://www.ccs.neu.edu/home/matthias/HtDP2e/ .
The language also comes with a nice IDE that allows students to easily play around with the language. That combined with the fact that the language it’s self does not have a complicated syntax means I should be able to get into more advanced computer science topics fairly quickly.
Other than that, I’m teaching a Introduction to Java course, which is the language used in all other programming classes here and a general introduction to computer science. I’m hoping that even in the Java course I’ll be able to incorporate more problem solving concepts found in the How to Design Programs book.
Posted in Peace Corps |
By Kane on January 7, 2011
I’ve finally gotten around to finishing my grading for my CPS 306 course, which is the web programming course I’m teaching for the University of The Gambia. The midterm exam went, how does one say, rather poorly. The class average was a mighty 38. Which, sadly, is actually just below a D on the Gambian grading scale. Now for the better news… The class average for my final exam was a 51, which is slightly above a C for the kids keeping score at home, which I’m actually pretty ok with. Almost everyone went up from the midterm and one student increased his score a powerful 43 points. The lowest drop on the other hand was 10 points. There are a number of factors that might contribute to this, for one I think the test was probably a little easier. I didn’t intend to do this but I think it ended up happening. Another issue my have been that the midterm was the first test or quiz they’ve seen from me so they might not have been used that particular style. Finally, no matter how much I try to emphasize this my students tend to insist on thinking that the midterm exams are much easier than the finals…
Anyway. I did want to post the answer which caused the most tragedy in my little heart…
The question was: Create a function that takes an array and returns the average of the array. If the function is called with no arguments the function should return -1.
Answer:
function average($i $j){
$i = average Array[];
$i = [] = 4;
$i = [] = 2;
return($i as average_array)
else{
echo(-1)
}
Now, for those of you who don’t know php or programming this is a pretty bad… If nothing else, he just picks two random numbers and doesn’t even try to average those. For reference’s sake here is what it might look like
function avg($numbers = FALSE){
if (!$numbers) return -1;
foreach ($numbers as $value){
$total = $value + $total;
$count++;
}
return $total/$count;
}
Posted in Peace Corps |
By Kane on December 24, 2010
So. It’s final exam week at the University. Since I managed to … forget … about my web programming test I thought I’d post pictures for the CPS 111 test. What is CPS 111 you might ask? Well, faithful readers, it’s a basic computer literacy course that all University students have to take. It goes over how to use a computer, type and microsoft office. Plus some other stuff. I think? Why don’t i know? Well, because I didn’t actually teach this class… What’s that? Why would I give an exam that lasted 2 days to 250 people for a class i didn’t teach? Lets just say it has to do with a certain lazy volunteer who shan’t be named.
I just thought the pictures were interesting…. Check them out. The one with the numbers taped to the wall show what I had to do when one of the questions didn’t print out completely….
Practicals
These students hate me
Also they said the test is too long. Not my fault
All taking the written exam
Only 2/3 of these people actually registered for the course
Why take the exam?
I don't know.
Gambian printers suck.
Posted in Peace Corps |