<p>I can suggest a few approaches that might be fruitful, depending on your students. </p>

<ol>
<li><p>Make it <em>Social</em>. Instead of having the students work individually on the problem, have them work in pairs or groups. Let them discuss with each other ideas, even off-the-wall ideas around the problem and its possible solution. </p></li>
<li><p>Make it <em>Competitive</em>. This is a situation in which long lasting groups might be brought to bear. Group the students in small groups (2-5) and pose the problem to the groups. Let them discuss the solution in their groups for a few minutes. At the end, award a few points to the group with the most "interesting" answer. Or have the students themselves vote on the "winner". </p></li>
<li><p>Make it <em>Fun</em>. This will take more work, but instead of presenting the problem in technical terms present it as a problem in some, possibly stupid, imaginary context. Something from a fairy tale or a common metaphor related to the problem. Let it be a bit creative on an orthogonal dimension as well as the technical dimension. </p></li>
<li><p>Make it <em>Weird</em>. This is a bit risky, but you could possibly "reward" the <em>worst</em> possible answer to the question in some way. Often just cheering, rather than points, might be enough. The idea, is to get them to think about the problem and this may work out. Related is to reward the longest list of not-solutions, especially if the students can tell you why the proposal fails. I once actually impressed the examiners (for an oral preliminary exam for the doctorate) by explaining why my first "solution" would fail, even though I didn't come up with the correct answer. </p></li>
</ol>

<p>I'll note that this is about hard problems so we can't expect that many, if any, students will come up with an answer that Dijkstra, perhaps, was the first to give. The important thing is engagement and learning. </p>

CC BY-SA 4.0
2018-10-07T12:57:50.860Z
Dijkstra not Dikjstra
hkBst
CC BY-SA 4.0
2018-10-07T13:02:28.017Z
@hkBst, thanks. fixed. I know that, actually. Usually I get it right.
Buffy
CC BY-SA 4.0
2018-10-07T13:24:33.380Z
@hkBst, welcome to CSEducators, by the way. When you earn 1K rep here you can make such changes yourself.
Buffy
CC BY-SA 4.0
2018-06-11T13:42:23.737Z
2018-10-07T13:01:28.893Z
2018-10-07T13:01:28.893Z
Buffy
<p>I think sometimes it's because they don't even know where to begin, and when you think about it, this makes sense.</p>

