Your SlideShare is downloading. ×
Introduction to programming
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Introduction to programming

214

Published on

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

  • Be the first to like this

No Downloads
Views
Total Views
214
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Introduction to Programming
  • 2. How do computers work? There are three factors involved in a computing environment: •Hardware •Software •“Peopleware” michaeldalisay.com
  • 3. Hardware These are all parts of the computer that can be touched: •mouse •keyboard •monitor •CPU •printer michaeldalisay.com
  • 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. “Peopleware” These are humans who either use the programs or create the programs. The people who create programs are called programmers. michaeldalisay.com
  • 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. 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. 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. Types of Programming Languages • Machine Level Language (MLL) • Assembly Level Language • High Level Language michaeldalisay.com
  • 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. 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. 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. 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

×