SlideShare a Scribd company logo
Welcome to lecture
2………………
-email me at:umairnsr87@gmail.com
-for further queries contact:09045562429
Lecture 2 contents ……….
 Block diagram of computer
 Primary memory and secondary memory
 Input and output unit
 Algorithms
 Flow chart
 Structured programming
Block diagram……….
Primary and secondary memory…..
 Primary memory stands for RAM (random access
memory) it is a volatile memory, it is fast as
compared to secondary memory, it is expensive as
compared to secondary memory, it has a low
storage capacity.
 Secondary memory is the memory which holds the
data permanently until it is deleted or removed it is
non-volatile memory, it has a high storage capacity,
it is also cheap as compared to RAM.
Input and output unit……………
 Input devices are the devices which are used
to give instructions to the computer.
Examples-keyboard, mouse, scanner,
barcode reader etc.
 Output devices are the devices which are
used to show the output when any input is
given by the input devices. Examples-monitor
,projector etc
Algorithms……………………..
 The algorithm is a method or technique of
solving a problem which can be later
implemented in any programming language.
Algorithm for making tea………
Flow chart………….
 Flow chart is a graphical method which is
used to show the flow of control in the
program while the execution is been occuring
Symbols in a flow chart……..
Structured programming……..
 Structured programming is a technique of
writing the program in modules which makes
the task simplier.
 The program must perform all the operations,
must be reliable, must be easy i.e. it can be
read or write easily, it should be implemented
in a budget or schedule.
To be continued in lecture 2……….
-email me at:umairnsr87@gmail.com
-for further queries contact:09045562429

More Related Content

What's hot

Computer Architecture
Computer ArchitectureComputer Architecture
Computer ArchitecturePAF KIET
 
Input output display devices
Input output display devicesInput output display devices
Input output display devicesAnkita Sharma
 
Samacheer kalvi - Computer Science Volume 1
Samacheer kalvi - Computer Science Volume 1Samacheer kalvi - Computer Science Volume 1
Samacheer kalvi - Computer Science Volume 1Vinoth Kanna
 
Introduction to computing
Introduction to computingIntroduction to computing
Introduction to computingAmir_Mukhtar
 
Parts of the computer by beñat and oier
Parts of the computer by beñat and oierParts of the computer by beñat and oier
Parts of the computer by beñat and oiersachsk8
 
COMPUTER HARDWARE AND SOFTWARE
COMPUTER HARDWARE AND SOFTWARECOMPUTER HARDWARE AND SOFTWARE
COMPUTER HARDWARE AND SOFTWARELibcorpio
 
The CPU and Memory and Major Components
The CPU and Memory and  Major ComponentsThe CPU and Memory and  Major Components
The CPU and Memory and Major Componentsimtiazalijoono
 
Cpu introduction to computer
Cpu introduction to computerCpu introduction to computer
Cpu introduction to computerBRS ENGINEERING
 
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computerZTE Nepal
 
Hypothetical machine and instruction flow scenarios
Hypothetical machine and instruction flow scenariosHypothetical machine and instruction flow scenarios
Hypothetical machine and instruction flow scenariosMunaam Munawar
 
Identificacion de componentes externo e internos ingles
Identificacion de componentes externo e internos inglesIdentificacion de componentes externo e internos ingles
Identificacion de componentes externo e internos inglesriostatiana155
 
Lecture 3 - Processors, Memory and I/O devices
Lecture 3 - Processors, Memory and I/O devicesLecture 3 - Processors, Memory and I/O devices
Lecture 3 - Processors, Memory and I/O devicesMd. Imran Hossain Showrov
 
Memory,Processor,Algorithms
Memory,Processor,AlgorithmsMemory,Processor,Algorithms
Memory,Processor,AlgorithmsAli_Jaan474
 
Overview of computer
Overview of computerOverview of computer
Overview of computerSunny Pavan
 

What's hot (19)

Computer Architecture
Computer ArchitectureComputer Architecture
Computer Architecture
 
Input output display devices
Input output display devicesInput output display devices
Input output display devices
 
Samacheer kalvi - Computer Science Volume 1
Samacheer kalvi - Computer Science Volume 1Samacheer kalvi - Computer Science Volume 1
Samacheer kalvi - Computer Science Volume 1
 
Introduction to computing
Introduction to computingIntroduction to computing
Introduction to computing
 
