Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Preferred Pedagogical Paradigmatic Protocol

Preferred Pedagogical Paradigmatic Protocol

Scheduled Pinned Locked Moved The Lounge
question
25 Posts 16 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    C P User 3
    wrote on last edited by
    #1

    If your goal is to get the following three concepts into the minds of a large group of people... 1. Binary Arithmetic 2. Boolean Algebra 3. Hexadecimal Arithmetic ...In what order would you present the concepts ? (That list is in alphabetical order to prevent any implied bias) Why do you feel that your chosen sequence makes more sense than others ?

    L P A R S 15 Replies Last reply
    0
    • C C P User 3

      If your goal is to get the following three concepts into the minds of a large group of people... 1. Binary Arithmetic 2. Boolean Algebra 3. Hexadecimal Arithmetic ...In what order would you present the concepts ? (That list is in alphabetical order to prevent any implied bias) Why do you feel that your chosen sequence makes more sense than others ?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Boolean algebra is probably the easiest for people to grasp, as you can use real world examples:

      IF it_is_raining
      WEAR waterproof
      ELSE
      WEAR t-shirt
      ENDIF

      Binary and HEX (or any other base) are especially challenging for people whose mathematical abilies may not be very high. I tried to explain both of those to someone once but they just could not get it.

      P pkfoxP 2 Replies Last reply
      0
      • C C P User 3

        If your goal is to get the following three concepts into the minds of a large group of people... 1. Binary Arithmetic 2. Boolean Algebra 3. Hexadecimal Arithmetic ...In what order would you present the concepts ? (That list is in alphabetical order to prevent any implied bias) Why do you feel that your chosen sequence makes more sense than others ?

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        Base-12 -- with eggs. 12 eggs to a box, 12 boxes to a case... Just don't grind them up.

        D 1 Reply Last reply
        0
        • L Lost User

          Boolean algebra is probably the easiest for people to grasp, as you can use real world examples:

          IF it_is_raining
          WEAR waterproof
          ELSE
          WEAR t-shirt
          ENDIF

          Binary and HEX (or any other base) are especially challenging for people whose mathematical abilies may not be very high. I tried to explain both of those to someone once but they just could not get it.

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          I hesitate to post a non-KSS counter-argument to your example.

          1 Reply Last reply
          0
          • C C P User 3

            If your goal is to get the following three concepts into the minds of a large group of people... 1. Binary Arithmetic 2. Boolean Algebra 3. Hexadecimal Arithmetic ...In what order would you present the concepts ? (That list is in alphabetical order to prevent any implied bias) Why do you feel that your chosen sequence makes more sense than others ?

            A Offline
            A Offline
            Amarnath S
            wrote on last edited by
            #5

            The order in which they came historically. That would be the preferred logical order, i believe. Will give an opportunity to provide a logical motivation to the next topic.

            1 Reply Last reply
            0
            • C C P User 3

              If your goal is to get the following three concepts into the minds of a large group of people... 1. Binary Arithmetic 2. Boolean Algebra 3. Hexadecimal Arithmetic ...In what order would you present the concepts ? (That list is in alphabetical order to prevent any implied bias) Why do you feel that your chosen sequence makes more sense than others ?

              R Offline
              R Offline
              raddevus
              wrote on last edited by
              #6

              Charles Petzold explains these in his fantastic book, Code: The Hidden Language of Computers[^] (now, 2nd updated edition) Here's a helpful -- and free -- resource from the book --[^] really cool interactive code. 1. He explains Binary first using : 1 if by sea, 2 if by land. (Yes, he explains that the absence of any lantern (off) would normally indicate a value but since no-light could happen in normal circumstances you have to use 2 lanterns). He explains the entire on/off concept very clearly. 2. He then introduces George Bool and Boolean algebra 3. Then later he teaches Hex math. I think his system of building on basics works very well. if you haven't read his amazing book, I highly suggest it. Great concepts explained simply.

              P 1 Reply Last reply
              0
              • C C P User 3

                If your goal is to get the following three concepts into the minds of a large group of people... 1. Binary Arithmetic 2. Boolean Algebra 3. Hexadecimal Arithmetic ...In what order would you present the concepts ? (That list is in alphabetical order to prevent any implied bias) Why do you feel that your chosen sequence makes more sense than others ?

                S Offline
                S Offline
                StarNamer work
                wrote on last edited by
                #7

                Start with decimal notation using fully positional notation as opposed to something like Roman numerals which uses different symbols for powers of 10 but also has some positional rules. Give examples of arithmetic rules. Then drop to octal, since it's easier to understand using less symbols - counting with just your fingers and not using the thumbs. More arithmetic examples. Play around with a few other bases - duodecimal (base-12) or sexagesimal (base-60 - hours, minutes, seconds) - finally arriving at hexadecimal. More arithmetic... Maybe show base-4 or move straight to binary. Show the same arithmetic rules apply even when there's only 2 symbols. Show that any number in binary representation can be easily rewritten as hexadecimal or octal (and vice-versa) just by grouping/expanding the digits. Mention that, in computing, the term bit is a contraction of binary digit. Introduce Boolean algebra as a separate topic using English-like examples for AND, OR and NOT. Somewhere along the way, introduce De Morgan's Law - "NOT (A OR B)" gives the same results as "(NOT A) AND (NOT B)" Finally, show that if TRUE is one and FALSE is zero, then AND is the same as multiplying in binary and only looking at the last digit and OR is addition. You can then introduce logic gates and show how to build an adder circuit for 2 single bit numbers with a 2-bit output - least significant bit is OR, most significant/carry is AND but it can all be done with just AND/NOT or OR/NOT, so you only need one 2-input gate and an inverter (NOT). Etc.

                1 Reply Last reply
                0
                • R raddevus

                  Charles Petzold explains these in his fantastic book, Code: The Hidden Language of Computers[^] (now, 2nd updated edition) Here's a helpful -- and free -- resource from the book --[^] really cool interactive code. 1. He explains Binary first using : 1 if by sea, 2 if by land. (Yes, he explains that the absence of any lantern (off) would normally indicate a value but since no-light could happen in normal circumstances you have to use 2 lanterns). He explains the entire on/off concept very clearly. 2. He then introduces George Bool and Boolean algebra 3. Then later he teaches Hex math. I think his system of building on basics works very well. if you haven't read his amazing book, I highly suggest it. Great concepts explained simply.

                  P Offline
                  P Offline
                  PIEBALDconsult
                  wrote on last edited by
                  #8

                  +5 for Petzold. Great book. Also his Annotated Turing.

                  1 Reply Last reply
                  0
                  • C C P User 3

                    If your goal is to get the following three concepts into the minds of a large group of people... 1. Binary Arithmetic 2. Boolean Algebra 3. Hexadecimal Arithmetic ...In what order would you present the concepts ? (That list is in alphabetical order to prevent any implied bias) Why do you feel that your chosen sequence makes more sense than others ?

                    J Offline
                    J Offline
                    jschell
                    wrote on last edited by
                    #9

                    C-P-User-3 wrote:

                    If your goal is to get the following three concepts into the minds of a large group of people...

                    Then my goal would be to find a different goal because that isn't going to work. Certainly I have seen programmers that can't figure even one of those out. I would not want to try with a group of specialized university mathematics professors. Perhaps university mathematics students since then still have generalized concepts in their head. But only the ones doing well in their class work.

                    C-P-User-3 wrote:

                    Boolean Algebra

                    Not sure about the other two but I remember that this was an entire university semester long class that I took.

                    1 Reply Last reply
                    0
                    • C C P User 3

                      If your goal is to get the following three concepts into the minds of a large group of people... 1. Binary Arithmetic 2. Boolean Algebra 3. Hexadecimal Arithmetic ...In what order would you present the concepts ? (That list is in alphabetical order to prevent any implied bias) Why do you feel that your chosen sequence makes more sense than others ?

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      I'd say binary first, since I recall teaching someone for their high school class ... after I had been out only a few years myself. (I was already programming by that time though I don't recall learning binary in HS). Of course, you ground them first with decimal, and how it relates. (With a side trip to Octal)

                      "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

                      1 Reply Last reply
                      0
                      • C C P User 3

                        If your goal is to get the following three concepts into the minds of a large group of people... 1. Binary Arithmetic 2. Boolean Algebra 3. Hexadecimal Arithmetic ...In what order would you present the concepts ? (That list is in alphabetical order to prevent any implied bias) Why do you feel that your chosen sequence makes more sense than others ?

                        0 Offline
                        0 Offline
                        0x01AA
                        wrote on last edited by
                        #11

                        Arithmetics: Binary and Hex and this and that base is all the same. Only the base is different. E.g. adding two numbers based on 2 or 16 or 10 following the same scheme. Boolean Algebra: This is a different from the above and needs to be explained seperately. Here the operators are different. Operators like 'logical and', 'logical or', 'not', .... that are boolean operations and not arithmetic operators. Why it is different Let us have two boolean variables 'a' and 'b'. They can only have the values TRUE or FALSE. One fundamental law in Boolean algebra is: a AND b == NOT(NOT a OR NOT b) which is very different from arithmetics I think. Same is valid for e.g. a OR b == NOT(NOT a AND NOT b)

                        *1) 'Arithmetic' example, more number representing for different bases

                        I assume you know all these, therefore only as a basic idea how to start....

                        In my opinion you need to explain what number representation based on a different bases means.
                        The very basic thing how to represent a number based on any base 'b' is:

                        ... b^2 b^1 b^0 ... b^-1 b^-2 ....

                        The available digits depend on the base.

                        Examples for bases and available digits:
                        Base 2 (binary) : 0, 1
                        Base 10 (decimal): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
                        Base 16 (Hex) : 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F

                        Example for the representataion of the decimal number 123 with different bases:
                        b^7 b^6 b^5 b^4 b^3 b^2 b^1 b^0
                        Base 2 : 128 64 32 16 8 4 2 1
                        0 1 1 1 1 0 1 1 = 1x64 + 1x32 + 1x16 + 1x8 + 1x2 + 1x1 = 123

                        Base 10: 10^7 10^6 10^5 10^4 10^3 100 10 1
                        0 0 0 0 0 1 2 3 = 1x100 + 2x10 + 3x1 = 123

                        Base 16: 16^7 16^6 16^5 16^4 16^3 16^2 16 1
                        0 0 0 0 0 0 7 B = 7x16 + Bx1= 123

                        I hope I made no mistakes while writing the above ;)

                        1 Reply Last reply
                        0
                        • C C P User 3

                          If your goal is to get the following three concepts into the minds of a large group of people... 1. Binary Arithmetic 2. Boolean Algebra 3. Hexadecimal Arithmetic ...In what order would you present the concepts ? (That list is in alphabetical order to prevent any implied bias) Why do you feel that your chosen sequence makes more sense than others ?

                          D Offline
                          D Offline
                          devenv exe
                          wrote on last edited by
                          #12

                          C-P-User-3 wrote:

                          If your goal is to get the following three concepts into the minds of a large group of people...

                          Getting those concepts into the minds of a large group of people??, not gonna happen. You would rather forget about the order but think about the disorder you will cause.

                          "Coming soon"

                          1 Reply Last reply
                          0
                          • P PIEBALDconsult

                            Base-12 -- with eggs. 12 eggs to a box, 12 boxes to a case... Just don't grind them up.

                            D Offline
                            D Offline
                            David Crow
                            wrote on last edited by
                            #13

                            That's just gross.

                            "One man's wage rise is another man's price increase." - Harold Wilson

                            "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                            "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

                            1 Reply Last reply
                            0
                            • L Lost User

                              Boolean algebra is probably the easiest for people to grasp, as you can use real world examples:

                              IF it_is_raining
                              WEAR waterproof
                              ELSE
                              WEAR t-shirt
                              ENDIF

                              Binary and HEX (or any other base) are especially challenging for people whose mathematical abilies may not be very high. I tried to explain both of those to someone once but they just could not get it.

                              pkfoxP Offline
                              pkfoxP Offline
                              pkfox
                              wrote on last edited by
                              #14

                              Read up on number theory

                              In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                              L J 2 Replies Last reply
                              0
                              • C C P User 3

                                If your goal is to get the following three concepts into the minds of a large group of people... 1. Binary Arithmetic 2. Boolean Algebra 3. Hexadecimal Arithmetic ...In what order would you present the concepts ? (That list is in alphabetical order to prevent any implied bias) Why do you feel that your chosen sequence makes more sense than others ?

                                J Offline
                                J Offline
                                jeron1
                                wrote on last edited by
                                #15

                                You have to provide adequate incentive, threaten grievous bodily harm to those who don't understand maybe? :laugh:

                                "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                                1 Reply Last reply
                                0
                                • C C P User 3

                                  If your goal is to get the following three concepts into the minds of a large group of people... 1. Binary Arithmetic 2. Boolean Algebra 3. Hexadecimal Arithmetic ...In what order would you present the concepts ? (That list is in alphabetical order to prevent any implied bias) Why do you feel that your chosen sequence makes more sense than others ?

                                  P Offline
                                  P Offline
                                  Peter_in_2780
                                  wrote on last edited by
                                  #16

                                  You'd have more luck getting them to recite that rhyme straight ten times. On a slightly more serious note, hex is just binary, 4 bits at a time. Maybe mention octal as a stepping stone.

                                  Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

                                  1 Reply Last reply
                                  0
                                  • pkfoxP pkfox

                                    Read up on number theory

                                    In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                                    L Offline
                                    L Offline
                                    Lost User
                                    wrote on last edited by
                                    #17

                                    Why, I fully understand numbering systems and have done for almost 60 years.

                                    pkfoxP 1 Reply Last reply
                                    0
                                    • pkfoxP pkfox

                                      Read up on number theory

                                      In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                                      J Offline
                                      J Offline
                                      jschell
                                      wrote on last edited by
                                      #18

                                      I doubt that is useful. "Number theory", at best, covers quite a bit more than what was actually asked for. So attempting to answer the original question with that is not a good idea.

                                      pkfoxP 1 Reply Last reply
                                      0
                                      • J jschell

                                        I doubt that is useful. "Number theory", at best, covers quite a bit more than what was actually asked for. So attempting to answer the original question with that is not a good idea.

                                        pkfoxP Offline
                                        pkfoxP Offline
                                        pkfox
                                        wrote on last edited by
                                        #19

                                        I agree but it gives you some very useful knowledge

                                        In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          Why, I fully understand numbering systems and have done for almost 60 years.

                                          pkfoxP Offline
                                          pkfoxP Offline
                                          pkfox
                                          wrote on last edited by
                                          #20

                                          I wasn’t suggesting you learn it Richard I’m sure you know it better than most

                                          In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                                          L 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups