SlideShare a Scribd company logo
1 of 14
What is Computer And
Programming ?
Computer is an electronic device for storing and
processing data, typically in binary form, which is
programmed to do such a wide variety of things .
The physical devices that a computer is made of are
named as computer’s hardware and the programs that are
programmed by programmers are called as software .
A program stores in main memory which is called as RAM
as long as it is running. And by turning the computer off ,
the content of RAM is erased.
Secondary storage is a type of memory that can hold data
for long periods of time ,even when no power is connected
to the computer.
What is a Program?
A program is a set of instructions which is related to software
of a computer that a follows it to perform a task.
Why do we program a
computer?
Programming helps you understand computers. The
computer is only a tool. If you learn how to write simple
programs, you will gain more knowledge about how a
computer works.
Writing a few simple programs increases your confidence
level. Many people find great personal satisfaction in
creating a set of instructions that solve a problem.
Learning programming lets you find out quickly whether
you like programming and whether you have the analytical
turn of mind programmers need. Even if you decide that
programming is not for you, understanding the process
certainly will increase your appreciation of what
programmers and computers can do.
A computer’s memory is divided into tiny storage locations
known as bytes which each byte includes eight smaller
parts named bits. Each byte is only enough to store a
letter of the alphabet or a small number.
Each character or number in a byte is shown by a
computer structure , including 0 and 1, like 10011100. If
the number is more longer than the capacity of a byte we
use 2 bytes (18bits) for it .
How do we program?
As I mentioned before a computer is programmed to run a
task .
There are different languages for programming a
computer , and choosing one of these languages depends
on demand like C, C++ , Java . . .
Programing is a bunch of codes which are written in a
specific programming language by a programmer .
The statements that are written by a programmer in a
high-level language are called source code or simply
code.
Structured programming requires that programmers break
program structure into small pieces of code that are easily
understood.
Categories of Programing
language
Low-Level
Low-Level ( Machine Language)
Computer understand only a language that is known as
“machine language”.
It consists of set of instructions in form of 1 and 0.
It is difficult for human to read and write machine
language.
High-Level language
High level computer languages give formats close to
English language and the purpose of developing .
It helps people to write a program easily .
High level languages are basically symbolic languages
that use English words and mathematical symbols rather
than mnemonic codes.
Compilers and Interpreters
Because the CPU understands only machine language
instructions, programs that are written in a language
depends on human language ( high-level language ) must
be translated into machine language.
Depending on the language that a program has been
written in , the programmer will use a complier or
interpreter to make the translation .
A compiler is a program that translate a high-level
language program into a separate machine language
program.
How a program works?
Scientists mention CPU as “computer’s brain” because they
think CPU is smart. But CPU is an electronic device that is
designed to do specific things. In particular ,the CPU is
designed to perform operations . Such as ,
- Reading a piece of data from main memory
- Adding two numbers
- Moving a piece of data from one memory location to
another
- Determining whether one value is equal to another value
The CPU performs simple operations on pieces of data. The
CPU does nothing on its own. It has to be told what to do and
that’s the purpose of a program.
Fetch-Decode-Execute
cycle
When a CPU executes the instructions in a program, it is
engaged in a process that is known as the fetch-decode-
execute cycle . This cycle, Which consists of three steps, is
repeated for each instruction in the program.
Fetch: a program is a long sequence of machine language
instructions. The first step of the cycle is to fetch, or read
the next instruction from memory into the CPU.
Decode: a machine language instruction is a binary
number that represents a command that tells the CPU to
perform an operation .
Execute: the last step in the cycle is to execute , or
perform, the operation.

More Related Content

What's hot

What's hot (20)

Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / Translators
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
 
Itroduction about java
Itroduction about javaItroduction about java
Itroduction about java
 
Assembly language progarmming
Assembly language progarmmingAssembly language progarmming
Assembly language progarmming
 
C++ programming languages lectures
C++ programming languages lectures C++ programming languages lectures
C++ programming languages lectures
 
10 lesson8
10 lesson810 lesson8
10 lesson8
 
2 c++ programming languages
2 c++   programming languages2 c++   programming languages
2 c++ programming languages
 
Latihan uts
Latihan utsLatihan uts
Latihan uts
 
Assembly language
Assembly languageAssembly language
Assembly language
 
Coding vs programming
Coding vs programmingCoding vs programming
Coding vs programming
 
Presentation
PresentationPresentation
Presentation
 
Assembly language programming
Assembly language programmingAssembly language programming
Assembly language programming
 
Introduction to compiler development
Introduction to compiler developmentIntroduction to compiler development
Introduction to compiler development
 
Assembly Language In Electronics
Assembly Language In ElectronicsAssembly Language In Electronics
Assembly Language In Electronics
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
 
Starting c++
Starting c++Starting c++
Starting c++
 
Basic of Computer By Rimon Rayhan
Basic of Computer By Rimon RayhanBasic of Computer By Rimon Rayhan
Basic of Computer By Rimon Rayhan
 
Savitch ch 01
Savitch ch 01Savitch ch 01
Savitch ch 01
 
Meeting 6 ok
Meeting 6 okMeeting 6 ok
Meeting 6 ok
 
Assembly Language
Assembly LanguageAssembly Language
Assembly Language
 

Viewers also liked

Alba Hot Springs Resort Sales Presentation
Alba Hot Springs Resort Sales PresentationAlba Hot Springs Resort Sales Presentation
Alba Hot Springs Resort Sales PresentationNgoc_ruby83
 
โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์ โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์ Kanjanaporn Thompat
 
Consumer barriers to mobile internet adoption in Asia
Consumer barriers to mobile internet adoption in AsiaConsumer barriers to mobile internet adoption in Asia
Consumer barriers to mobile internet adoption in AsiaTuan Anh Nguyen
 
Vietnam mobile report q3 2016
Vietnam mobile report q3 2016Vietnam mobile report q3 2016
Vietnam mobile report q3 2016Tuan Anh Nguyen
 
โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์Kanjanaporn Thompat
 
โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์Kanjanaporn Thompat
 
เทคนิคการใช้ภาษาอังกฤษ
เทคนิคการใช้ภาษาอังกฤษเทคนิคการใช้ภาษาอังกฤษ
เทคนิคการใช้ภาษาอังกฤษKanjanaporn Thompat
 
Digital in apac sep 2016
Digital in apac sep 2016Digital in apac sep 2016
Digital in apac sep 2016Tuan Anh Nguyen
 
Global Cellular Market trends and insight Q3/2016
Global Cellular Market trends and insight Q3/2016Global Cellular Market trends and insight Q3/2016
Global Cellular Market trends and insight Q3/2016Tuan Anh Nguyen
 
โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์ โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์ Kanjanaporn Thompat
 
ข้อสอบ 7 วิชา สามัญ ปี 2554
ข้อสอบ 7 วิชา สามัญ ปี 2554 ข้อสอบ 7 วิชา สามัญ ปี 2554
ข้อสอบ 7 วิชา สามัญ ปี 2554 Kanjanaporn Thompat
 
Binary code - Beginning
Binary code - BeginningBinary code - Beginning
Binary code - BeginningDebbie Eitner
 

Viewers also liked (20)

Algorithms - Introduction to computer programming
Algorithms - Introduction to computer programmingAlgorithms - Introduction to computer programming
Algorithms - Introduction to computer programming
 
Blogger
BloggerBlogger
Blogger
 
Digital in vn sep 2016
Digital in vn sep 2016Digital in vn sep 2016
Digital in vn sep 2016
 
Alba Hot Springs Resort Sales Presentation
Alba Hot Springs Resort Sales PresentationAlba Hot Springs Resort Sales Presentation
Alba Hot Springs Resort Sales Presentation
 
โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์ โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์
 
