SlideShare a Scribd company logo
1 of 34
204111  Computers and Programming อนันต์ ผลเพิ่ม Anan Phonphoem http://www.cpe.ku.ac.th/~anan [email_address]
Outline ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Categories of Computers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Categories of Computers ,[object Object],[object Object],[object Object],[object Object],[object Object]
Computer Components
Computer Components HD CPU Main Memory Secondary Memory Input Devices Output Devices
Computer Memory ,[object Object],[object Object]
1. Main Memory ,[object Object],100 -34.9 A 23 W 000 001 002 003 ... 999 Memory Cell Memory  Address
1. Main Memory ,[object Object],[object Object],[object Object],[object Object],[object Object]
2. Secondary Memory (Storage) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Main VS. Secondary Memory ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Computer Components HD CPU Main Memory Secondary Memory Input Devices Output Devices
Central Processor Unit (CPU) ,[object Object],[object Object],[object Object],[object Object]
How can we load and run program? ,[object Object],[object Object],[object Object],[object Object],HW OS Secondary Storage p1 USER
Programming Language ,[object Object],[object Object],[object Object],[object Object]
How can a non-machine language program be executed? ,[object Object],[object Object],[object Object]
The interpretation Process Source Program Input Data Interpreter (on computer) Output
Translation Process ,[object Object],[object Object],[object Object],Source Program Translator Object Program Library Linker Execute Program Output CPU Input Data
Translators ,[object Object],[object Object]
High-Level Languages ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Problem Solving and Programming ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Strategy ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction to Pascal ,[object Object],[object Object],[object Object],[object Object]
Pascal Program Structure ,[object Object],[object Object],[object Object]
Pascal Program Structure ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Program Heading Declarations Program Body
Basic Elements of Pascal ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Character Set ,[object Object],[object Object],[object Object],[object Object]
Reserved Words  ( คำสงวน ) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Reserved Words  ( คำสงวน ) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Identifiers   ( คำบ่งช ี้ ) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Identifiers ( คำบ่งช ี้ ) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Identifier examples ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Notes for Identifiers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Standard Identifiers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

More Related Content

What's hot

Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
Jussi Pohjolainen
 
Part I:Introduction to assembly language
Part I:Introduction to assembly languagePart I:Introduction to assembly language
Part I:Introduction to assembly language
Ahmed M. Abed
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!
manishamorya
 
Language processors
Language processorsLanguage processors
Language processors
eShikshak
 

What's hot (20)

Assembly language
Assembly languageAssembly language
Assembly language
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
 
Assembly level language
Assembly level languageAssembly level language
Assembly level language
 
Cd ch1 - introduction
Cd   ch1 - introductionCd   ch1 - introduction
Cd ch1 - introduction
 
Cd ch2 - lexical analysis
Cd   ch2 - lexical analysisCd   ch2 - lexical analysis
Cd ch2 - lexical analysis
 
notes on Programming fundamentals
notes on Programming fundamentals notes on Programming fundamentals
notes on Programming fundamentals
 
01. introduction
01. introduction01. introduction
01. introduction
 
Introduction to Compiler
Introduction to CompilerIntroduction to Compiler
Introduction to Compiler
 
Compiler design Introduction
Compiler design IntroductionCompiler design Introduction
Compiler design Introduction
 
Programming Fundamentals lecture 1
Programming Fundamentals lecture 1Programming Fundamentals lecture 1
Programming Fundamentals lecture 1
 
Introduction to Compilers | Phases & Structure
Introduction to Compilers | Phases & StructureIntroduction to Compilers | Phases & Structure
Introduction to Compilers | Phases & Structure
 
Part I:Introduction to assembly language
Part I:Introduction to assembly languagePart I:Introduction to assembly language
Part I:Introduction to assembly language
 
Python
PythonPython
Python
 
Lecture 1 introduction to language processors
Lecture 1  introduction to language processorsLecture 1  introduction to language processors
Lecture 1 introduction to language processors
 
System Programming Overview
System Programming OverviewSystem Programming Overview
System Programming Overview
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!
 
Techniques & applications of Compiler
Techniques & applications of CompilerTechniques & applications of Compiler
Techniques & applications of Compiler
 
Presentation1
Presentation1Presentation1
Presentation1
 
Language processors
Language processorsLanguage processors
Language processors
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 

Viewers also liked

Workshop Assembler
Workshop AssemblerWorkshop Assembler
Workshop Assembler
Tuhin_Das
 
SYSTEM SOFTWARE
SYSTEM SOFTWARESYSTEM SOFTWARE
SYSTEM SOFTWARE
Kak Yong
 
Unit1 principle of programming language
Unit1 principle of programming languageUnit1 principle of programming language
Unit1 principle of programming language
Vasavi College of Engg
 
04 software system and application software
04 software   system and application software04 software   system and application software
04 software system and application software
Sowmini Gowda
 

Viewers also liked (11)

Turbo pascal
Turbo pascalTurbo pascal
Turbo pascal
 
