learn assembly - introduction to programming
DESCRIPTION
This presentation has been done for LearnAssembly. It's a brief introduction to programming. We start with a bit of History, then move to create our first instructions in Ruby.TRANSCRIPT
![Page 1: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/1.jpg)
Dev IntroLearn Assembly
![Page 3: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/3.jpg)
So easy!
• launch Interactive Ruby
• puts ’’Hello World’’
• 3+2
• Math.sqrt(9)
![Page 4: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/4.jpg)
History
![Page 5: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/5.jpg)
Joseph Marie Jacquard
1752 - 1834
![Page 6: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/6.jpg)
Ada Lovelace1815 - 1852
![Page 7: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/7.jpg)
Herman Hollerith
1860 - 1929
![Page 8: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/8.jpg)
« Hollerith Punched Card »
![Page 9: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/9.jpg)
• Tabulating Machine Co. (1896)
• International Business Machines Corporation
![Page 10: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/10.jpg)
Allan Mathison Turing
!1912 - 1954
![Page 11: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/11.jpg)
• Turing machine
• Algorithm
• Computation
![Page 12: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/12.jpg)
Languages
![Page 13: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/13.jpg)
Tabulating Machine Company
1896
Assembly Language
1896
Plugboard
1954
Fortran
1960
Data Storage Devices
![Page 14: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/14.jpg)
Types
• Interpreted / Compiled
• Object , Imperative, events …
• Web Oriented
![Page 15: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/15.jpg)
• Action Script
• C, C++, C#
• Java
• Objective C
• Perl
• HTML
• PHP
• Java, JavaScript
• Python
• Ruby
WebDevice/GUI
![Page 16: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/16.jpg)
Framework?
Set of Libraries or classes for a Software Sys.
• Support programs, compilers, code libraries, tool set, APIs
![Page 17: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/17.jpg)
• CSS: Bootstrap, YAML
• Ajax/JavaScript: YUI
• Application: Cocoa, Mozilla, Eclipse, Microsoft Foundation, .net, Rails
![Page 18: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/18.jpg)
Good Code
• Reliability
• Efficiently/performance
• Maintainability
• Portability
• Usability/Ergonomic
• Robustness
![Page 19: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/19.jpg)
ReadabilityHuman reader must comprehend the purpose
• Indentation:
![Page 20: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/20.jpg)
• Comments:
![Page 21: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/21.jpg)
• Decomposition:
![Page 22: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/22.jpg)
• Naming Convention
![Page 23: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/23.jpg)
Keep Calm & Code
![Page 24: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/24.jpg)
Variables
![Page 25: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/25.jpg)
Functions
![Page 26: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/26.jpg)
Formatting
![Page 27: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/27.jpg)
Class Definition
![Page 28: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/28.jpg)
Create Object
![Page 29: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/29.jpg)
Use It!
![Page 30: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/30.jpg)
Instance Methods
![Page 31: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/31.jpg)
Instance Attributes
![Page 32: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/32.jpg)
Instance Attributes
![Page 33: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/33.jpg)
Loop & Iterations
![Page 34: Learn Assembly - Introduction to programming](https://reader034.vdocuments.mx/reader034/viewer/2022052409/5406c44b8d7f72b90a8b47ab/html5/thumbnails/34.jpg)
Conditions