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

NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...
NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...
NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...Amil baba
 
Hifi Babe North Delhi Call Girl Service Fun Tonight
Hifi Babe North Delhi Call Girl Service Fun TonightHifi Babe North Delhi Call Girl Service Fun Tonight
Hifi Babe North Delhi Call Girl Service Fun TonightKomal Khan
 
RBS学位证,鹿特丹商学院毕业证书1:1制作
RBS学位证,鹿特丹商学院毕业证书1:1制作RBS学位证,鹿特丹商学院毕业证书1:1制作
RBS学位证,鹿特丹商学院毕业证书1:1制作f3774p8b
 
existing product research b2 Sunderland Culture
existing product research b2 Sunderland Cultureexisting product research b2 Sunderland Culture
existing product research b2 Sunderland CultureChloeMeadows1
 
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree 毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree z zzz
 
美国IUB学位证,印第安纳大学伯明顿分校毕业证书1:1制作
美国IUB学位证,印第安纳大学伯明顿分校毕业证书1:1制作美国IUB学位证,印第安纳大学伯明顿分校毕业证书1:1制作
美国IUB学位证,印第安纳大学伯明顿分校毕业证书1:1制作ss846v0c
 
(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一C SSS
 
NO1 Certified Black Magic Specialist Expert In Bahawalpur, Sargodha, Sialkot,...
NO1 Certified Black Magic Specialist Expert In Bahawalpur, Sargodha, Sialkot,...NO1 Certified Black Magic Specialist Expert In Bahawalpur, Sargodha, Sialkot,...
NO1 Certified Black Magic Specialist Expert In Bahawalpur, Sargodha, Sialkot,...Amil Baba Dawood bangali
 
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCR
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCRReal Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCR
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCRdollysharma2066
 
the cOMPUTER SYSTEM - computer hardware servicing.pptx
the cOMPUTER SYSTEM - computer hardware servicing.pptxthe cOMPUTER SYSTEM - computer hardware servicing.pptx
the cOMPUTER SYSTEM - computer hardware servicing.pptxLeaMaePahinagGarciaV
 
专业一比一美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree专业一比一美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degreeyuu sss
 
Hindu amil baba kala jadu expert in pakistan islamabad lahore karachi atar ...
Hindu amil baba kala jadu expert  in pakistan islamabad lahore karachi atar  ...Hindu amil baba kala jadu expert  in pakistan islamabad lahore karachi atar  ...
Hindu amil baba kala jadu expert in pakistan islamabad lahore karachi atar ...amilabibi1
 
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一(办理学位证)韩国汉阳大学毕业证成绩单原版一比一
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一C SSS
 
Dubai Call Girls O525547819 Spring Break Fast Call Girls Dubai
Dubai Call Girls O525547819 Spring Break Fast Call Girls DubaiDubai Call Girls O525547819 Spring Break Fast Call Girls Dubai
Dubai Call Girls O525547819 Spring Break Fast Call Girls Dubaikojalkojal131
 
萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程1k98h0e1
 
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degreeyuu sss
 
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)861c7ca49a02
 
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证gwhohjj
 
毕业文凭制作#回国入职#diploma#degree美国威斯康星大学麦迪逊分校毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#d...
毕业文凭制作#回国入职#diploma#degree美国威斯康星大学麦迪逊分校毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#d...毕业文凭制作#回国入职#diploma#degree美国威斯康星大学麦迪逊分校毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#d...
毕业文凭制作#回国入职#diploma#degree美国威斯康星大学麦迪逊分校毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#d...ttt fff
 
NO1 Certified Vashikaran Specialist in Uk Black Magic Specialist in Uk Black ...
NO1 Certified Vashikaran Specialist in Uk Black Magic Specialist in Uk Black ...NO1 Certified Vashikaran Specialist in Uk Black Magic Specialist in Uk Black ...
NO1 Certified Vashikaran Specialist in Uk Black Magic Specialist in Uk Black ...Amil baba
 

Recently uploaded (20)

NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...
NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...
NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...
 
Hifi Babe North Delhi Call Girl Service Fun Tonight
Hifi Babe North Delhi Call Girl Service Fun TonightHifi Babe North Delhi Call Girl Service Fun Tonight
Hifi Babe North Delhi Call Girl Service Fun Tonight
 
RBS学位证,鹿特丹商学院毕业证书1:1制作
RBS学位证,鹿特丹商学院毕业证书1:1制作RBS学位证,鹿特丹商学院毕业证书1:1制作
RBS学位证,鹿特丹商学院毕业证书1:1制作
 
existing product research b2 Sunderland Culture
existing product research b2 Sunderland Cultureexisting product research b2 Sunderland Culture
existing product research b2 Sunderland Culture
 
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree 毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
美国IUB学位证,印第安纳大学伯明顿分校毕业证书1:1制作
美国IUB学位证,印第安纳大学伯明顿分校毕业证书1:1制作美国IUB学位证,印第安纳大学伯明顿分校毕业证书1:1制作
美国IUB学位证,印第安纳大学伯明顿分校毕业证书1:1制作
 
(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一
 
NO1 Certified Black Magic Specialist Expert In Bahawalpur, Sargodha, Sialkot,...
NO1 Certified Black Magic Specialist Expert In Bahawalpur, Sargodha, Sialkot,...NO1 Certified Black Magic Specialist Expert In Bahawalpur, Sargodha, Sialkot,...
NO1 Certified Black Magic Specialist Expert In Bahawalpur, Sargodha, Sialkot,...
 
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCR
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCRReal Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCR
Real Sure (Call Girl) in I.G.I. Airport 8377087607 Hot Call Girls In Delhi NCR
 
the cOMPUTER SYSTEM - computer hardware servicing.pptx
the cOMPUTER SYSTEM - computer hardware servicing.pptxthe cOMPUTER SYSTEM - computer hardware servicing.pptx
the cOMPUTER SYSTEM - computer hardware servicing.pptx
 
专业一比一美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree专业一比一美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
 
Hindu amil baba kala jadu expert in pakistan islamabad lahore karachi atar ...
Hindu amil baba kala jadu expert  in pakistan islamabad lahore karachi atar  ...Hindu amil baba kala jadu expert  in pakistan islamabad lahore karachi atar  ...
Hindu amil baba kala jadu expert in pakistan islamabad lahore karachi atar ...
 
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一(办理学位证)韩国汉阳大学毕业证成绩单原版一比一
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一
 
Dubai Call Girls O525547819 Spring Break Fast Call Girls Dubai
Dubai Call Girls O525547819 Spring Break Fast Call Girls DubaiDubai Call Girls O525547819 Spring Break Fast Call Girls Dubai
Dubai Call Girls O525547819 Spring Break Fast Call Girls Dubai
 
萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程
 
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
 
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
 
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证
 
毕业文凭制作#回国入职#diploma#degree美国威斯康星大学麦迪逊分校毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#d...
毕业文凭制作#回国入职#diploma#degree美国威斯康星大学麦迪逊分校毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#d...毕业文凭制作#回国入职#diploma#degree美国威斯康星大学麦迪逊分校毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#d...
毕业文凭制作#回国入职#diploma#degree美国威斯康星大学麦迪逊分校毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#d...
 
NO1 Certified Vashikaran Specialist in Uk Black Magic Specialist in Uk Black ...
NO1 Certified Vashikaran Specialist in Uk Black Magic Specialist in Uk Black ...NO1 Certified Vashikaran Specialist in Uk Black Magic Specialist in Uk Black ...
NO1 Certified Vashikaran Specialist in Uk Black Magic Specialist in Uk Black ...
 

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.