Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 27

Questions with this tag relate to planning lessons for a specific purpose, such as teaching some coding paradigm or skill. Planning lessons in Computer Science depends on the context and level of the students. If it is a lesson which introduces a new topic, the tag [introductory-lesson] may also be appropriate.

2 votes
3 answers
225 views

Big-endian, Little-endian

I have explained big and little endian from time to time in my teaching career, but it is quite dry, and asking my students which direction each one goes three months later has revealed to me that my …
Ben I.'s user avatar
  • 34.3k
2 votes

How might I structure an assignment with two "levels"?

Ooh, I have experience with this one! I tried once giving a huge lab with lower scores for progressively simplified versions (to allow for students with lower abilities to still complete the lab), an …
Ben I.'s user avatar
  • 34.3k
2 votes
Accepted

Counter-Example for Computability

I guess I'm not understanding what the problem is with fuzzy when talking about computability with a group of 12 year olds. They can instantly grok the notion that the question isn't one that compute …
Ben I.'s user avatar
  • 34.3k
1 vote

Turtle examples for loops and variables, or even something else

I agree with Buffy's fine answer if your imagination is running towards feedback systems. In terms of the ubiquitous turtle, however, there are still a few interesting things you could do off the top …
Ben I.'s user avatar
  • 34.3k
4 votes
2 answers
71 views

Presenting Mapping Reducibility (for P vs NP)

So, I am preparing to teach about P and NP for the first time. I know that I need to teach about Mapping Reducibility (aka One-to-One Reducibility). Can anyone recommend a set of algorithms that are …
Ben I.'s user avatar
  • 34.3k
5 votes
2 answers
266 views

Introducing A* Search Algorithm

I created a group lab where one student makes a random maze generator, one student makes a corresponding maze solver, and the last student calls the methods created by both students and creates an ani …
Ben I.'s user avatar
  • 34.3k
3 votes

Computers are down; what's in your bag of tricks for teaching CS when they can't get on a co...

It depends so much on what we're covering. In principle, anything which gets them doing or moving also gets them learning. Here are a few more ideas: Describe some small amount of code that could b …
Ben I.'s user avatar
  • 34.3k
5 votes

How to stress the importance of testing code?

The first problem my students always have with this is that they don't even understand how to test their code. They've run the program, and it works. So... it must work. I have two approaches to thi …
Ben I.'s user avatar
  • 34.3k
4 votes

Instructional Methods for In-class Code Demos

All of those tools are useful, and for slightly different things. Write code live and have students type along This is a great tool when you want to discuss a simple algorithm. Having the kids type …
Ben I.'s user avatar
  • 34.3k
26 votes

What are good examples that actually motivate the study of recursion?

One good example is to make permutations of all of the letters in a word of arbitrary length. It's quite tricky to do iteratively, since you essentially have to recreate the program stack to get it d …
Ben I.'s user avatar
  • 34.3k
4 votes

What are good examples that actually motivate the study of recursion?

Another approach, entirely different from my other answer, is to ask students how they might approach the following real-life scenario: they have just been given 1400 paper forms, all filled out by po …
Ben I.'s user avatar
  • 34.3k
0 votes

Object Design Lab

One rich area is ecosystem simulation with multiple plants, herbivores, carnivores, and omnivores. The card game "Evolution" can serve as a very good model, with every creature being assigned various …
Ben I.'s user avatar
  • 34.3k
6 votes

Is stressing too much on formalism acceptable?

Moving from formal to informal is almost always a mistake. Let me see if I can show you why. When you consider how you think about sets within your own mind, I am reasonably certain that you rarely …
Ben I.'s user avatar
  • 34.3k
4 votes

Examples of innocent looking faulty code for shock effect

I recognize the feeling of despair! However, I don't think that you want what you are asking for. The most shocking bit of code that I know to show students is the code I wrote up here. Beware, it' …
Ben I.'s user avatar
  • 34.3k
3 votes
Accepted

Suggestions for teaching selection sort with candy

Actually, I might suggest a slightly different tact: provide a variety of candies (small boxes of nerds, Hershey's kisses, and the like) and have them selection sort by preference order. They can als …
Ben I.'s user avatar
  • 34.3k

15 30 50 per page