Parts of the computer by beñat and oier
Parts of the computer by beñat and oierParts of the computer by beñat and oier
Parts of the computer by beñat and oier
 
Cpu
CpuCpu
Cpu
 
COMPUTER HARDWARE AND SOFTWARE
COMPUTER HARDWARE AND SOFTWARECOMPUTER HARDWARE AND SOFTWARE
COMPUTER HARDWARE AND SOFTWARE
 
The CPU and Memory and Major Components
The CPU and Memory and  Major ComponentsThe CPU and Memory and  Major Components
The CPU and Memory and Major Components
 
Processing Devices
Processing DevicesProcessing Devices
Processing Devices
 
Cpu introduction to computer
Cpu introduction to computerCpu introduction to computer
Cpu introduction to computer
 
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computer
 
Hypothetical machine and instruction flow scenarios
Hypothetical machine and instruction flow scenariosHypothetical machine and instruction flow scenarios
Hypothetical machine and instruction flow scenarios
 
Identificacion de componentes externo e internos ingles
Identificacion de componentes externo e internos inglesIdentificacion de componentes externo e internos ingles
Identificacion de componentes externo e internos ingles
 
Lecture 3 - Processors, Memory and I/O devices
Lecture 3 - Processors, Memory and I/O devicesLecture 3 - Processors, Memory and I/O devices
Lecture 3 - Processors, Memory and I/O devices
 
Lecture 22 - Error Handling
Lecture 22 - Error HandlingLecture 22 - Error Handling
Lecture 22 - Error Handling
 
The computer andrea
The computer  andreaThe computer  andrea
The computer andrea
 
Memory,Processor,Algorithms
Memory,Processor,AlgorithmsMemory,Processor,Algorithms
Memory,Processor,Algorithms
 
Janoon 2
Janoon 2Janoon 2
Janoon 2
 
Overview of computer
Overview of computerOverview of computer
Overview of computer
 

Viewers also liked

Computer programs, flow chart & algorithm
Computer programs, flow chart & algorithmComputer programs, flow chart & algorithm
Computer programs, flow chart & algorithmsamina khan
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programmingSangheethaa Sukumaran
 
Pengenalan kepada pengaturcaraan berstruktur
Pengenalan kepada pengaturcaraan berstrukturPengenalan kepada pengaturcaraan berstruktur
Pengenalan kepada pengaturcaraan berstrukturUnit Kediaman Luar Kampus
 
Steps for Developing a 'C' program
 Steps for Developing a 'C' program Steps for Developing a 'C' program
Steps for Developing a 'C' programSahithi Naraparaju
 
Introduction to Programming Languages
Introduction to Programming LanguagesIntroduction to Programming Languages
Introduction to Programming Languageseducationfront
 
INTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMINGINTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMINGAbhishek Dwivedi
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languagesVarun Garg
 
Basics of C programming
Basics of C programmingBasics of C programming
Basics of C programmingavikdhupar
 

Viewers also liked (10)

Computer programs, flow chart & algorithm
Computer programs, flow chart & algorithmComputer programs, flow chart & algorithm
Computer programs, flow chart & algorithm
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
 
Pengenalan kepada pengaturcaraan berstruktur
Pengenalan kepada pengaturcaraan berstrukturPengenalan kepada pengaturcaraan berstruktur
Pengenalan kepada pengaturcaraan berstruktur
 
Steps for Developing a 'C' program
 Steps for Developing a 'C' program Steps for Developing a 'C' program
Steps for Developing a 'C' program
 
Programing Fundamental
Programing FundamentalPrograming Fundamental
Programing Fundamental
 
Introduction to Programming Languages
Introduction to Programming LanguagesIntroduction to Programming Languages
Introduction to Programming Languages
 
L1
L1L1
L1
 
INTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMINGINTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMING
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
 
Basics of C programming
Basics of C programmingBasics of C programming
Basics of C programming
 

Similar to Lecture 2 c programming by umair ansari

COMPUTER SYSTEM AND ITS COMPONENTS
COMPUTER SYSTEM AND ITS COMPONENTSCOMPUTER SYSTEM AND ITS COMPONENTS
COMPUTER SYSTEM AND ITS COMPONENTSSHIVALI NEGI
 
introdection BASIC OF COMPUTER EDUCATION
introdection BASIC OF COMPUTER EDUCATIONintrodection BASIC OF COMPUTER EDUCATION
introdection BASIC OF COMPUTER EDUCATIONreshmi30
 