Workshop Assembler
Workshop AssemblerWorkshop Assembler
Workshop Assembler
 
Algorithm and Programming (Branching Structure)
Algorithm and Programming (Branching Structure)Algorithm and Programming (Branching Structure)
Algorithm and Programming (Branching Structure)
 
Algorithm and Programming (Introduction of dev pascal, data type, value, and ...
Algorithm and Programming (Introduction of dev pascal, data type, value, and ...Algorithm and Programming (Introduction of dev pascal, data type, value, and ...
Algorithm and Programming (Introduction of dev pascal, data type, value, and ...
 
Classification Of Software
Classification Of SoftwareClassification Of Software
Classification Of Software
 
Algorithm and Programming (Looping Structure)
Algorithm and Programming (Looping Structure)Algorithm and Programming (Looping Structure)
Algorithm and Programming (Looping Structure)
 
System software
System softwareSystem software
System software
 
SYSTEM SOFTWARE
SYSTEM SOFTWARESYSTEM SOFTWARE
SYSTEM SOFTWARE
 
Unit1 principle of programming language
Unit1 principle of programming languageUnit1 principle of programming language
Unit1 principle of programming language
 
04 software system and application software
04 software   system and application software04 software   system and application software
04 software system and application software
 
Computer Software & its Types
Computer Software & its Types Computer Software & its Types
Computer Software & its Types
 

Similar to 01 intro-computer-pascal

Introduction To Computer and Java
Introduction To Computer and JavaIntroduction To Computer and Java
Introduction To Computer and Java
PRN USM
 
Lecture 1 introduction to_computersb(2)
Lecture 1 introduction to_computersb(2)Lecture 1 introduction to_computersb(2)
Lecture 1 introduction to_computersb(2)
xterribad
 
Introduction to Programming
Introduction to ProgrammingIntroduction to Programming
Introduction to Programming
Chaffey College
 

Similar to 01 intro-computer-pascal (20)

Introduction To Computer and Java
Introduction To Computer and JavaIntroduction To Computer and Java
Introduction To Computer and Java
 
Programming 1 [compatibility mode]mm
Programming 1 [compatibility mode]mmProgramming 1 [compatibility mode]mm
Programming 1 [compatibility mode]mm
 
Computer and programing basics.pptx
Computer and programing basics.pptxComputer and programing basics.pptx
Computer and programing basics.pptx
 
CISY 105 Chapter 1
CISY 105 Chapter 1CISY 105 Chapter 1
CISY 105 Chapter 1
 
Chapter 1 - Basic concepts of programming.pdf
Chapter 1 - Basic concepts of programming.pdfChapter 1 - Basic concepts of programming.pdf
Chapter 1 - Basic concepts of programming.pdf
 
01. Introduction.ppt
01. Introduction.ppt01. Introduction.ppt
01. Introduction.ppt
 
Lecture 1 introduction to_computersb(2)
Lecture 1 introduction to_computersb(2)Lecture 1 introduction to_computersb(2)
Lecture 1 introduction to_computersb(2)
 
Compiler_Lecture1.pdf
Compiler_Lecture1.pdfCompiler_Lecture1.pdf
Compiler_Lecture1.pdf
 
Compiler Construction introduction
Compiler Construction introductionCompiler Construction introduction
Compiler Construction introduction
 
Big Java Chapter 1
Big Java Chapter 1Big Java Chapter 1
Big Java Chapter 1
 
Cpcs302 1
Cpcs302  1Cpcs302  1
Cpcs302 1
 
Presentation c++
Presentation c++Presentation c++
Presentation c++
 
Introduction to Programming
Introduction to ProgrammingIntroduction to Programming
Introduction to Programming
 
UNIT 2 ECSE-2.pptx
UNIT 2 ECSE-2.pptxUNIT 2 ECSE-2.pptx
UNIT 2 ECSE-2.pptx
 
L2 ch1
L2  ch1L2  ch1
L2 ch1
 
Python for Physical Science.pdf
Python for Physical Science.pdfPython for Physical Science.pdf
Python for Physical Science.pdf
 
introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxintroductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptx
 
INTRODUCCIÓN A LA PROGRAMACIÓN
INTRODUCCIÓN A LA PROGRAMACIÓNINTRODUCCIÓN A LA PROGRAMACIÓN
INTRODUCCIÓN A LA PROGRAMACIÓN
 
df
dfdf
df
 
Chapter 1 Introduction to C .pptx
Chapter 1 Introduction to C .pptxChapter 1 Introduction to C .pptx
Chapter 1 Introduction to C .pptx
 

More from Serghei Urban

инт тех до_ пособие
инт тех до_ пособиеинт тех до_ пособие
инт тех до_ пособие
Serghei Urban
 
Boyicev o. zashiti_svoyi_kompyuter_n
Boyicev o. zashiti_svoyi_kompyuter_nBoyicev o. zashiti_svoyi_kompyuter_n
Boyicev o. zashiti_svoyi_kompyuter_n
Serghei Urban
 
Revista 03.didactica pro
Revista 03.didactica proRevista 03.didactica pro
Revista 03.didactica pro
Serghei Urban
 
крис касперски компьютерные вирусы изнутри и снаружи [2006, rus]
крис касперски   компьютерные вирусы изнутри и снаружи [2006, rus]крис касперски   компьютерные вирусы изнутри и снаружи [2006, rus]
крис касперски компьютерные вирусы изнутри и снаружи [2006, rus]
Serghei Urban
 
A basic english grammar exercises
A basic english grammar exercisesA basic english grammar exercises
A basic english grammar exercises
Serghei Urban
 
Boyicev o. zashiti_svoyi_kompyuter_n.a4
Boyicev o. zashiti_svoyi_kompyuter_n.a4Boyicev o. zashiti_svoyi_kompyuter_n.a4
Boyicev o. zashiti_svoyi_kompyuter_n.a4
Serghei Urban
 
Modernizarea standardelor
Modernizarea standardelorModernizarea standardelor
Modernizarea standardelor
Serghei Urban
 
Cinci probleme fundamentale
Cinci probleme fundamentaleCinci probleme fundamentale
Cinci probleme fundamentale
Serghei Urban
 
Evaluarea formativă
Evaluarea formativăEvaluarea formativă
Evaluarea formativă
Serghei Urban
 
Cristian frasinaru curs-practic_de_java
Cristian frasinaru curs-practic_de_javaCristian frasinaru curs-practic_de_java
Cristian frasinaru curs-practic_de_java
Serghei Urban
 
Exercises in modern english grammar
Exercises in modern english grammarExercises in modern english grammar
Exercises in modern english grammar
Serghei Urban
 
Evaluarea rezultatelor scolare revista 33 34
Evaluarea rezultatelor scolare revista 33 34Evaluarea rezultatelor scolare revista 33 34
Evaluarea rezultatelor scolare revista 33 34
Serghei Urban
 
17 ru informatica corlat
17 ru informatica corlat17 ru informatica corlat
17 ru informatica corlat
Serghei Urban
 

More from Serghei Urban (20)

инт тех до_ пособие
инт тех до_ пособиеинт тех до_ пособие
инт тех до_ пособие
 
Java script
Java scriptJava script
Java script
 
Bobrovckii
BobrovckiiBobrovckii
Bobrovckii
 
Boyicev o. zashiti_svoyi_kompyuter_n
Boyicev o. zashiti_svoyi_kompyuter_nBoyicev o. zashiti_svoyi_kompyuter_n
Boyicev o. zashiti_svoyi_kompyuter_n
 
Revista 03.didactica pro
Revista 03.didactica proRevista 03.didactica pro
Revista 03.didactica pro
 
крис касперски компьютерные вирусы изнутри и снаружи [2006, rus]
крис касперски   компьютерные вирусы изнутри и снаружи [2006, rus]крис касперски   компьютерные вирусы изнутри и снаружи [2006, rus]
крис касперски компьютерные вирусы изнутри и снаружи [2006, rus]
 
Moodle!7
Moodle!7Moodle!7
Moodle!7
 
A basic english grammar exercises
A basic english grammar exercisesA basic english grammar exercises
A basic english grammar exercises
 
Boyicev o. zashiti_svoyi_kompyuter_n.a4
Boyicev o. zashiti_svoyi_kompyuter_n.a4Boyicev o. zashiti_svoyi_kompyuter_n.a4
Boyicev o. zashiti_svoyi_kompyuter_n.a4
 
Tice usb 1
Tice usb 1Tice usb 1
Tice usb 1
 
Win server
Win serverWin server
Win server
 
Modernizarea standardelor
Modernizarea standardelorModernizarea standardelor
Modernizarea standardelor
 
Cinci probleme fundamentale
Cinci probleme fundamentaleCinci probleme fundamentale
Cinci probleme fundamentale
 
книга с++
книга с++книга с++
книга с++
 
Evaluarea formativă
Evaluarea formativăEvaluarea formativă
Evaluarea formativă
 
Cristian frasinaru curs-practic_de_java
Cristian frasinaru curs-practic_de_javaCristian frasinaru curs-practic_de_java
Cristian frasinaru curs-practic_de_java
 
Exercises in modern english grammar
Exercises in modern english grammarExercises in modern english grammar
Exercises in modern english grammar
 
Evaluarea rezultatelor scolare revista 33 34
Evaluarea rezultatelor scolare revista 33 34Evaluarea rezultatelor scolare revista 33 34
Evaluarea rezultatelor scolare revista 33 34
 
Algoritmi
AlgoritmiAlgoritmi
Algoritmi
 
17 ru informatica corlat
17 ru informatica corlat17 ru informatica corlat
17 ru informatica corlat
 

Recently uploaded

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 

Recently uploaded (20)

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 

01 intro-computer-pascal