15
Programming

Programming. Definition What Where How FIRST The Rise of the Machines Mechanical & Electro-mechanical calculatorsPersonal Computers Commercial Mainframe

Embed Size (px)

Citation preview

Page 1: Programming. Definition What Where How FIRST The Rise of the Machines Mechanical & Electro-mechanical calculatorsPersonal Computers Commercial Mainframe

Programming

Page 2: Programming. Definition What Where How FIRST The Rise of the Machines Mechanical & Electro-mechanical calculatorsPersonal Computers Commercial Mainframe

• Definition

• What

• Where

• How

• FIRST

Page 3: Programming. Definition What Where How FIRST The Rise of the Machines Mechanical & Electro-mechanical calculatorsPersonal Computers Commercial Mainframe

The Rise of the Machines

Mechanical & Electro-mechanical calculators

Personal Computers

Commercial Mainframe Computers Minicomputers

Supercomputers Server

Portable Devices

From November 2011 issue of Popular Science

http://data-week.popsci.com/petaflop-web-final/

Page 4: Programming. Definition What Where How FIRST The Rise of the Machines Mechanical & Electro-mechanical calculatorsPersonal Computers Commercial Mainframe

Last 40 Years

IBM PC$7586

CRAY I$25,501,0

38

2010 Dell Latitude (Intel Core i7 M620 @

2.67GHz)$2049

CRAY CS6400

$567,879

Sony PlayStation 3

$553

iPad2$499

Page 5: Programming. Definition What Where How FIRST The Rise of the Machines Mechanical & Electro-mechanical calculatorsPersonal Computers Commercial Mainframe

PlayStation 3 Supercomputer (‘Only’ $35,000!)

Page 6: Programming. Definition What Where How FIRST The Rise of the Machines Mechanical & Electro-mechanical calculatorsPersonal Computers Commercial Mainframe

Data Ocean• Video helps understand data size

o http://www.youtube.com/watch?v=CsVYID9rMGE

• If we think of 1 byte as 1 drop of water:o DVD: 4.7GB = 62,700gal; 10 would fill Olympic-size swimming poolo Hard Drive: 4TB = 53Million galo Human Brain: 2.5Petabytes = 33Billion gal, or 103,000 acre-feet;

French Meadows Reservoiro Websites indexed by Google: 98Petabytes = 4Million acre-feet; Lake

Shastao Digital data created in 2008: 422Exabytes = 17Billion acre-feet, or

5,100 cubic miles; Lake Baikal in Russia (largest freshwater lake in the world)

o Digital data created in 2011: 1.8Zettabytes (!) = 21,740 cubic miles; nearly half of all fresh water on earth.

o Storage capacity: 1Zettabyte

Page 7: Programming. Definition What Where How FIRST The Rise of the Machines Mechanical & Electro-mechanical calculatorsPersonal Computers Commercial Mainframe

DefinitionComputer programming is the process of designing, writing, testing, debugging, and maintaining the source code of computer programs. This source code is written in one or more programming languages. The purpose of programming is to create a program that performs specific operations or exhibits a certain desired behavior. The process of writing source code often requires expertise in many different subjects, including knowledge of the application domain, specialized algorithms and formal logic.

- Wikipedia

Page 8: Programming. Definition What Where How FIRST The Rise of the Machines Mechanical & Electro-mechanical calculatorsPersonal Computers Commercial Mainframe

What?• Operating Systems

• Applications

• Web Sites

Page 9: Programming. Definition What Where How FIRST The Rise of the Machines Mechanical & Electro-mechanical calculatorsPersonal Computers Commercial Mainframe

Games

Page 10: Programming. Definition What Where How FIRST The Rise of the Machines Mechanical & Electro-mechanical calculatorsPersonal Computers Commercial Mainframe

Where?• Computers

• Handhelds

• Others

Page 11: Programming. Definition What Where How FIRST The Rise of the Machines Mechanical & Electro-mechanical calculatorsPersonal Computers Commercial Mainframe

Where? (2)• Mercedes S Class

o 20 million lines of codeo Electronic Control Units (ECUs) as an Airbus

A380

• Fighterso 1.7 million lines in the F22 Raptoro B-2 Bomber fly by wire controls and flight

data recording

• Aircrafto 6.5 miillion line in the 787 Dreamliner

- ieee spectrum

Page 12: Programming. Definition What Where How FIRST The Rise of the Machines Mechanical & Electro-mechanical calculatorsPersonal Computers Commercial Mainframe

How?o Process• Requirements gathering• Designing• Coding• Testing/Debugging• Documenting• Maintaining

oDevelopment methodology• Waterfall• Agile

Page 13: Programming. Definition What Where How FIRST The Rise of the Machines Mechanical & Electro-mechanical calculatorsPersonal Computers Commercial Mainframe

LanguagesoC++o Scalao PHPoHTMLo JavascriptoAssemblyo Java

Page 14: Programming. Definition What Where How FIRST The Rise of the Machines Mechanical & Electro-mechanical calculatorsPersonal Computers Commercial Mainframe

Language Popularity

Page 15: Programming. Definition What Where How FIRST The Rise of the Machines Mechanical & Electro-mechanical calculatorsPersonal Computers Commercial Mainframe

Firsto Projects• Robot controller

oJoystickoMotor controllersoSolenoidsoPneumatics

• WebsiteoCurrent contentoChronical build season

• …