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. Course Selection? Discrete Mathematics, or Machine Org/Assembler Language?

Course Selection? Discrete Mathematics, or Machine Org/Assembler Language?

Scheduled Pinned Locked Moved The Lounge
javavisual-studiohelpquestionlearning
30 Posts 14 Posters 1 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.
  • J Jon Plotner

    Machine ORG/Assembler Language VS. Discrete Mathematics I can only take one. Which should it be? Why? I want to take the class that will be most beneficial to me in the long run, and have the greatest impact on my thought processes and understanding/ make me more valuable in the workforce. Currently I have three path pulling at me. Industrial and Systems Engineering, Biomedical Engineering, Computer Science/Software Engineering. I start my masters program in Fall 2014 and want to take take some extra classes before my program starts. Thank you for your advice and help! -Plot:java: Thank you again everyone! Discrete Math it is! :) I love puzzles so I am excited to take the course. Thanks for all your input and great explanations. Much Love, -Plot:java:

    Y Offline
    Y Offline
    YvesDaoust
    wrote on last edited by
    #4

    Assembler language is no rocket science, you can learn it by yourself. Here is an accelerated course: Your processor has registers (int and float), it performs arithmetic & logic instructions (taking two or three operands); operands are in registers or taken from/to memory through simple address computation; memory holds a special area called the stack (lifo); you can "label" the instructions and jump to them, unconditionally or based on the result of the previous instruction (sign, overflow); there are special jumps called "calls" from which you can jump back later.

    Solve:
    load f0, K[0] // Read coefficient A
    load f1, K[1] // Read coefficient B
    load f2, K[2] // Read coefficient C
    load f3, f1 // Copy B
    mul f3, f3 // Square it
    mul f2, f0 // Multiply C by A (C overwritten)
    mul f2, 4 // 4.A.C
    sub f3, f2 // B.B - 4.A.C
    jmp neg, Done // No root
    push f3 // Push the argument onto the stack
    call Sqrt // Call the square root function
    pop f3 // Get the return value, Sqrt(B.B - 4.A.C)
    sub f3, f1 // - B + Sqrt(D)
    mul f0, 2 // 2.A
    div f3, f0 // (- B + Sqrt(D)) / 2.A
    store X, f3 // Write the root
    Done:
    ret // Return control to the caller

    If you were able to follow that code, you can move on to the Discrete Mathematics course, for which no accelerated version is available. :)

    N 1 Reply Last reply
    0
    • J Jon Plotner

      Machine ORG/Assembler Language VS. Discrete Mathematics I can only take one. Which should it be? Why? I want to take the class that will be most beneficial to me in the long run, and have the greatest impact on my thought processes and understanding/ make me more valuable in the workforce. Currently I have three path pulling at me. Industrial and Systems Engineering, Biomedical Engineering, Computer Science/Software Engineering. I start my masters program in Fall 2014 and want to take take some extra classes before my program starts. Thank you for your advice and help! -Plot:java: Thank you again everyone! Discrete Math it is! :) I love puzzles so I am excited to take the course. Thanks for all your input and great explanations. Much Love, -Plot:java:

      L Offline
      L Offline
      Lutoslaw
      wrote on last edited by
      #5

      What kind of university doesn't allow to have both of them? Both are important. Discrete Maths is a must-have for understanding how CPU thinks. And I believe that on an assembler course you would learn not only a language itself, but also how CPU works. Ps: what is a "Machine ORG"?.

      Greetings - Jacek

      A J 2 Replies Last reply
      0
      • J Jon Plotner

        Machine ORG/Assembler Language VS. Discrete Mathematics I can only take one. Which should it be? Why? I want to take the class that will be most beneficial to me in the long run, and have the greatest impact on my thought processes and understanding/ make me more valuable in the workforce. Currently I have three path pulling at me. Industrial and Systems Engineering, Biomedical Engineering, Computer Science/Software Engineering. I start my masters program in Fall 2014 and want to take take some extra classes before my program starts. Thank you for your advice and help! -Plot:java: Thank you again everyone! Discrete Math it is! :) I love puzzles so I am excited to take the course. Thanks for all your input and great explanations. Much Love, -Plot:java:

        T Offline
        T Offline
        thrakazog
        wrote on last edited by
        #6

        I've taken both. The only thing that stuck with me from discrete math was some of the vector operations. Those came in handy for some game code. The assembly class had us using exposed circuit boards and wiring them for LEDs countdown timers and buzzers. So... it was basically a class to teach bomb building. Of the two I've gotten more use out of the math. Homeland security tends to frown on the other anyway. :rolleyes:

        Play my game Gravity: Android[^], Windows Phone 7[^]

        S 1 Reply Last reply
        0
        • Y YvesDaoust

          Assembler language is no rocket science, you can learn it by yourself. Here is an accelerated course: Your processor has registers (int and float), it performs arithmetic & logic instructions (taking two or three operands); operands are in registers or taken from/to memory through simple address computation; memory holds a special area called the stack (lifo); you can "label" the instructions and jump to them, unconditionally or based on the result of the previous instruction (sign, overflow); there are special jumps called "calls" from which you can jump back later.

          Solve:
          load f0, K[0] // Read coefficient A
          load f1, K[1] // Read coefficient B
          load f2, K[2] // Read coefficient C
          load f3, f1 // Copy B
          mul f3, f3 // Square it
          mul f2, f0 // Multiply C by A (C overwritten)
          mul f2, 4 // 4.A.C
          sub f3, f2 // B.B - 4.A.C
          jmp neg, Done // No root
          push f3 // Push the argument onto the stack
          call Sqrt // Call the square root function
          pop f3 // Get the return value, Sqrt(B.B - 4.A.C)
          sub f3, f1 // - B + Sqrt(D)
          mul f0, 2 // 2.A
          div f3, f0 // (- B + Sqrt(D)) / 2.A
          store X, f3 // Write the root
          Done:
          ret // Return control to the caller

          If you were able to follow that code, you can move on to the Discrete Mathematics course, for which no accelerated version is available. :)

          N Offline
          N Offline
          Nelek
          wrote on last edited by
          #7

          :thumbsup::thumbsup::thumbsup:

          M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

          J B 2 Replies Last reply
          0
          • L Lutoslaw

            What kind of university doesn't allow to have both of them? Both are important. Discrete Maths is a must-have for understanding how CPU thinks. And I believe that on an assembler course you would learn not only a language itself, but also how CPU works. Ps: what is a "Machine ORG"?.

            Greetings - Jacek

            A Offline
            A Offline
            Albert Holguin
            wrote on last edited by
            #8

            He didn't say he wasn't allowed both, he just said he's taking one or the other.

            1 Reply Last reply
            0
            • L Lutoslaw

              What kind of university doesn't allow to have both of them? Both are important. Discrete Maths is a must-have for understanding how CPU thinks. And I believe that on an assembler course you would learn not only a language itself, but also how CPU works. Ps: what is a "Machine ORG"?.

              Greetings - Jacek

              J Offline
              J Offline
              Jon Plotner
              wrote on last edited by
              #9

              I am allowed to take both simultaneously, but there are credit limitations. I believe I am limited to 22 credits a semester. I am enrolled in 4 classes, for the fifth spot it's discrete vs assembly. I have my summer classes planned out, and I start grad school in Fall. So, I am allowed to take both, but priorities and time require that I choose one of the two.

              A 1 Reply Last reply
              0
              • J Jon Plotner

                Machine ORG/Assembler Language VS. Discrete Mathematics I can only take one. Which should it be? Why? I want to take the class that will be most beneficial to me in the long run, and have the greatest impact on my thought processes and understanding/ make me more valuable in the workforce. Currently I have three path pulling at me. Industrial and Systems Engineering, Biomedical Engineering, Computer Science/Software Engineering. I start my masters program in Fall 2014 and want to take take some extra classes before my program starts. Thank you for your advice and help! -Plot:java: Thank you again everyone! Discrete Math it is! :) I love puzzles so I am excited to take the course. Thanks for all your input and great explanations. Much Love, -Plot:java:

                T Offline
                T Offline
                TnTinMn
                wrote on last edited by
                #10

                Advanced mathematical knowledge is always helpful no matter what technical field you go end up in as it will hopefully imprint on you different ways to view and analyze data.

                Quote:

                Currently I have three path pulling at me. Industrial and Systems Engineering, Biomedical Engineering, Computer Science/Software Engineering.

                It would help to know what undergraduate program you are currently enrolled in and what you hope to do when you graduate. Based on these three graduate study areas, I would assume that you are currently in a math and/or computer science program and hope to use all that stuff you have been learning in the real world. :) I am not saying that that can not happen, but many engineers will tell you that it is the problem solving skills you have hopefully developed that you will be use the most versus any specific knowledge you may hope to remember. In any case, good luck and study hard. :)

                N 1 Reply Last reply
                0
                • N Nelek

                  :thumbsup::thumbsup::thumbsup:

                  M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                  J Offline
                  J Offline
                  Jon Plotner
                  wrote on last edited by
                  #11

                  I believe you are saying, and this is a bit of a hunch/guess given the topic we are discussing. Also please excuse any errors I am semi new to computer science and it's vocabulary. There are low level and high level language, assembly being a very low level/machine level set of instructions. Writing machine level is more time consuming for functionally equivalent algorithms. So, many decades ago people solved this issue by creating higher level language and compilers. So, solved problem is machine/assembler language. I'd say we should worry about solved problems a) so we know our solution is correct b) in the framework of computers so we can better understand the machine (TLDR: understanding solved problems is important so we can understand higher level concepts, arithmatic-> algebra-> calculus-> differential E.Q.) If there is no solution we should worry about it because a problem having no solution simple means we currently do not know how to solve it (granted there is no solution to some philosophical problems, and I believe those shouldn't be worried about) E.G. calculus made "unsolvable" problems solvable. This makes your second question a valuation of progress. If we value knowledge and progress we should worry about the "unsolvable" If we don't care then we shouldn't. I say we should because we can use knowledge to improve living conditions for mankind, and I believe life should be as responsibly pleasurable as possible (a somewhat hedonistic view) So, we should worry about the "unsolvable" because it may be solvable given new technique and approach. I suspect that your first question represents the course on assembly language, and your second question represents discrete mathematics... :-D That was fun, ty for the fun opportunity to think about your questions. SO, how did you mean for them to be interpreted? ALso, Thank you both for your posts

                  A 1 Reply Last reply
                  0
                  • T TnTinMn

                    Advanced mathematical knowledge is always helpful no matter what technical field you go end up in as it will hopefully imprint on you different ways to view and analyze data.

                    Quote:

                    Currently I have three path pulling at me. Industrial and Systems Engineering, Biomedical Engineering, Computer Science/Software Engineering.

                    It would help to know what undergraduate program you are currently enrolled in and what you hope to do when you graduate. Based on these three graduate study areas, I would assume that you are currently in a math and/or computer science program and hope to use all that stuff you have been learning in the real world. :) I am not saying that that can not happen, but many engineers will tell you that it is the problem solving skills you have hopefully developed that you will be use the most versus any specific knowledge you may hope to remember. In any case, good luck and study hard. :)

                    N Offline
                    N Offline
                    Nelek
                    wrote on last edited by
                    #12

                    TnTinMn wrote:

                    many engineers will tell you that it is the problem solving skills you have hopefully developed that you will be use the most versus any specific knowledge you may hope to remember

                    I am one of them. From all what I learned in college, I just use 10% or 15%. The best things I learnt in college are self-teaching and solution-oriented methodologies.

                    M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                    A 1 Reply Last reply
                    0
                    • N Nelek

                      :thumbsup::thumbsup::thumbsup:

                      M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                      B Offline
                      B Offline
                      BillWoodruff
                      wrote on last edited by
                      #13

                      What really worries me are the times when I stop worrying and feel over-confident in my own technical mastery: for those times are, inevitably, punctuated by disasters in judgement :) Happy New Year !

                      “I'm an artist: it's self evident that word implies looking for something all the time without ever finding it in full. It is the opposite of saying : 'I know all about it. I've already found it.' As far as I'm concerned, the word means: 'I am looking. I am hunting for it. I am deeply involved.'” Vincent Van Gogh

                      A 1 Reply Last reply
                      0
                      • J Jon Plotner

                        I am allowed to take both simultaneously, but there are credit limitations. I believe I am limited to 22 credits a semester. I am enrolled in 4 classes, for the fifth spot it's discrete vs assembly. I have my summer classes planned out, and I start grad school in Fall. So, I am allowed to take both, but priorities and time require that I choose one of the two.

                        A Offline
                        A Offline
                        Albert Holguin
                        wrote on last edited by
                        #14

                        Jon Plotner wrote:

                        22 credits a semester

                        That would be a heck of a workload... unless you have some easy classes in the mix.

                        R 1 Reply Last reply
                        0
                        • N Nelek

                          TnTinMn wrote:

                          many engineers will tell you that it is the problem solving skills you have hopefully developed that you will be use the most versus any specific knowledge you may hope to remember

                          I am one of them. From all what I learned in college, I just use 10% or 15%. The best things I learnt in college are self-teaching and solution-oriented methodologies.

                          M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                          A Offline
                          A Offline
                          Albert Holguin
                          wrote on last edited by
                          #15

                          It really depends on your course of study versus what you actual occupation is. In any case though, you'll never remember everything, I'm constantly having to look back to books or online sources to remember things. I'm a communications/DSP engineer... so I guess I use a lot more of my mathematics than the average college grad.

                          N 1 Reply Last reply
                          0
                          • B BillWoodruff

                            What really worries me are the times when I stop worrying and feel over-confident in my own technical mastery: for those times are, inevitably, punctuated by disasters in judgement :) Happy New Year !

                            “I'm an artist: it's self evident that word implies looking for something all the time without ever finding it in full. It is the opposite of saying : 'I know all about it. I've already found it.' As far as I'm concerned, the word means: 'I am looking. I am hunting for it. I am deeply involved.'” Vincent Van Gogh

                            A Offline
                            A Offline
                            Albert Holguin
                            wrote on last edited by
                            #16

                            :laugh: :thumbsup:

                            1 Reply Last reply
                            0
                            • J Jon Plotner

                              I believe you are saying, and this is a bit of a hunch/guess given the topic we are discussing. Also please excuse any errors I am semi new to computer science and it's vocabulary. There are low level and high level language, assembly being a very low level/machine level set of instructions. Writing machine level is more time consuming for functionally equivalent algorithms. So, many decades ago people solved this issue by creating higher level language and compilers. So, solved problem is machine/assembler language. I'd say we should worry about solved problems a) so we know our solution is correct b) in the framework of computers so we can better understand the machine (TLDR: understanding solved problems is important so we can understand higher level concepts, arithmatic-> algebra-> calculus-> differential E.Q.) If there is no solution we should worry about it because a problem having no solution simple means we currently do not know how to solve it (granted there is no solution to some philosophical problems, and I believe those shouldn't be worried about) E.G. calculus made "unsolvable" problems solvable. This makes your second question a valuation of progress. If we value knowledge and progress we should worry about the "unsolvable" If we don't care then we shouldn't. I say we should because we can use knowledge to improve living conditions for mankind, and I believe life should be as responsibly pleasurable as possible (a somewhat hedonistic view) So, we should worry about the "unsolvable" because it may be solvable given new technique and approach. I suspect that your first question represents the course on assembly language, and your second question represents discrete mathematics... :-D That was fun, ty for the fun opportunity to think about your questions. SO, how did you mean for them to be interpreted? ALso, Thank you both for your posts

                              A Offline
                              A Offline
                              Albert Holguin
                              wrote on last edited by
                              #17

                              Think you mistook @Nelek's signature line for a post directly relating to your original post.

                              J 1 Reply Last reply
                              0
                              • A Albert Holguin

                                Jon Plotner wrote:

                                22 credits a semester

                                That would be a heck of a workload... unless you have some easy classes in the mix.

                                R Offline
                                R Offline
                                Ron Beyer
                                wrote on last edited by
                                #18

                                I took an average of 21 credits per quarter at the engineering school I went to... for more than 3 years, while working, including summers. This was a school where 75% is a failing grade. Nothing wrong with working your ass off, just brings the crazy out sooner :)

                                A 1 Reply Last reply
                                0
                                • A Albert Holguin

                                  Think you mistook @Nelek's signature line for a post directly relating to your original post.

                                  J Offline
                                  J Offline
                                  Jon Plotner
                                  wrote on last edited by
                                  #19

                                  Haha your right...

                                  A 1 Reply Last reply
                                  0
                                  • R Ron Beyer

                                    I took an average of 21 credits per quarter at the engineering school I went to... for more than 3 years, while working, including summers. This was a school where 75% is a failing grade. Nothing wrong with working your ass off, just brings the crazy out sooner :)

                                    A Offline
                                    A Offline
                                    Albert Holguin
                                    wrote on last edited by
                                    #20

                                    Well a semester is pretty much a quarter... I graduated in three years as well, but I wouldn't wish my gray hairs on anyone... :laugh:

                                    R 1 Reply Last reply
                                    0
                                    • J Jon Plotner

                                      Haha your right...

                                      A Offline
                                      A Offline
                                      Albert Holguin
                                      wrote on last edited by
                                      #21

                                      I guess you just learned about signature lines... ;P :laugh:

                                      N 1 Reply Last reply
                                      0
                                      • A Albert Holguin

                                        Well a semester is pretty much a quarter... I graduated in three years as well, but I wouldn't wish my gray hairs on anyone... :laugh:

                                        R Offline
                                        R Offline
                                        Ron Beyer
                                        wrote on last edited by
                                        #22

                                        Eh, 4 quarters in a year, only 2.5 semesters or so... Brain did all it could to absorb an entire course in 11 weeks, much less 6 or 7 of them. Didn't graduate in 3 years, took me just over 4 since I changed majors twice in a school where changing programs meant basically starting over. My hair was gray by my sophomore year, by the time I graduated I felt 10 years older :)

                                        A 1 Reply Last reply
                                        0
                                        • R Ron Beyer

                                          Eh, 4 quarters in a year, only 2.5 semesters or so... Brain did all it could to absorb an entire course in 11 weeks, much less 6 or 7 of them. Didn't graduate in 3 years, took me just over 4 since I changed majors twice in a school where changing programs meant basically starting over. My hair was gray by my sophomore year, by the time I graduated I felt 10 years older :)

                                          A Offline
                                          A Offline
                                          Albert Holguin
                                          wrote on last edited by
                                          #23

                                          There's actually four school semesters in most universities. Spring and Fall are the usual, then there's usually two summer sessions. The summer sessions are condensed.

                                          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