Consumer barriers to mobile internet adoption in Asia
Consumer barriers to mobile internet adoption in AsiaConsumer barriers to mobile internet adoption in Asia
Consumer barriers to mobile internet adoption in Asia
 
Vietnam mobile report q3 2016
Vietnam mobile report q3 2016Vietnam mobile report q3 2016
Vietnam mobile report q3 2016
 
blogger
blogger blogger
blogger
 
Blogger
BloggerBlogger
Blogger
 
โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์
 
โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์
 
Social trends 2016
Social trends 2016Social trends 2016
Social trends 2016
 
เทคนิคการใช้ภาษาอังกฤษ
เทคนิคการใช้ภาษาอังกฤษเทคนิคการใช้ภาษาอังกฤษ
เทคนิคการใช้ภาษาอังกฤษ
 
Digital in apac sep 2016
Digital in apac sep 2016Digital in apac sep 2016
Digital in apac sep 2016
 
Global Cellular Market trends and insight Q3/2016
Global Cellular Market trends and insight Q3/2016Global Cellular Market trends and insight Q3/2016
Global Cellular Market trends and insight Q3/2016
 
โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์ โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์
 
Global Pay-TV landscape
Global Pay-TV landscapeGlobal Pay-TV landscape
Global Pay-TV landscape
 
ข้อสอบ 7 วิชา สามัญ ปี 2554
ข้อสอบ 7 วิชา สามัญ ปี 2554 ข้อสอบ 7 วิชา สามัญ ปี 2554
ข้อสอบ 7 วิชา สามัญ ปี 2554
 
Binary code - Beginning
Binary code - BeginningBinary code - Beginning
Binary code - Beginning
 
Global mobile trends
Global mobile trends Global mobile trends
Global mobile trends
 

Similar to Computer and Programming

LKGtoPG - Basics of C Language
LKGtoPG - Basics of  C LanguageLKGtoPG - Basics of  C Language
LKGtoPG - Basics of C Languagelkgtopg jobs
 
Computer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppComputer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppmeharikiros2
 
Computer and programing basics.pptx
Computer and programing basics.pptxComputer and programing basics.pptx
Computer and programing basics.pptxgaafergoda
 
introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxintroductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxHazardRhenz1
 
PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxUzma1102
 
programming languages
programming languagesprogramming languages
programming languagesRajendran
 
Programming Fundamentals and Programming Languages Concepts
Programming Fundamentals and Programming Languages ConceptsProgramming Fundamentals and Programming Languages Concepts
Programming Fundamentals and Programming Languages Conceptsimtiazalijoono
 
Introductiontocomputerprogramming 140713205433-phpapp02
Introductiontocomputerprogramming 140713205433-phpapp02Introductiontocomputerprogramming 140713205433-phpapp02
Introductiontocomputerprogramming 140713205433-phpapp02Lanie Plecerda
 
introductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptxintroductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptxummeafruz
 
Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Introductiontocomputerprogramming 140713205433-phpapp02 (1)Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Introductiontocomputerprogramming 140713205433-phpapp02 (1)Lanie Plecerda
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programmingNSU-Biliran Campus
 
Lesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptxLesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptxNeil Mutia
 
Programming for Problem Solving
Programming for Problem SolvingProgramming for Problem Solving
Programming for Problem SolvingSukhendra Singh
 
Introduction to computers and programming languages
Introduction to computers and programming languages Introduction to computers and programming languages
Introduction to computers and programming languages binoysatheesh
 

Similar to Computer and Programming (20)

LKGtoPG - Basics of C Language
LKGtoPG - Basics of  C LanguageLKGtoPG - Basics of  C Language
LKGtoPG - Basics of C Language
 
Python_Module_1.pdf
Python_Module_1.pdfPython_Module_1.pdf
Python_Module_1.pdf
 
Computer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppComputer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cpp
 
Lecture 2 - Introductory Concepts
Lecture 2 - Introductory ConceptsLecture 2 - Introductory Concepts
Lecture 2 - Introductory Concepts
 
