INTRODUCTION
TO
COMPUTER PROGRAMMING
What is a computer program?
- is a series of instructions written to perform a specific task
on a computer. A computer needs a program to work.
- the program has an executable form that the computer can
use directly to perform instructions.
What is programming?
- the art or process and science of creating/writing programs.
- the process done by programmers to instruct a computer on
how to do a task.
What is programming?
- the process of planning and designing solutions for a
particular problem and then writing the code using a
programming language.
What is a programming language?
- is a tool that allows programmers to write commands or
programs that can easily be understood by a person and
translated into codes that are machine-readable
- a form of communication that programmers use to develop
applications, scripts or other set of instructions for a
computer to execute
CLASSIFICATION OF PROGRAMMING LANGUAGE
1. Machine Language
• the only language that a computer can understand
• difficult to understand because it only understands the
system, 0s and 1s are known as the “machine code:
• Lowest level programming language
CLASSIFICATION OF PROGRAMMING LANGUAGE
2. Assembly Language
• more advanced than the machine language
• Uses mnemonics in place of 0s and 1s to simplify the
programmer’s way of creating programs
Mnemonics – are memory aids. Instead of using numbers,
programmers began using English-like abbreviations such as
mov for move, mul for a multiplication operation, add for an
addition operation and so on.
CLASSIFICATION OF PROGRAMMING LANGUAGE
Example:
Machine Language Assembly Language
10110000 01100001 Mov al. 01ah
Assembly Language is easier to understand, it is
incomprehensible to computers. Thus it needs another
called an ASSEMBLER which translated assembly language
statements into the target computer machine code.
CLASSIFICATION OF PROGRAMMING LANGUAGE
Programming in machine and assembly languages are too
tedious and require highly trained programmers.
3. High-Level Language
• used to speed up programming process
• were developed to allow programmers to use English
commands to carry out instructions
Examples: BASIC, COBOL, Pascal, FORTRAN, C, etc.
CLASSIFICATION OF PROGRAMMING LANGUAGE
These languages require separate programs like an assembler
translate instructions to machine code.
The translators used were an interpreter or compiler.
Interpreter – translates high-level instructions into machine
code, line by line as the program is running.
Compiler – translates the entire program into machine code
before running the program
CLASSIFICATION OF PROGRAMMING LANGUAGE
Example:
Begin
Input “Enter your name:” fname$
Input “Enter your birthyear:” byear$
Input “Enter the current year:” cyear$
Age$ = cyear$ - byear$
Print fnames$,”,your age now is “,Age$
End
CLASSIFICATION OF PROGRAMMING LANGUAGE
Most of these languages are procedure-oriented.
Procedure-oriented means that the instructions must be
properly sequenced in order for the computer to process the
tasks correctly.
4. Object-Oriented/Event-Driven Programming Languages
• GUI environment programs, user-friendly but demanded
more complex programming tools.
CLASSIFICATION OF PROGRAMMING LANGUAGE
• the emphasis of creating a program was on the objects
include in the user interface like buttons and scrollbars.
Example: Visual Basic, Delphi, Visual C++, PROLOG, and
Smalltalk
Examples of event driven – Microsoft Office applications such
MS Word, MS Excel
Program Development Process
PLANNING
CODING
TESTING & DEBUGGING
DOCUMENTATION
MAINTENANCE

More Related Content

DOCX
TLE-10-ICT-Computer-System-Servicing-NC-docx.docx
PPTX
Empowerment technologies byShyna Gane Daleon and Galasao
PPTX
Grade 11 - TVL - Computer system servicing
PDF
Applying quality-standard (css)
DOC
computer curriculum map
PPTX
Bootable Installer Preparation .pptx
PPTX
How to prepare a portable bootable devices
PDF
CSS NC II Module : Set-up Computer Networks
TLE-10-ICT-Computer-System-Servicing-NC-docx.docx
Empowerment technologies byShyna Gane Daleon and Galasao
Grade 11 - TVL - Computer system servicing
Applying quality-standard (css)
computer curriculum map
Bootable Installer Preparation .pptx
How to prepare a portable bootable devices
CSS NC II Module : Set-up Computer Networks

What's hot (20)

PDF
TLE ICT 10 CSS MELC (UNOFFICIAL)
PPTX
Computer issues - TLE ICT 10
PPT
File Management
PPTX
Installing and configuring computer System
PPTX
INSTALLING SOFTWARE
DOCX
Computer systems servicing nc ii study guide by brahms
PPT
Software application
PDF
CSS L07 - Preparing the Installer
PPTX
ETECH Q1 Wk4-Infographics.pptx
PPTX
Diagnostic software tools
DOCX
Demonstration lesson-plan-in-ict grade 11
PPTX
Empowerment Technologies - Online Platforms as Tools for ICT Content Development
PPTX
Tools and Equipment used in CSS NCII
PPT
Grade 10 introduction and history of programming
PPTX
01 CBT & CS for CSS NC II.pptx
PDF
CSS L12 STRUCTURE OF COMPUTER NETWORK
PPTX
installation of Window 10 on desktop computers.
PPTX
Ict 9 module 4 introduction
PPTX
computer software
PPTX
INSTALL APLLICATION SOFTWARE.pptx
TLE ICT 10 CSS MELC (UNOFFICIAL)
Computer issues - TLE ICT 10
File Management
Installing and configuring computer System
INSTALLING SOFTWARE
Computer systems servicing nc ii study guide by brahms
Software application
CSS L07 - Preparing the Installer
ETECH Q1 Wk4-Infographics.pptx
Diagnostic software tools
Demonstration lesson-plan-in-ict grade 11
Empowerment Technologies - Online Platforms as Tools for ICT Content Development
Tools and Equipment used in CSS NCII
Grade 10 introduction and history of programming
01 CBT & CS for CSS NC II.pptx
CSS L12 STRUCTURE OF COMPUTER NETWORK
installation of Window 10 on desktop computers.
Ict 9 module 4 introduction
computer software
INSTALL APLLICATION SOFTWARE.pptx
Ad

Similar to 10 lesson7 (20)

PPTX
Computer language
PPTX
COM 113 INTRO TO COMPUTER PROGRAMMING-PRT2.pptx
PPTX
INTRODUCTION TO COMPUTER PROGRAMMING.pptx
PPTX
COM 113 INTRO TO COMPUTER PROGRAMMING-PRT2.pptx
PPT
Computer languages
PPTX
basic programming introduction about java
PPTX
Programming Fundamental Slide No.1
PPTX
Introduction Programming and Application Lecture 1.pptx
PPTX
Programming languages.pptx
PDF
POLITEKNIK MALAYSIA
PPT
Cmp104 lec 6 computer lang
PPT
Cmp104 lec 6 computer lang
PDF
sege.pdf
PDF
Introduction to computer programming
PPTX
programming.pptx
PPTX
Computer languages
PPTX
Computer languages
PDF
Languages in computer
PPTX
Block diagram (computer programming & utilization)
PPTX
Programming languages,compiler,interpreter,softwares
Computer language
COM 113 INTRO TO COMPUTER PROGRAMMING-PRT2.pptx
INTRODUCTION TO COMPUTER PROGRAMMING.pptx
COM 113 INTRO TO COMPUTER PROGRAMMING-PRT2.pptx
Computer languages
basic programming introduction about java
Programming Fundamental Slide No.1
Introduction Programming and Application Lecture 1.pptx
Programming languages.pptx
POLITEKNIK MALAYSIA
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
sege.pdf
Introduction to computer programming
programming.pptx
Computer languages
Computer languages
Languages in computer
Block diagram (computer programming & utilization)
Programming languages,compiler,interpreter,softwares
Ad

More from Mary Grace Uminga (8)

PPTX
Orientation
PPTX
Lesson 02 areas of tle
PPTX
10 lesson8
PPTX
10 lesson6
PPTX
10 lesson5
PPTX
10 lesson4
PPTX
10 lesson3
PPTX
10 lesson 2
Orientation
Lesson 02 areas of tle
10 lesson8
10 lesson6
10 lesson5
10 lesson4
10 lesson3
10 lesson 2

Recently uploaded (20)

PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
HVAC Specification 2024 according to central public works department
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Trump Administration's workforce development strategy
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PPTX
Virtual and Augmented Reality in Current Scenario
PDF
advance database management system book.pdf
PPTX
Computer Architecture Input Output Memory.pptx
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PPTX
Introduction to pro and eukaryotes and differences.pptx
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
AI-driven educational solutions for real-life interventions in the Philippine...
HVAC Specification 2024 according to central public works department
Practical Manual AGRO-233 Principles and Practices of Natural Farming
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
202450812 BayCHI UCSC-SV 20250812 v17.pptx
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
Chinmaya Tiranga quiz Grand Finale.pdf
Trump Administration's workforce development strategy
Environmental Education MCQ BD2EE - Share Source.pdf
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
Virtual and Augmented Reality in Current Scenario
advance database management system book.pdf
Computer Architecture Input Output Memory.pptx
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Introduction to pro and eukaryotes and differences.pptx

10 lesson7

  • 2. What is a computer program? - is a series of instructions written to perform a specific task on a computer. A computer needs a program to work. - the program has an executable form that the computer can use directly to perform instructions. What is programming? - the art or process and science of creating/writing programs. - the process done by programmers to instruct a computer on how to do a task.
  • 3. What is programming? - the process of planning and designing solutions for a particular problem and then writing the code using a programming language. What is a programming language? - is a tool that allows programmers to write commands or programs that can easily be understood by a person and translated into codes that are machine-readable - a form of communication that programmers use to develop applications, scripts or other set of instructions for a computer to execute
  • 4. CLASSIFICATION OF PROGRAMMING LANGUAGE 1. Machine Language • the only language that a computer can understand • difficult to understand because it only understands the system, 0s and 1s are known as the “machine code: • Lowest level programming language
  • 5. CLASSIFICATION OF PROGRAMMING LANGUAGE 2. Assembly Language • more advanced than the machine language • Uses mnemonics in place of 0s and 1s to simplify the programmer’s way of creating programs Mnemonics – are memory aids. Instead of using numbers, programmers began using English-like abbreviations such as mov for move, mul for a multiplication operation, add for an addition operation and so on.
  • 6. CLASSIFICATION OF PROGRAMMING LANGUAGE Example: Machine Language Assembly Language 10110000 01100001 Mov al. 01ah Assembly Language is easier to understand, it is incomprehensible to computers. Thus it needs another called an ASSEMBLER which translated assembly language statements into the target computer machine code.
  • 7. CLASSIFICATION OF PROGRAMMING LANGUAGE Programming in machine and assembly languages are too tedious and require highly trained programmers. 3. High-Level Language • used to speed up programming process • were developed to allow programmers to use English commands to carry out instructions Examples: BASIC, COBOL, Pascal, FORTRAN, C, etc.
  • 8. CLASSIFICATION OF PROGRAMMING LANGUAGE These languages require separate programs like an assembler translate instructions to machine code. The translators used were an interpreter or compiler. Interpreter – translates high-level instructions into machine code, line by line as the program is running. Compiler – translates the entire program into machine code before running the program
  • 9. CLASSIFICATION OF PROGRAMMING LANGUAGE Example: Begin Input “Enter your name:” fname$ Input “Enter your birthyear:” byear$ Input “Enter the current year:” cyear$ Age$ = cyear$ - byear$ Print fnames$,”,your age now is “,Age$ End
  • 10. CLASSIFICATION OF PROGRAMMING LANGUAGE Most of these languages are procedure-oriented. Procedure-oriented means that the instructions must be properly sequenced in order for the computer to process the tasks correctly. 4. Object-Oriented/Event-Driven Programming Languages • GUI environment programs, user-friendly but demanded more complex programming tools.
  • 11. CLASSIFICATION OF PROGRAMMING LANGUAGE • the emphasis of creating a program was on the objects include in the user interface like buttons and scrollbars. Example: Visual Basic, Delphi, Visual C++, PROLOG, and Smalltalk Examples of event driven – Microsoft Office applications such MS Word, MS Excel
  • 12. Program Development Process PLANNING CODING TESTING & DEBUGGING DOCUMENTATION MAINTENANCE