17 votes

Order to teach looping constructs in a non ideal language

I prefer to teach while loops as part of my unit on if/else statements since the syntax and ...
Bryan R's user avatar
  • 508
8 votes

Order to teach looping constructs in a non ideal language

All of the IF and Loop structures are based on two fundamental operations: Test and Branch. The only difference between an IF-Else and a Loop of any kind is whether you branch downward or back to the ...
user4226's user avatar
8 votes

Where, sequentially, do Interfaces sit in an introduction to Objects?

Ideally, interfaces come first. Before Classes. Interfaces define concepts. Classes implement those concepts. Don't think of them as an add-on to OO programming. Think of them as the essence. In ...
Buffy's user avatar
  • 36.3k
7 votes
Accepted

Students seem to be unable to use code to express their ideas. Is the teaching methodology improvable?

There is a lot to unpack here, but first, YES, the teaching methodology can be improved, but that is always true, an unending quest. Next, I'll note that C is a language with enough pitfalls that ...
Buffy's user avatar
  • 36.3k
6 votes

Students seem to be unable to use code to express their ideas. Is the teaching methodology improvable?

I am surprised to hear of State Machines being introduced anywhere early in a curriculum. They are a solution to a particular kind of problem, and wouldn't make much sense outside of it. So, this is ...
Scott Rowe's user avatar
5 votes

Students seem to be unable to use code to express their ideas. Is the teaching methodology improvable?

In addition to Buffy's excellent suggestions, I might suggest reframing your own thinking. You are thinking and speaking rather abstractly. Little phrases like "a means for mapping an individual's ...
Ben I.'s user avatar
  • 33.6k
5 votes
Accepted

Is it possible to teach selection (`if`) before variables

From a practical standpoint, rather than a theoretical one, there are at least two pedagogically defensible ways to do this. Spiral curriculum, and Scaffolding Use a Spiral Approach I won't assume ...
Buffy's user avatar
  • 36.3k
5 votes
Accepted

Order to teach looping constructs in a non ideal language

While your ideal order makes sense, you really should try to plan the course based on the limitations of the language that you're working with. In this case, instead of thinking about the different ...
thesecretmaster's user avatar
  • 4,795
4 votes

Order to teach looping constructs in a non ideal language

Perhaps you are creating a problem where none exists. You seem to be assuming that looping needs to be covered all at once and all together, rather than distributed over some some longer range ...
Buffy's user avatar
  • 36.3k
4 votes
Accepted

Constructing a curriculum from multiple resources for complex subjects

At this scale (fewer than 5 students) lectures are a poor choice of educational methodology in any case. Lectures were created as a way to scale up education for the masses. They are driven by ...
Buffy's user avatar
  • 36.3k
3 votes

Order to teach looping constructs in a non ideal language

For an infinite loop we use while True in python, however students ask or struggle with this. I can not explain it without explaining while condition. So pupils ...
Petter Brodin's user avatar
3 votes

Is it possible to teach selection (`if`) before variables

The first 6 or 8 days of the year we work in Jeroo instead of straight Java (there's a Python mode as well). It serves as a very quick introduction to syntax, ifs, and while loops. I've found it helps ...
Ryan Nutt's user avatar
  • 3,009
2 votes

Students seem to be unable to use code to express their ideas. Is the teaching methodology improvable?

Here's a late answer, but I think has observations for the OP that others haven't highlighted sufficiently. They moreover have this (to me, crazy) habit of writing huge blocks in main() without ...
Daniel R. Collins's user avatar
2 votes

Where, sequentially, do Interfaces sit in an introduction to Objects?

I'd say that it can fit very well between the Inheritance and the Polymorphism. Interfaces are a way of promising that any implementing class supports the interface's functionality. for example, ...
ItamarG3's user avatar
  • 6,297
2 votes

Students seem to be unable to use code to express their ideas. Is the teaching methodology improvable?

I will add to this, choice of language is also important, learning C (and forget C++) and how to program at the same time is to ...
ctrl-alt-delor's user avatar
2 votes

Order to teach looping constructs in a non ideal language

I only ever taught my fellow students but this method was the one that everyone seemed to get. There's a track, and there's a runner, he's running forever. When you type that ...
John Hamilton's user avatar
1 vote

Order to teach looping constructs in a non ideal language

Maybe you could use physical objects to help students visualize how to utilize these loops. For example for the bounded loops: grab 5 apples, label them with some number, and show how you go through ...
frostshoxx's user avatar
1 vote

Where, sequentially, do Interfaces sit in an introduction to Objects?

My laundry list: We write sample programs using components from a library (say JavaFx, or SFML) We don't care (much) about the internals of objects, as long as they work, but about their programming ...
Michel Billaud's user avatar
1 vote

Where, sequentially, do Interfaces sit in an introduction to Objects?

Interfaces should be taught right after, or during the section on APIs, because they are simply a promise to implement a certain Application Programming Interface. It's why they are called interfaces ...
Soupy's user avatar
  • 321

Only top scored, non community-wiki answers of a minimum length are eligible