Computer and programing basics.pptx
Computer and programing basics.pptxComputer and programing basics.pptx
Computer and programing basics.pptx
 
introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxintroductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptx
 
PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docx
 
programming languages
programming languagesprogramming languages
programming languages
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
 
Programming Fundamentals and Programming Languages Concepts
Programming Fundamentals and Programming Languages ConceptsProgramming Fundamentals and Programming Languages Concepts
Programming Fundamentals and Programming Languages Concepts
 
Introductiontocomputerprogramming 140713205433-phpapp02
Introductiontocomputerprogramming 140713205433-phpapp02Introductiontocomputerprogramming 140713205433-phpapp02
Introductiontocomputerprogramming 140713205433-phpapp02
 
introductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptxintroductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptx
 
Computer programming
Computer programmingComputer programming
Computer programming
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Introductiontocomputerprogramming 140713205433-phpapp02 (1)Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Introductiontocomputerprogramming 140713205433-phpapp02 (1)
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
 
Lesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptxLesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptx
 
Programming for Problem Solving
Programming for Problem SolvingProgramming for Problem Solving
Programming for Problem Solving
 
Introduction to computers and programming languages
Introduction to computers and programming languages Introduction to computers and programming languages
Introduction to computers and programming languages
 
CISY 105 Chapter 1
CISY 105 Chapter 1CISY 105 Chapter 1
CISY 105 Chapter 1
 

Recently uploaded

Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Call Girls in Nagpur High Profile
 
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Call Girls in Nagpur High Profile
 
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...ranjana rawat
 
Call Girls Delhi {Rohini} 9711199012 high profile service
Call Girls Delhi {Rohini} 9711199012 high profile serviceCall Girls Delhi {Rohini} 9711199012 high profile service
Call Girls Delhi {Rohini} 9711199012 high profile servicerehmti665
 
Thane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call GirlsThane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call GirlsPooja Nehwal
 
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | DelhiFULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhisoniya singh
 
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...Pooja Nehwal
 
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311  Call Girls in Thane , Independent Escort Service ThanePallawi 9167673311  Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service ThanePooja Nehwal
 
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...nagunakhan
 
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsapps
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /WhatsappsBeautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsapps
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsappssapnasaifi408
 
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...ur8mqw8e
 
VIP Call Girl Saharanpur Aashi 8250192130 Independent Escort Service Saharanpur
VIP Call Girl Saharanpur Aashi 8250192130 Independent Escort Service SaharanpurVIP Call Girl Saharanpur Aashi 8250192130 Independent Escort Service Saharanpur
VIP Call Girl Saharanpur Aashi 8250192130 Independent Escort Service SaharanpurSuhani Kapoor
 
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...Suhani Kapoor
 
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样qaffana
 
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...Call Girls in Nagpur High Profile
 
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一zul5vf0pq
 
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,Pooja Nehwal
 

Recently uploaded (20)

Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
 
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
 
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
 
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
 
Call Girls Delhi {Rohini} 9711199012 high profile service
Call Girls Delhi {Rohini} 9711199012 high profile serviceCall Girls Delhi {Rohini} 9711199012 high profile service
Call Girls Delhi {Rohini} 9711199012 high profile service
 
Thane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call GirlsThane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call Girls
 
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | DelhiFULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
 
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
 
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311  Call Girls in Thane , Independent Escort Service ThanePallawi 9167673311  Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service Thane
 
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
 
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsapps
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /WhatsappsBeautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsapps
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsapps
 
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
 
VIP Call Girl Saharanpur Aashi 8250192130 Independent Escort Service Saharanpur
VIP Call Girl Saharanpur Aashi 8250192130 Independent Escort Service SaharanpurVIP Call Girl Saharanpur Aashi 8250192130 Independent Escort Service Saharanpur
VIP Call Girl Saharanpur Aashi 8250192130 Independent Escort Service Saharanpur
 
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...
VIP Call Girls Kavuri Hills ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With ...
 
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
 
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
 
