tag:blogger.com,1999:blog-18677687.post2021525601894409781..comments2017-06-23T09:17:56.250-04:00Comments on Computer Science Teacher: How Important Are Number Bases for pre-University Computer Science?Alfred Thompsonhttps://plus.google.com/116648179447008949472noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-18677687.post-88550762818632057352017-01-17T01:43:39.682-05:002017-01-17T01:43:39.682-05:00Three reasons to teach number bases:
1) It may hel...Three reasons to teach number bases:<br />1) It may help students deepen their understanding of decimals, though whether this is true is empirical question. <br /><br />2) Certain ideas and facts that don't make sense without teaching number base. What is a byte? Why do attributes like RGB intensities run from 0 to the otherwise-arbitrary 255? Concretely, what is meant by the phrase "numbers and letters are represented by zeros and ones?" Feaster et al (2012) surveyed 30 CS educators and report "one interesting observation is that while 30% of respondents indicated that binary is relatively unimportant in the courses they teach, all respondents agreed that understanding number systems other than base-10 is important for computing students."<br /><br />3) Number bases are intertwined with some problems that students find interesting, such as representing colors in CSS, using least-significant bit steganography, or finding secret messages or forensic data in images viewed with a hex viewer. The well researched framework for developing effective curriculum, Understanding by Design (UbD), requires that objectives be aligned with student work, and authors Wiggins and McTieghe labor to point out that, contrary to many of their readers' understanding of UbD, objectives can be selected specifically because they align with a motivating problem or activity. Measurements by Lambert and Guiffre (2009) and Feaster (2011) report low student engagement for activities teaching number bases, but these measurements were made using activities that treat the concept without a motivating problem or application, and the Feaster (2012) report demonstrates that number base can be taught in an engaging context.<br /><br />Bennett Brownhttp://www.blogger.com/profile/01090693734850155929noreply@blogger.comtag:blogger.com,1999:blog-18677687.post-21685493238675115512017-01-10T14:44:54.971-05:002017-01-10T14:44:54.971-05:00I do not teach bases as a topic. I give my Python...I do not teach bases as a topic. I give my Python class (only one kid this year) a programming assignment of converting bases. They learn the bases as a by product. We do discuss why the bases are important but I do not have them solve conversions by hand or anything strange like that. I am more interested in the kids learning what an algorithm is all about and converting bases is all about algorithms. Some programming languages (Small Basic) use base-16 for colors. In the tech class we look at IPv6 which shows IP numbers in base-16 form. Bases to me are more of a tool than a topic. When you need it teach it.Garthnoreply@blogger.comtag:blogger.com,1999:blog-18677687.post-29148896116123815652017-01-09T19:52:26.380-05:002017-01-09T19:52:26.380-05:00I agree with Derek, but only in part. As I start C...I agree with Derek, but only in part. As I start CS from the idea of information and not the computer, I use number bases to demonstrate different representations on the same information. I also use lexigraphical symbols for the English word 'Tree' in different spoken languages (and Morse Code) or the notion that we represent a geometric point with a dot (when we could easily use a triangle). However, the idea the notion of 'ten' can be represented as the decimal 10 or 1100b or 0xA matters just as much in a practical sense. <br /><br />And it matters because 0.1 + 0.1 + 0.1 is not 0.3 to a digital computer (it's 0.30000...0004, depending on architecture and language boundary issues). The fact that the computer needs to convert from base-10 to base-2 can matter, and I actually have students complete a simple program where their program gets the wrong answer in one case if they aren't careful about the rounding error.<br /><br />Now, do I care if students can convert from Base-2 to Base-16, etc? Not unless we're doing ACSL or some other competition that requires it. I do show them that arithmetic holds across bases, and we discuss why computers use base-2, and how base-10 actually works. But I never test them on it. It's more of a novelty, but the emphasis is *always* on information representation -- which leads easily to ASCII and software design and abstraction later.<br /><br />And the idea of bases comes up again in my Data Structures class when talking about Big Oh, and why the naive prime checking algorithm is O(2^n) versus O(n). And bases come up again in Selected Topics when dealing with low-level (circuits, assembler, and C) concepts.<br /><br />Basically, I sprinkle it in as students need it to facilitate more important concepts. If they want to know more, that's for outside the classroom. The concept of bases is important, but not important enough to require a week of dedicated time and testing.<br /><br />My 0.3000000000004 cents :-D<br /><br />--seaBrian Seahttp://www.blogger.com/profile/13372743254011662337noreply@blogger.comtag:blogger.com,1999:blog-18677687.post-77016847630705387522017-01-09T17:25:46.816-05:002017-01-09T17:25:46.816-05:00Some thoughts: http://cestlaz.github.io/posts/esse...Some thoughts: http://cestlaz.github.io/posts/essentials-for-an-intro-course/Mike Zamanskyhttp://www.blogger.com/profile/15069276938781711576noreply@blogger.comtag:blogger.com,1999:blog-18677687.post-70893789485835353952017-01-09T14:23:03.488-05:002017-01-09T14:23:03.488-05:00At the high school level, I think that covering th...At the high school level, I think that covering the idea of binary is important. I think covering other number bases, or going in depth with any of them, isn't.<br /><br />For most students, they will at most have the ability to take an intro level CS course, and an AP or college 101 level course. I think knowing about binary is important at that level, but there are so many other concepts to teach or to spend time reinforcing that are higher priority (conditionals, loops, functions, project planning, problem solving, etc). <br /><br />Further, unless the curriculum will build on the skill, and make use of it in growing levels of depth across a semester, then including it for a week long unit and never mentioning it again doesn't help much. It's teaching something because it feels important, not because it is important.<br /><br />At most, I'd do as Derek suggestions, and have an unplugged activity around it, for some deeper learning. I wouldn't make it complex, I wouldn't make it critical to the curriculum, and I wouldn't spend much time on it (unless you really want to spend a lot of time on bit manipulation).Matt McKeehttp://www.blogger.com/profile/15370953619575958121noreply@blogger.comtag:blogger.com,1999:blog-18677687.post-81428117053065962532017-01-09T12:00:55.745-05:002017-01-09T12:00:55.745-05:00Number systems give us a way to "look inside&...Number systems give us a way to "look inside" a computer. I had this conversation with another CS teacher where we were talking about all data being represented as binary numbers in a computer. They kept getting stuck with the idea, accepting that words can be converted to binary but struggling to understand that images and sound can too.<br /><br />I don't think it is important to understanding CS to know number systems but it is important to understanding computers. It is worth teaching, especially early when coding is more challenging. Number systems allow for an "unplugged" activity that deepen understanding of computers and how they operate.<br /><br />I think that is especially important as students study cyber security where you might use a HEX editor or look at files in a more raw form. The letters/numbers are not magic, just different representations of numbers.Derekhttp://www.blogger.com/profile/12833593874694517108noreply@blogger.com