Computer Block Structure
Computer Block StructureComputer Block Structure
Computer Block StructureVipin Rai
 
Bcvt.đttx.nhđt.tiếng anh công nghệ thông tin[bookbooming.com]
Bcvt.đttx.nhđt.tiếng anh công nghệ thông tin[bookbooming.com]Bcvt.đttx.nhđt.tiếng anh công nghệ thông tin[bookbooming.com]
Bcvt.đttx.nhđt.tiếng anh công nghệ thông tin[bookbooming.com]bookbooming1
 
Bcvt.đttx.nhđt.tiếng anh công nghệ thông tin[bookbooming.com]
Bcvt.đttx.nhđt.tiếng anh công nghệ thông tin[bookbooming.com]Bcvt.đttx.nhđt.tiếng anh công nghệ thông tin[bookbooming.com]
Bcvt.đttx.nhđt.tiếng anh công nghệ thông tin[bookbooming.com]bookbooming1
 
computer fundamentals
computer fundamentalscomputer fundamentals
computer fundamentalsPANKHURI JAIN
 
Computer Organisation
Computer OrganisationComputer Organisation
Computer OrganisationLaxmiDevi38
 
Computer and it's parts
Computer and it's partsComputer and it's parts
Computer and it's partsAshokkumar Rai
 
Block Diagram of Computer
Block Diagram of ComputerBlock Diagram of Computer
Block Diagram of ComputerAnshuDubey19
 
Hardware and software
Hardware and softwareHardware and software
Hardware and softwareAditya Pathak
 
HARDWARE WORK 10 SLIDES.pptx
HARDWARE WORK 10 SLIDES.pptxHARDWARE WORK 10 SLIDES.pptx
HARDWARE WORK 10 SLIDES.pptxejoao52023
 
Basic of operating system
Basic of operating systemBasic of operating system
Basic of operating systempriyanka jain
 

Similar to Lecture 2 c programming by umair ansari (20)

C q 1
C q 1C q 1
C q 1
 
COMPUTER SYSTEM AND ITS COMPONENTS
COMPUTER SYSTEM AND ITS COMPONENTSCOMPUTER SYSTEM AND ITS COMPONENTS
COMPUTER SYSTEM AND ITS COMPONENTS
 
introdection BASIC OF COMPUTER EDUCATION
introdection BASIC OF COMPUTER EDUCATIONintrodection BASIC OF COMPUTER EDUCATION
introdection BASIC OF COMPUTER EDUCATION
 
Computer Block Structure
Computer Block StructureComputer Block Structure
Computer Block Structure
 
Bcvt.đttx.nhđt.tiếng anh công nghệ thông tin[bookbooming.com]
Bcvt.đttx.nhđt.tiếng anh công nghệ thông tin[bookbooming.com]Bcvt.đttx.nhđt.tiếng anh công nghệ thông tin[bookbooming.com]
Bcvt.đttx.nhđt.tiếng anh công nghệ thông tin[bookbooming.com]
 
Bcvt.đttx.nhđt.tiếng anh công nghệ thông tin[bookbooming.com]
Bcvt.đttx.nhđt.tiếng anh công nghệ thông tin[bookbooming.com]Bcvt.đttx.nhđt.tiếng anh công nghệ thông tin[bookbooming.com]
Bcvt.đttx.nhđt.tiếng anh công nghệ thông tin[bookbooming.com]
 
The Computer
The ComputerThe Computer
The Computer
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardware
 
computer fundamentals
computer fundamentalscomputer fundamentals
computer fundamentals
 
Computer Fundamentals
Computer FundamentalsComputer Fundamentals
Computer Fundamentals
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
CS14106-UNIT 2.pptx
CS14106-UNIT 2.pptxCS14106-UNIT 2.pptx
CS14106-UNIT 2.pptx
 
Computer Organisation
Computer OrganisationComputer Organisation
Computer Organisation
 
Computer and it's parts
Computer and it's partsComputer and it's parts
Computer and it's parts
 
Block Diagram of Computer
Block Diagram of ComputerBlock Diagram of Computer
Block Diagram of Computer
 
Hardware and software
Hardware and softwareHardware and software
Hardware and software
 
Basics of computer by Mudasir Amin from Durpora Zainapora Shopian.
Basics of computer by Mudasir Amin from Durpora Zainapora Shopian.Basics of computer by Mudasir Amin from Durpora Zainapora Shopian.
Basics of computer by Mudasir Amin from Durpora Zainapora Shopian.
 