🔝 9953056974🔝 Delhi Call Girls in Ajmeri Gate
🔝 9953056974🔝 Delhi Call Girls in Ajmeri Gate🔝 9953056974🔝 Delhi Call Girls in Ajmeri Gate
🔝 9953056974🔝 Delhi Call Girls in Ajmeri Gate
 
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
 
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,
Call Girls In Andheri East Call 9892124323 Book Hot And Sexy Girls,
 

Computer and Programming

  • 1. What is Computer And Programming ?
  • 2. Computer is an electronic device for storing and processing data, typically in binary form, which is programmed to do such a wide variety of things . The physical devices that a computer is made of are named as computer’s hardware and the programs that are programmed by programmers are called as software . A program stores in main memory which is called as RAM as long as it is running. And by turning the computer off , the content of RAM is erased. Secondary storage is a type of memory that can hold data for long periods of time ,even when no power is connected to the computer.
  • 3. What is a Program? A program is a set of instructions which is related to software of a computer that a follows it to perform a task.
  • 4. Why do we program a computer?
  • 5. Programming helps you understand computers. The computer is only a tool. If you learn how to write simple programs, you will gain more knowledge about how a computer works. Writing a few simple programs increases your confidence level. Many people find great personal satisfaction in creating a set of instructions that solve a problem. Learning programming lets you find out quickly whether you like programming and whether you have the analytical turn of mind programmers need. Even if you decide that programming is not for you, understanding the process certainly will increase your appreciation of what programmers and computers can do.
  • 6. A computer’s memory is divided into tiny storage locations known as bytes which each byte includes eight smaller parts named bits. Each byte is only enough to store a letter of the alphabet or a small number. Each character or number in a byte is shown by a computer structure , including 0 and 1, like 10011100. If the number is more longer than the capacity of a byte we use 2 bytes (18bits) for it .
  • 7. How do we program?
  • 8. As I mentioned before a computer is programmed to run a task . There are different languages for programming a computer , and choosing one of these languages depends on demand like C, C++ , Java . . . Programing is a bunch of codes which are written in a specific programming language by a programmer . The statements that are written by a programmer in a high-level language are called source code or simply code. Structured programming requires that programmers break program structure into small pieces of code that are easily understood.
  • 10. Low-Level Low-Level ( Machine Language) Computer understand only a language that is known as “machine language”. It consists of set of instructions in form of 1 and 0. It is difficult for human to read and write machine language.
  • 11. High-Level language High level computer languages give formats close to English language and the purpose of developing . It helps people to write a program easily . High level languages are basically symbolic languages that use English words and mathematical symbols rather than mnemonic codes.
  • 12. Compilers and Interpreters Because the CPU understands only machine language instructions, programs that are written in a language depends on human language ( high-level language ) must be translated into machine language. Depending on the language that a program has been written in , the programmer will use a complier or interpreter to make the translation . A compiler is a program that translate a high-level language program into a separate machine language program.
  • 13. How a program works? Scientists mention CPU as “computer’s brain” because they think CPU is smart. But CPU is an electronic device that is designed to do specific things. In particular ,the CPU is designed to perform operations . Such as , - Reading a piece of data from main memory - Adding two numbers - Moving a piece of data from one memory location to another - Determining whether one value is equal to another value The CPU performs simple operations on pieces of data. The CPU does nothing on its own. It has to be told what to do and that’s the purpose of a program.
  • 14. Fetch-Decode-Execute cycle When a CPU executes the instructions in a program, it is engaged in a process that is known as the fetch-decode- execute cycle . This cycle, Which consists of three steps, is repeated for each instruction in the program. Fetch: a program is a long sequence of machine language instructions. The first step of the cycle is to fetch, or read the next instruction from memory into the CPU. Decode: a machine language instruction is a binary number that represents a command that tells the CPU to perform an operation . Execute: the last step in the cycle is to execute , or perform, the operation.