<p>Consider an average student. (I'm going to use a lot of math examples because a. I just reread "A Mathematician's Lament" and b. I'm reading a great book called Burn Math Class that explains calculus in the best way I have ever read, and then proceeds to prove a bunch of "elementary" math stuff with it - very cool.) </p>

<p>They've spent most of their time in class watching a teacher put up a problem and then explain how it is solved, assign a similar-but-not-quite problem to use a similar approach on, and maybe help struggling students with the homework. They've not often seen their teacher truly struggle with a problem at the board with them.</p>

<p>Even if they are lucky enough to have seen this, the teacher is (generally, hopefully) the teacher for a reason: they know what they're doing, and thus the methods used to approach the problem can get lost in the speed. Decisions made in how to approach the problem, etc, aren't mentioned.</p>

<p>And I'm not quite talking about problem solving techniques, although I'm talking about those too. I'm talking about the process more. The book I'm reading talks about "pre-mathematics" - the stuff you do to approach the problem, the preparation before the solution comes to mind and is cleaned up and published or written on the blackboard or what have you.</p>

<p>For example, the way the author approaches a proof of the formula for the area of a rectangle is very interesting and different from any other approach (admittedly, all other approaches I have seen have been "this is so, now deal with it") - he talks about intuitively, what properties area <em>must</em> have, then mathematically defines those properties, then uses a functional equation to solve for area, shows how unit conversion comes out of the mathematics...it's rather impressive.</p>

<p>Or consider how the author talks about the definition of slope - he talks about how there are other possible formulas, like run/rise, or whatever, but why the particular version used was chosen. It's all explained, the process of defining and proving.</p>

<p>So, do something similar with your class, perhaps. Pick a problem that is at the student's level that you don't really know how to solve, and go after it - but slowly, explaining your thought process every step of the way, why you're picking the tools you're using, etc.</p>

<p>For example, maybe you wish to approach creating a calculator app of some sort. Talk with your students - why is OOP efficient? Would that apply in this case? Is the program going to be small enough that a procedural program would be quicker to write and not lose much readability? What are the design requirements? Hold a Socratic-method type session, with you guiding. Do this and ask less and less pointed questions, progressing to calling on people to approach the problem as best they can. Perhaps let other people lead the Socratic questioning.</p>

<p>Show them how to begin.</p>

CC BY-SA 4.0
2018-08-03T01:01:50.283Z
Good insights. Great ideas. You could probably obtain the same "presentation" by picking a problem you do know the solution to, and pretend you have a 5-year-old asking "WHY?" every time something is claimed to be the way.
Gypsy Spellweaver
CC BY-SA 4.0
2018-08-03T01:02:41.083Z
@GypsySpellweaver exactly, yes! It's the fact that people *assume you know* when you've never had any reason to know.
auden
CC BY-SA 4.0
2018-08-03T01:05:29.357Z
That was one of the points I learned doing GED with adults. They'd outgrown the adolescent inhibitions about seeming foolish, and would ask "why?" Sometimes as much as a 5-yr-old. Gives the instructor insight into what they do, and don't, know and how they _know_ it.
Gypsy Spellweaver
CC BY-SA 4.0
2018-08-03T01:05:53.840Z
The best way to learn a subject is to teach it.
Gypsy Spellweaver
CC BY-SA 4.0
2018-10-08T20:45:33.970Z
I think we teach a subject best while we are learning it.
Scott Rowe
CC BY-SA 4.0
2018-08-03T00:49:45.623Z
2018-08-03T00:49:45.623Z
auden
<p>I think this is a pretty common problem, especially for novice programmers. They're given an assignment and don't know how to start- in fact, they don't even know what it's asking!</p>

<p>I don't think this is due to a lack of "courage" - it's because they don't have the framework required to start breaking problems down yet.</p>

<p>I think step one is to normalize this a bit, and specifically mention that this is a common way to feel. Then walk them through the process of getting over that initial hurdle. What behavior do you want them to exhibit? Model that behavior for them.</p>

<p>I try to encourage people to <a href="http://happycoding.io/tutorials/how-to/program" rel="nofollow noreferrer">break their problem down into smaller steps</a> and take those steps on one at a time. There are a lot of approaches here, including:</p>

<ul>
<li>Restate the problem in your own words.</li>
<li>Break the problem down into logical sub-steps.</li>
<li>Identify your input and output.</li>
<li>Think about how you'd do this without a computer, with a piece of paper and a pencil.</li>
<li>Do the absolute smallest thing you know you need to do, like open your IDE, or write the class or function declaration.</li>
</ul>

<p>Another thing that I think is important is demonstrating this behavior yourself. A lot of lectures and tutorials cover the <a href="https://en.wikipedia.org/wiki/Happy_path" rel="nofollow noreferrer">happy path</a> of developing code. Students see how easy it is when you do it, and then get home and don't know how to start and think that must mean they're terrible programmers. In fact every single programmer feels this way, so it's important that they know this. So I recommend doing a live demo of working through a problem, including stuff like using Google, looking stuff up in the reference, making mistakes, debugging, etc.</p>

CC BY-SA 4.0
2018-07-05T16:57:25.577Z
Just wanted to highlight this part: "...don't know how to start- in fact, they don't even know what it's asking". Part of a class discussion could include breaking down the question as a group. As the question is broken down, it will be easier for students to see paths to solutions. Then they can start to have discussions on how to write/construct the code for the answer.
JustBlossom
CC BY-SA 4.0
2018-06-11T20:01:10.717Z
2018-08-09T16:28:03.723Z
2018-08-09T16:28:03.723Z
Kevin Workman
<blockquote>
  <p>How can we encourage/enforce/demand/cajole students into making a good faith effort on a difficult problem without making them feel defeated at the end?</p>
</blockquote>

<p>I'm going to have to agree with Heather</p>

<blockquote>
  <p>I think sometimes it's because they don't even know where to begin, and when you think about it, this makes sense.</p>
</blockquote>

<p>Any lack of motivation is most likely coming from confusion or misunderstanding. It <em>can</em> be fatigue or personality, but the best place to start is with finding holes in the student's knowledge.</p>

<p>People don't know what they don't know and this applies to adults and children alike. So I like to ask something along the lines of "What do you understand about this?", or "Where were you last doing well?" This helps find a starting point. You can then recap something understood, then add only the tiniest bit of information to it and check to see if they're still following you. Keep going like this, slow steps with checks, and you will often find the problem. After that I usually find that motivation to attempt a difficult problem returns, or at least other problems reveal themselves after the first one is eliminated.</p>

CC BY-SA 4.0
2018-12-07T00:25:26.027Z
When I was about 6, learning to add one digit numbers past ten, I made a persistent "off by one error", and until a much older student went over it with me in detail, no one had any idea why I kept making errors. If he hadn't helped, I would probably still be doing it wrong.
Scott Rowe
CC BY-SA 4.0
2018-11-09T20:57:08.337Z
2018-11-09T20:57:08.337Z
RoboticForest
<p>If someone was not participating, I would talk with them privately first. Often students will perk up if they intereact with the instructor. They know that at least one person is "on their side, even when they were wrong" (to paraphrase a Taylor Swift song) and so not be so concerned about being 'wrong' in the future.</p>

<p>The only solution I can come up with is personal interaction. I don't think that a teaching pattern or curriculum will solve it. The courses I did best in were because I loved the instructor, and second best was when the instructor paid some attention to me (<em>outside</em> of the classroom situation, which would have been a disaster) and so I felt that I owed him some effort.</p>

CC BY-SA 4.0
2018-06-11T13:34:17.443Z
2018-06-12T14:43:41.853Z
2018-06-12T14:43:41.853Z
Scott Rowe
<p>If you want to highlight some code of historical value don't expect the students to solve it. It probably took someone better trained and more talented than your students days, weeks, months or years to get it right.</p>

<p>Keep the material in line with what the students are supposed to be able to do. Presenting complicated problems that overshoots half the class is wasting time.</p>

<p>Present all or almost all of the problem and let the students work from there.</p>

CC BY-SA 4.0
2018-08-09T13:27:00.703Z
I assume your intent here is "push them, but not beyond their ability". Does that seem right?
Buffy
CC BY-SA 4.0
2018-11-09T20:47:17.147Z
I think I see what you're trying to get at. You're talking about carefully building a learning curve? I've been a student in classes where nearly everyone was silent and wasn't following along and it's because no one understood what the problem was or what the first step to solving it was.
RoboticForest
CC BY-SA 4.0
2018-08-09T13:22:18.850Z
2018-08-09T13:22:18.850Z
user5571
<p>In a recent blog post <a href="http://www.cs.uni.edu/%7Ewallingf/blog/archives/monthly/2018-06.html#e2018-06-01T15_05_14.htm" rel="noreferrer">Eugene Wallingford</a> says that when teaching:</p>
<blockquote>
<p>I frequently pose a problem for them to work on for a few minutes before we look at a solution, or several candidates, as a group. All too often some students look at the problem, think it's too difficult, and then just sit there waiting for me to show them the answer. This approach often results in them feeling two kinds of failure: they didn't solve the problem, and they don't even appreciate the solution when they see it.</p>
</blockquote>
<p>There is a double problem here, The first is that some students don't attempt to solve a difficult problem - giving up early. This leads to the second problem of not recognizing the beauty of the solution once they see it.</p>
<h3>How can we encourage/enforce/demand/cajole students into making a good faith effort on a difficult problem without making them feel defeated at the end?</h3>
<p>Often the exercises we give students have a learning objective that is more important than the actual solution to the problem. Learning is to be valued over solutions in a teaching environment. But students don't always see that and can be led to think of themselves as failures even when they work hard toward a solution (<a href="https://cseducators.stackexchange.com/q/2985/1293">Authenticity Bias</a>). We need to find ways to avoid that outcome while we encourage hard thinking.</p>
<p>The big idea here is that the effort to find a solution, even if it goes down an unprofitable path, will lead to learning. The practice of &quot;stretching your brain muscle&quot; is wort pursuing.</p>
<p>One <a href="https://rads.stackoverflow.com/amzn/click/com/1479171824" rel="noreferrer" rel="nofollow noreferrer">Pedagogical Pattern</a> was originally named Kobayashi Maru after a training exercise that was central to a certain <a href="https://en.wikipedia.org/wiki/Kobayashi_Maru" rel="noreferrer">Star Trek</a> episode. In this pattern, the idea is to give students an impossible task to give them practice in very hard problems, possibly requiring orthogonal thinking. (The pattern was later re-named to <a href="http://www.pattron.net/Pattern.aspx?Id=155" rel="noreferrer">Mission Impossible</a>). That isn't exactly the same issue here, where we are looking to encourage deep thinking on deep but solvable problems.</p>
<hr />
<p>This issue is not just about programming. It can be anything. For example a complex database design issue or a complex retrieval. Or in Compilers, some optimization issue that needs to run fast. Lots of opportunities for hard problems in any class.</p>

CC BY-SA 4.0
2018-10-08T20:49:05.743Z
Kobayashi Maru was engaging because it is presented as a survival situation. Maybe if students knew the real stakes of learning, they would see it that way.
Scott Rowe
<student-motivation>
Courage to Attack Difficult Questions
# Courage to Attack Difficult Questions

(Asked by: username_0 on 2018-06-11)

In a recent blog post [Eugene Wallingford](http://www.cs.uni.edu/%7Ewallingf/blog/archives/monthly/2018-06.html#e2018-06-01T15_05_14.htm) says that when teaching:

> I frequently pose a problem for them to work on for a few minutes before we look at a solution, or several candidates, as a group. All too often some students look at the problem, think it's too difficult, and then just sit there waiting for me to show them the answer. This approach often results in them feeling two kinds of failure: they didn't solve the problem, and they don't even appreciate the solution when they see it.

There is a double problem here, The first is that some students don't attempt to solve a difficult problem - giving up early. This leads to the second problem of not recognizing the beauty of the solution once they see it.

### How can we encourage/enforce/demand/cajole students into making a good faith effort on a difficult problem without making them feel defeated at the end?

Often the exercises we give students have a learning objective that is more important than the actual solution to the problem. Learning is to be valued over solutions in a teaching environment. But students don't always see that and can be led to think of themselves as failures even when they work hard toward a solution ([Authenticity Bias](https://cseducators.stackexchange.com/q/2985/1293)). We need to find ways to avoid that outcome while we encourage hard thinking.

The big idea here is that the effort to find a solution, even if it goes down an unprofitable path, will lead to learning. The practice of "stretching your brain muscle" is wort pursuing.

One [Pedagogical Pattern](https://rads.stackoverflow.com/amzn/click/com/1479171824) was originally named Kobayashi Maru after a training exercise that was central to a certain [Star Trek](https://en.wikipedia.org/wiki/Kobayashi_Maru) episode. In this pattern, the idea is to give students an impossible task to give them practice in very hard problems, possibly requiring orthogonal thinking. (The pattern was later re-named to [Mission Impossible](http://www.pattron.net/Pattern.aspx?Id=155)). That isn't exactly the same issue here, where we are looking to encourage deep thinking on deep but solvable problems.

---

This issue is not just about programming. It can be anything. For example a complex database design issue or a complex retrieval. Or in Compilers, some optimization issue that needs to run fast. Lots of opportunities for hard problems in any class.

**Tags:** student-motivation

> **Comments:**
> **username_1**: Kobayashi Maru was engaging because it is presented as a survival situation. Maybe if students knew the real stakes of learning, they would see it that way.  

---

## 6 answers

### Answer by username_5 on 2018-06-11. Score: 7

I think this is a pretty common problem, especially for novice programmers. They're given an assignment and don't know how to start- in fact, they don't even know what it's asking!

I don't think this is due to a lack of "courage" - it's because they don't have the framework required to start breaking problems down yet.

I think step one is to normalize this a bit, and specifically mention that this is a common way to feel. Then walk them through the process of getting over that initial hurdle. What behavior do you want them to exhibit? Model that behavior for them.

I try to encourage people to [break their problem down into smaller steps](http://happycoding.io/tutorials/how-to/program) and take those steps on one at a time. There are a lot of approaches here, including:

* Restate the problem in your own words.
* Break the problem down into logical sub-steps.
* Identify your input and output.
* Think about how you'd do this without a computer, with a piece of paper and a pencil.
* Do the absolute smallest thing you know you need to do, like open your IDE, or write the class or function declaration.

Another thing that I think is important is demonstrating this behavior yourself. A lot of lectures and tutorials cover the [happy path](https://en.wikipedia.org/wiki/Happy_path) of developing code. Students see how easy it is when you do it, and then get home and don't know how to start and think that must mean they're terrible programmers. In fact every single programmer feels this way, so it's important that they know this. So I recommend doing a live demo of working through a problem, including stuff like using Google, looking stuff up in the reference, making mistakes, debugging, etc.

> **Comments:**
> **username_6**: Just wanted to highlight this part: "...don't know how to start- in fact, they don't even know what it's asking". Part of a class discussion could include breaking down the question as a group. As the question is broken down, it will be easier for students to see paths to solutions. Then they can start to have discussions on how to write/construct the code for the answer.  

---

### Answer by username_0 on 2018-06-11. Score: 6

I can suggest a few approaches that might be fruitful, depending on your students.

1. Make it *Social*. Instead of having the students work individually on the problem, have them work in pairs or groups. Let them discuss with each other ideas, even off-the-wall ideas around the problem and its possible solution.
2. Make it *Competitive*. This is a situation in which long lasting groups might be brought to bear. Group the students in small groups (2-5) and pose the problem to the groups. Let them discuss the solution in their groups for a few minutes. At the end, award a few points to the group with the most "interesting" answer. Or have the students themselves vote on the "winner".
3. Make it *Fun*. This will take more work, but instead of presenting the problem in technical terms present it as a problem in some, possibly stupid, imaginary context. Something from a fairy tale or a common metaphor related to the problem. Let it be a bit creative on an orthogonal dimension as well as the technical dimension.
4. Make it *Weird*. This is a bit risky, but you could possibly "reward" the *worst* possible answer to the question in some way. Often just cheering, rather than points, might be enough. The idea, is to get them to think about the problem and this may work out. Related is to reward the longest list of not-solutions, especially if the students can tell you why the proposal fails. I once actually impressed the examiners (for an oral preliminary exam for the doctorate) by explaining why my first "solution" would fail, even though I didn't come up with the correct answer.

I'll note that this is about hard problems so we can't expect that many, if any, students will come up with an answer that Dijkstra, perhaps, was the first to give. The important thing is engagement and learning.

> **Comments:**
> **username_2**: Dijkstra not Dikjstra  
> **username_0**: @username_2, thanks. fixed. I know that, actually. Usually I get it right.  
> **username_0**: @username_2, welcome to CSEducators, by the way. When you earn 1K rep here you can make such changes yourself.  

---

### Answer by username_3 on 2018-08-03. Score: 5

I think sometimes it's because they don't even know where to begin, and when you think about it, this makes sense.

Consider an average student. (I'm going to use a lot of math examples because a. I just reread "A Mathematician's Lament" and b. I'm reading a great book called Burn Math Class that explains calculus in the best way I have ever read, and then proceeds to prove a bunch of "elementary" math stuff with it - very cool.)

They've spent most of their time in class watching a teacher put up a problem and then explain how it is solved, assign a similar-but-not-quite problem to use a similar approach on, and maybe help struggling students with the homework. They've not often seen their teacher truly struggle with a problem at the board with them.

Even if they are lucky enough to have seen this, the teacher is (generally, hopefully) the teacher for a reason: they know what they're doing, and thus the methods used to approach the problem can get lost in the speed. Decisions made in how to approach the problem, etc, aren't mentioned.

And I'm not quite talking about problem solving techniques, although I'm talking about those too. I'm talking about the process more. The book I'm reading talks about "pre-mathematics" - the stuff you do to approach the problem, the preparation before the solution comes to mind and is cleaned up and published or written on the blackboard or what have you.

For example, the way the author approaches a proof of the formula for the area of a rectangle is very interesting and different from any other approach (admittedly, all other approaches I have seen have been "this is so, now deal with it") - he talks about intuitively, what properties area *must* have, then mathematically defines those properties, then uses a functional equation to solve for area, shows how unit conversion comes out of the mathematics...it's rather impressive.

Or consider how the author talks about the definition of slope - he talks about how there are other possible formulas, like run/rise, or whatever, but why the particular version used was chosen. It's all explained, the process of defining and proving.

So, do something similar with your class, perhaps. Pick a problem that is at the student's level that you don't really know how to solve, and go after it - but slowly, explaining your thought process every step of the way, why you're picking the tools you're using, etc.

For example, maybe you wish to approach creating a calculator app of some sort. Talk with your students - why is OOP efficient? Would that apply in this case? Is the program going to be small enough that a procedural program would be quicker to write and not lose much readability? What are the design requirements? Hold a Socratic-method type session, with you guiding. Do this and ask less and less pointed questions, progressing to calling on people to approach the problem as best they can. Perhaps let other people lead the Socratic questioning.

Show them how to begin.

> **Comments:**
> **username_4**: Good insights. Great ideas. You could probably obtain the same "presentation" by picking a problem you do know the solution to, and pretend you have a 5-year-old asking "WHY?" every time something is claimed to be the way.  
> **username_3**: @GypsySpellweaver exactly, yes! It's the fact that people *assume you know* when you've never had any reason to know.  
> **username_4**: That was one of the points I learned doing GED with adults. They'd outgrown the adolescent inhibitions about seeming foolish, and would ask "why?" Sometimes as much as a 5-yr-old. Gives the instructor insight into what they do, and don't, know and how they _know_ it.  
> **username_4**: The best way to learn a subject is to teach it.  
> **username_1**: I think we teach a subject best while we are learning it.  

---

### Answer by username_7 on 2018-11-09. Score: 2

> How can we encourage/enforce/demand/cajole students into making a good faith effort on a difficult problem without making them feel defeated at the end?

I'm going to have to agree with Heather

> I think sometimes it's because they don't even know where to begin, and when you think about it, this makes sense.

Any lack of motivation is most likely coming from confusion or misunderstanding. It *can* be fatigue or personality, but the best place to start is with finding holes in the student's knowledge.

People don't know what they don't know and this applies to adults and children alike. So I like to ask something along the lines of "What do you understand about this?", or "Where were you last doing well?" This helps find a starting point. You can then recap something understood, then add only the tiniest bit of information to it and check to see if they're still following you. Keep going like this, slow steps with checks, and you will often find the problem. After that I usually find that motivation to attempt a difficult problem returns, or at least other problems reveal themselves after the first one is eliminated.

> **Comments:**
> **username_1**: When I was about 6, learning to add one digit numbers past ten, I made a persistent "off by one error", and until a much older student went over it with me in detail, no one had any idea why I kept making errors. If he hadn't helped, I would probably still be doing it wrong.  

---

### Answer by username_1 on 2018-06-11. Score: 2

If someone was not participating, I would talk with them privately first. Often students will perk up if they intereact with the instructor. They know that at least one person is "on their side, even when they were wrong" (to paraphrase a Taylor Swift song) and so not be so concerned about being 'wrong' in the future.

The only solution I can come up with is personal interaction. I don't think that a teaching pattern or curriculum will solve it. The courses I did best in were because I loved the instructor, and second best was when the instructor paid some attention to me (*outside* of the classroom situation, which would have been a disaster) and so I felt that I owed him some effort.


---

### Answer by username_8 on 2018-08-09. Score: 2

If you want to highlight some code of historical value don't expect the students to solve it. It probably took someone better trained and more talented than your students days, weeks, months or years to get it right.

Keep the material in line with what the students are supposed to be able to do. Presenting complicated problems that overshoots half the class is wasting time.

Present all or almost all of the problem and let the students work from there.

> **Comments:**
> **username_0**: I assume your intent here is "push them, but not beyond their ability". Does that seem right?  
> **username_7**: I think I see what you're trying to get at. You're talking about carefully building a learning curve? I've been a student in classes where nearly everyone was silent and wasn't following along and it's because no one understood what the problem was or what the first step to solving it was.  

---

