COM SCI 31 Lecture Notes - Lecture 2: Machine Code, Bjarne Stroustrup

34 views1 pages
6 Apr 2017
School

Document Summary

Lecture 2 4/5: when first writing programs, use english instead of numbers. Assembly language: program is assembled into machine language by an assembler e. g. load price, add fees, store total, halt (price data 42, fees data 13, total. Data) character: each line translates to one machine instruction (one to one translation) tied to a particular machine: fortran (another language) e. g. integer price = 42 integer fees = 13 integer totalcost = price + fees. Higher-level language; advantages: closer to the notation people are more comfortable with; program is shorter; one line with more info; easier to read; not confined to a particular vendor. Program is compiled into machine language by a compiler/(translater: c developed in 1971. Bjarne stroustrup developed a program in 1980 ended up as c++ (java: derivative of: (microsoft developed c#) (others: swift, perl, ruby, python) 2011 revision of iso c++ standard (c++11)

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents