Introduction to programming

334 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
334
On SlideShare
0
From Embeds
0
Number of Embeds
143
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Introduction to programming

  1. 1. Introduction to Programming
  2. 2. How do computers work? There are three factors involved in a computing environment: •Hardware •Software •“Peopleware” michaeldalisay.com
  3. 3. Hardware These are all parts of the computer that can be touched: •mouse •keyboard •monitor •CPU •printer michaeldalisay.com
  4. 4. Software These are programs that instructs the computer on how to use the hardware. It can be •BIOS •Operating System (like Windows XP, Linux, Mac OSX) •Applications Programs (Microsoft Office, AutoCAD, NBA 2K14) michaeldalisay.com
  5. 5. “Peopleware” These are humans who either use the programs or create the programs. The people who create programs are called programmers. michaeldalisay.com
  6. 6. Without a program… The computer is just a collection of metals, plastics and glass parts. It cannot run by itself. The capabilities of a computer is dependent upon the programmer. michaeldalisay.com
  7. 7. Human-to-human Communication • Happens through the use of a common language • If two humans do not have a common language they use an interpreter who understand both languages michaeldalisay.com
  8. 8. Human-to-computer Communication • Computers do not understand any human language. It only knows two states: ON or OFF or in numbers: 1 and 0. • Computers only understand Binary Language or Machine Language • Programming languages are needed to help humans communicate with computers michaeldalisay.com
  9. 9. Types of Programming Languages • Machine Level Language (MLL) • Assembly Level Language • High Level Language michaeldalisay.com
  10. 10. Machine Level Language (MLL) • Basic language of computers • Only language understood by computers • Consists of a sequence of 1s and 0s • Also called object code or binary code michaeldalisay.com
  11. 11. Assembly Level Language • Uses mnemonic or symbolic codes • Cannot be understood by computers • Requires a software called assembler to translate code to machine language Assembly Language Program ASSEMBLER Machine Language Program michaeldalisay.com
  12. 12. High Level Language • Use general English words • More user friendly than Assembly language • Requires a COMPILER as translator High Level Language Program COMPILER Machine Language Program michaeldalisay.com
  13. 13. Summary • Computers work because of three components: hardware, software and “peopleware”. • Software tells the computer how to use hardware. • Softwares are written using programming languages. • Programming languages can be categorized as either of these: Machine Level Language, Assembly Level Language and High Level Language. michaeldalisay.com

×