Tag: csed
Earlier today I saw a facebook post asking for thoughts on teaching sorting. The question was specifically not about motivations like having the class act out sorts or sort cards but rather about the coding. I've been meaning to write about this since last summer when I attended Owen Astrachan's talk on the same subject.
Early in my career when teaching sorting I developed the n^2 sorts as standalone routines just as they're presented in most books but as I gained more experience as a teacher, I changed it up to build the sorts (at least some of them) from existing concepts.
# COMMENTSI just read this post by Bethany Crystal - Going off script.
Bethany writes that while she normally essentially scripts important presentations, this time she went more off the cuff.
It made me think about how I teach and a disturbing trend I've seen in CS education and education in general.
I've never strictly used a script for teaching. When I started I did use very detailed lesson plans. Back then I was teaching math.
# COMMENTSParts 1 and 2 Part 1 Part 2 Part 3 In the first two parts of this set of posts I wrote about the motivation and design a question answering system that can answer "who" queries like "who played Spiderman" or "who shot John Lennon?" It's not perfect. When doing the Spiderman query, chances are the desired answer will be at or near the top of the list of most frequently appearing names but so will "Peter Parker.
# COMMENTSParts 1 and 3 Part 1 Part 3 Part 2 When we left off last time we used a search engine API to gather a whole bunch of documents with the term "played Spiderman" or "who played Spiderman." Now we have to process these documents to answer the question. Fortunately, the documents are basically just big strings of text.
Since we're doing a "who" query we want to find all the names in all the documents.
# COMMENTSParts 2 and 3 [[/post/who-played-spiderman-2/][Part 2] Part 3 I wasn't going to teach this lesson today. I was planning on starting a multi day project starting with an exercise in specification writing and design.
Beforehand though, we had to talk about classes. One of my students asked if probability and/or statistics were really important for CS. I started to cite a few examples and then decided to segue into this.
# COMMENTSNever use global variables Never break out of a loop These are two "best practices" that are frequently touted in early CS classes both at the high school and college level.
They came up a couple of times yesterday. Once in the Facebook APCS-A teachers group and once on Alfred Thompson's blog.
Alfred post was topically on global variables. Actually it was deeper than just global variables. It's also about how students progress - what they can figure out at various stages of progress and how what seems like a good idea early on the path to computer science doesn't seem so great later on.
# COMMENTSWe've heard it many times with computer science - "the kids know more than the teacher." On the one hand, the truth is that this isn't so much the case. Kids might use computers all the time but they don't necessarily know much about them or about computer science (link 1, link 2). Then you have students who think they know all about CS but really don't. They might have picked up a bit of coding somewhere but more often than not, the knowledge is pretty superficial.
# COMMENTSI've written before about why Hunter College CS is so important for NYC and I've been working hard to develop our Daedalus Scholars honors CS program - a program in which students receive a scholarship along with all sorts of special opportunities to add on to their in class CS education. The program and Hunter CS as a whole have made a lot of progress over the past two years and each year I roll out new special activities and events for my honors students.
# COMMENTSThere's been a lot of buzz recently concernting Computational Thinking (CT) vs Computer Science (CS) vs Coding / Programming on the interwebs.
Some of the questions and concerns that I've seen recently include:
What is CT?? Will rich schools get CS and poor only CT? Will rich schools get CS and poor on coding? The first question is a big one and as a community we haven't answered it yet.
# COMMENTSIf you check out Twitter, Facebook, Medium and other blog sites you might get the idea that you're the worst teacher in the world. The internet abounds with people sharing tweets and posts about wonderful lessons they've just taught, witnessed or learned about in professional development. Sure, the teacher forums rife with requests for lesson ideas and resources but the shared material is always aces.
It makes sense, people in the community want to share things that worked for them or things they think will work.
# COMMENTS