<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
&nbsp;Saddly I think its even easier then that in all likelyhood... this is honestly the 6 or 7th problem in the how to design a program book.<br>
&nbsp;<br>
Travis&nbsp;Stanley<br><br>&nbsp;<br><br><br><blockquote><hr>Date: Tue, 8 Jan 2008 23:10:08 -0500<br>From: toddobryan@gmail.com<br>To: clements@brinckerhoff.org<br>Subject: Re: [plt-scheme] Help: Uber newb<br>CC: cpt_silverfox@hotmail.com; plt-scheme@list.cs.brown.edu<br><br>I think this assignment is so tough because it looks like a string concatenation problem and most students don't make the leap to realize that it's actually a place-value problem. I've had students write all the examples and still not get the problem.
<br><br>My first hint is, "Remember when you wrote expanded notation in elementary school?" This works for about 15% of them.<br><br>I then mention place-value and, if that doesn't work, I ask them which place each digit in the function call ends up in. Usually, at some point, they have a light-bulb moment and are kind of embarrassed. This is one that some students never "get" until you tell them, but all of them understand after they see it.
<br><br>Todd<br><br><div class="EC_gmail_quote">On Jan 8, 2008 10:23 PM, John Clements &lt;<a href="mailto:clements@brinckerhoff.org">clements@brinckerhoff.org</a>&gt; wrote:<br><blockquote class="EC_gmail_quote" style="padding-left: 1ex;">
<div class="EC_Ih2E3d"><br>On Jan 8, 2008, at 7:08 PM, William Stanley wrote:<br><br>&gt; Exercise 2.2.4. &nbsp; Define the program convert3. It consumes three<br>&gt; digits, starting with the least significant digit, followed by the
<br>&gt; next most significant one, and so on. The program produces the<br>&gt; corresponding number. For example, the expected value of<br>&gt; (convert3 1 2 3)<br>&gt; is 321. Use an algebra book to find out how such a conversion works.
<br>&gt;<br>&gt;<br>&gt; Okay I had gone past this exercise but as I couldn't figure it out<br>&gt; it was bugging me... and I must say its been a while since I<br>&gt; regularly used algebra but after racking my brain for a while and
<br>&gt; googling for even longer I throw myself at your mercy... I am sure<br>&gt; it is rather simple but I am stumped... sometimes I wish I could<br>&gt; peek at those answers... even just to see if I got it right.<br>
&gt;<br>&gt;<br>&gt; Travis Stanley<br><br><br></div>I hate to be the design-recipe-bot, but... have you tried following<br>the design recipe? &nbsp;What are the examples you came up with? &nbsp;Are<br>there simple examples that you know how to do?
<br><font color="#888888"><br>John Clements<br><br></font><br>_________________________________________________<br> &nbsp;For list-related administrative tasks:<br> &nbsp;<a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme" target="_blank">
http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a><br><br></blockquote></div><br>
</blockquote><br /><hr />Your chance to win great prizes with TELUS and Windows Live Messenger for Mobile. <a href='http://www.telusmobility.com/on/wweb/instant_messaging.shtml' target='_new'>Click here for more information!</a></body>
</html>