HARDWARE WORK 10 SLIDES.pptx
HARDWARE WORK 10 SLIDES.pptxHARDWARE WORK 10 SLIDES.pptx
HARDWARE WORK 10 SLIDES.pptx
 
Basic of operating system
Basic of operating systemBasic of operating system
Basic of operating system
 
Processor
ProcessorProcessor
Processor
 

Recently uploaded

“Educate an African fit for the 21st Century: Building resilient education sy...
“Educate an African fit for the 21st Century: Building resilient education sy...“Educate an African fit for the 21st Century: Building resilient education sy...
“Educate an African fit for the 21st Century: Building resilient education sy...Christina Parmionova
 
一比一原版(UWA毕业证)西澳大学毕业证成绩单
一比一原版(UWA毕业证)西澳大学毕业证成绩单一比一原版(UWA毕业证)西澳大学毕业证成绩单
一比一原版(UWA毕业证)西澳大学毕业证成绩单enbam
 
Item # 4 -- 525 Argo Avenue ARB Case 926F
Item # 4 -- 525 Argo Avenue ARB Case 926FItem # 4 -- 525 Argo Avenue ARB Case 926F
Item # 4 -- 525 Argo Avenue ARB Case 926Fahcitycouncil
 
MHM Roundtable Slide Deck WHA Side-event May 28 2024.pptx
MHM Roundtable Slide Deck WHA Side-event May 28 2024.pptxMHM Roundtable Slide Deck WHA Side-event May 28 2024.pptx
MHM Roundtable Slide Deck WHA Side-event May 28 2024.pptxILC- UK
 
Effects of Extreme Temperatures From Climate Change on the Medicare Populatio...
Effects of Extreme Temperatures From Climate Change on the Medicare Populatio...Effects of Extreme Temperatures From Climate Change on the Medicare Populatio...
Effects of Extreme Temperatures From Climate Change on the Medicare Populatio...Congressional Budget Office
 
PACT launching workshop presentation-Final.pdf
PACT launching workshop presentation-Final.pdfPACT launching workshop presentation-Final.pdf
PACT launching workshop presentation-Final.pdfMohammed325561
 
一比一原版(MQU毕业证)麦考瑞大学毕业证成绩单
一比一原版(MQU毕业证)麦考瑞大学毕业证成绩单一比一原版(MQU毕业证)麦考瑞大学毕业证成绩单
一比一原版(MQU毕业证)麦考瑞大学毕业证成绩单enbam
 
一比一原版(UQ毕业证)昆士兰大学毕业证成绩单
一比一原版(UQ毕业证)昆士兰大学毕业证成绩单一比一原版(UQ毕业证)昆士兰大学毕业证成绩单
一比一原版(UQ毕业证)昆士兰大学毕业证成绩单enbam
 
Item # 7 - BB Inspection Services Agreement
Item # 7 - BB Inspection Services AgreementItem # 7 - BB Inspection Services Agreement
Item # 7 - BB Inspection Services Agreementahcitycouncil
 
PPT Item # 2 -- Announcements Powerpoint
PPT Item # 2 -- Announcements PowerpointPPT Item # 2 -- Announcements Powerpoint
PPT Item # 2 -- Announcements Powerpointahcitycouncil
 
一比一原版(UniSA毕业证)南澳大学毕业证成绩单
一比一原版(UniSA毕业证)南澳大学毕业证成绩单一比一原版(UniSA毕业证)南澳大学毕业证成绩单
一比一原版(UniSA毕业证)南澳大学毕业证成绩单aveka1
 
Russian anarchist and anti-war movement in the third year of full-scale war
Russian anarchist and anti-war movement in the third year of full-scale warRussian anarchist and anti-war movement in the third year of full-scale war
Russian anarchist and anti-war movement in the third year of full-scale warAntti Rautiainen
 
一比一原版(QUT毕业证)昆士兰科技大学毕业证成绩单
一比一原版(QUT毕业证)昆士兰科技大学毕业证成绩单一比一原版(QUT毕业证)昆士兰科技大学毕业证成绩单
一比一原版(QUT毕业证)昆士兰科技大学毕业证成绩单ukyewh
 
PPT Item # 5 - 5330 Broadway ARB Case # 930F
PPT Item # 5 - 5330 Broadway ARB Case # 930FPPT Item # 5 - 5330 Broadway ARB Case # 930F
PPT Item # 5 - 5330 Broadway ARB Case # 930Fahcitycouncil
 
Up the Ratios Bylaws - a Comprehensive Process of Our Organization
Up the Ratios Bylaws - a Comprehensive Process of Our OrganizationUp the Ratios Bylaws - a Comprehensive Process of Our Organization
Up the Ratios Bylaws - a Comprehensive Process of Our Organizationuptheratios
 
PPT Item # 9 - 2024 Street Maintenance Program(SMP) Amendment
PPT Item # 9 - 2024 Street Maintenance Program(SMP) AmendmentPPT Item # 9 - 2024 Street Maintenance Program(SMP) Amendment
PPT Item # 9 - 2024 Street Maintenance Program(SMP) Amendmentahcitycouncil
 
PPT Item # 4 - 525 Argo Avenue ARB Case # 926F
PPT Item # 4 - 525 Argo Avenue ARB Case # 926FPPT Item # 4 - 525 Argo Avenue ARB Case # 926F
PPT Item # 4 - 525 Argo Avenue ARB Case # 926Fahcitycouncil
 
PPT Item # 8 - Tuxedo Columbine 3way Stop
PPT Item # 8 - Tuxedo Columbine 3way StopPPT Item # 8 - Tuxedo Columbine 3way Stop
PPT Item # 8 - Tuxedo Columbine 3way Stopahcitycouncil
 
Honeycomb for The Hive Design Inspirations
Honeycomb for The Hive Design InspirationsHoneycomb for The Hive Design Inspirations
Honeycomb for The Hive Design InspirationsStephen Abram
 

Recently uploaded (20)

“Educate an African fit for the 21st Century: Building resilient education sy...
“Educate an African fit for the 21st Century: Building resilient education sy...“Educate an African fit for the 21st Century: Building resilient education sy...
“Educate an African fit for the 21st Century: Building resilient education sy...
 
一比一原版(UWA毕业证)西澳大学毕业证成绩单
一比一原版(UWA毕业证)西澳大学毕业证成绩单一比一原版(UWA毕业证)西澳大学毕业证成绩单
一比一原版(UWA毕业证)西澳大学毕业证成绩单
 
Item # 4 -- 525 Argo Avenue ARB Case 926F
Item # 4 -- 525 Argo Avenue ARB Case 926FItem # 4 -- 525 Argo Avenue ARB Case 926F
Item # 4 -- 525 Argo Avenue ARB Case 926F
 
MHM Roundtable Slide Deck WHA Side-event May 28 2024.pptx
MHM Roundtable Slide Deck WHA Side-event May 28 2024.pptxMHM Roundtable Slide Deck WHA Side-event May 28 2024.pptx
MHM Roundtable Slide Deck WHA Side-event May 28 2024.pptx
 
Effects of Extreme Temperatures From Climate Change on the Medicare Populatio...
Effects of Extreme Temperatures From Climate Change on the Medicare Populatio...Effects of Extreme Temperatures From Climate Change on the Medicare Populatio...
Effects of Extreme Temperatures From Climate Change on the Medicare Populatio...
 
PACT launching workshop presentation-Final.pdf
PACT launching workshop presentation-Final.pdfPACT launching workshop presentation-Final.pdf
PACT launching workshop presentation-Final.pdf
 
一比一原版(MQU毕业证)麦考瑞大学毕业证成绩单
一比一原版(MQU毕业证)麦考瑞大学毕业证成绩单一比一原版(MQU毕业证)麦考瑞大学毕业证成绩单
一比一原版(MQU毕业证)麦考瑞大学毕业证成绩单
 
一比一原版(UQ毕业证)昆士兰大学毕业证成绩单
一比一原版(UQ毕业证)昆士兰大学毕业证成绩单一比一原版(UQ毕业证)昆士兰大学毕业证成绩单
一比一原版(UQ毕业证)昆士兰大学毕业证成绩单
 
Counting Class for Micro Observers 2024.pptx
Counting Class for Micro Observers 2024.pptxCounting Class for Micro Observers 2024.pptx
Counting Class for Micro Observers 2024.pptx
 
Item # 7 - BB Inspection Services Agreement
Item # 7 - BB Inspection Services AgreementItem # 7 - BB Inspection Services Agreement
Item # 7 - BB Inspection Services Agreement
 
PPT Item # 2 -- Announcements Powerpoint
PPT Item # 2 -- Announcements PowerpointPPT Item # 2 -- Announcements Powerpoint
PPT Item # 2 -- Announcements Powerpoint
 
一比一原版(UniSA毕业证)南澳大学毕业证成绩单
一比一原版(UniSA毕业证)南澳大学毕业证成绩单一比一原版(UniSA毕业证)南澳大学毕业证成绩单
一比一原版(UniSA毕业证)南澳大学毕业证成绩单
 
Russian anarchist and anti-war movement in the third year of full-scale war
Russian anarchist and anti-war movement in the third year of full-scale warRussian anarchist and anti-war movement in the third year of full-scale war
Russian anarchist and anti-war movement in the third year of full-scale war
 
一比一原版(QUT毕业证)昆士兰科技大学毕业证成绩单
一比一原版(QUT毕业证)昆士兰科技大学毕业证成绩单一比一原版(QUT毕业证)昆士兰科技大学毕业证成绩单
一比一原版(QUT毕业证)昆士兰科技大学毕业证成绩单
 
PPT Item # 5 - 5330 Broadway ARB Case # 930F
PPT Item # 5 - 5330 Broadway ARB Case # 930FPPT Item # 5 - 5330 Broadway ARB Case # 930F
PPT Item # 5 - 5330 Broadway ARB Case # 930F
 
Up the Ratios Bylaws - a Comprehensive Process of Our Organization
Up the Ratios Bylaws - a Comprehensive Process of Our OrganizationUp the Ratios Bylaws - a Comprehensive Process of Our Organization
Up the Ratios Bylaws - a Comprehensive Process of Our Organization
 
PPT Item # 9 - 2024 Street Maintenance Program(SMP) Amendment
PPT Item # 9 - 2024 Street Maintenance Program(SMP) AmendmentPPT Item # 9 - 2024 Street Maintenance Program(SMP) Amendment
PPT Item # 9 - 2024 Street Maintenance Program(SMP) Amendment
 
PPT Item # 4 - 525 Argo Avenue ARB Case # 926F
PPT Item # 4 - 525 Argo Avenue ARB Case # 926FPPT Item # 4 - 525 Argo Avenue ARB Case # 926F
PPT Item # 4 - 525 Argo Avenue ARB Case # 926F
 
PPT Item # 8 - Tuxedo Columbine 3way Stop
PPT Item # 8 - Tuxedo Columbine 3way StopPPT Item # 8 - Tuxedo Columbine 3way Stop
PPT Item # 8 - Tuxedo Columbine 3way Stop
 
Honeycomb for The Hive Design Inspirations
Honeycomb for The Hive Design InspirationsHoneycomb for The Hive Design Inspirations
Honeycomb for The Hive Design Inspirations
 

Lecture 2 c programming by umair ansari

  • 1. Welcome to lecture 2……………… -email me at:umairnsr87@gmail.com -for further queries contact:09045562429
  • 2. Lecture 2 contents ……….  Block diagram of computer  Primary memory and secondary memory  Input and output unit  Algorithms  Flow chart  Structured programming
  • 4. Primary and secondary memory…..  Primary memory stands for RAM (random access memory) it is a volatile memory, it is fast as compared to secondary memory, it is expensive as compared to secondary memory, it has a low storage capacity.  Secondary memory is the memory which holds the data permanently until it is deleted or removed it is non-volatile memory, it has a high storage capacity, it is also cheap as compared to RAM.
  • 5. Input and output unit……………  Input devices are the devices which are used to give instructions to the computer. Examples-keyboard, mouse, scanner, barcode reader etc.  Output devices are the devices which are used to show the output when any input is given by the input devices. Examples-monitor ,projector etc
  • 6. Algorithms……………………..  The algorithm is a method or technique of solving a problem which can be later implemented in any programming language.
  • 7. Algorithm for making tea………
  • 8. Flow chart………….  Flow chart is a graphical method which is used to show the flow of control in the program while the execution is been occuring
  • 9. Symbols in a flow chart……..
  • 10. Structured programming……..  Structured programming is a technique of writing the program in modules which makes the task simplier.  The program must perform all the operations, must be reliable, must be easy i.e. it can be read or write easily, it should be implemented in a budget or schedule.
  • 11. To be continued in lecture 2………. -email me at:umairnsr87@gmail.com -for further queries contact:09045562429