90 likes | 564 Views
1.6 Machine Languages, Assembly Languages, and High-level Languages. Three types of programming languages Machine languages Strings of numbers giving machine specific instructions Example: +1300042774 +1400593419 +1200274027 Assembly languages
E N D
1.6 Machine Languages, Assembly Languages, and High-level Languages • Three types of programming languages • Machine languages • Strings of numbers giving machine specific instructions • Example: +1300042774 +1400593419 +1200274027 • Assembly languages • English-like abbreviations representing elementary computer operations (translated via assemblers) • Example: LOAD BASEPAY ADD OVERPAY STORE GROSSPAY
1.6 Machine Languages, Assembly Languages, and High-level Languages • High-level languages • Codes similar to everyday English • Use mathematical notations (translated via compilers) • Example: grossPay = basePay + overTimePay
1.7 History of C • C • Evolved by Ritchie from two previous programming languages, BCPL and B • Used to develop UNIX • Used to write modern operating systems • Hardware independent (portable) • By late 1970's C had evolved to "Traditional C" • Standardization • Many slight variations of C existed, and were incompatible • Committee formed to create a "unambiguous, machine-independent" definition • Standard created in 1989, updated in 1999
1.9 The Key Software Trend: Object Technology • Objects • Reusable software components that model items in the real world • Meaningful software units • Date objects, time objects, paycheck objects, invoice objects, audio objects, video objects, file objects, record objects, etc. • Any noun can be represented as an object • Very reusable • More understandable, better organized, and easier to maintain than procedural programming • Favor modularity