SlideShare a Scribd company logo
1 of 24
COMPUTER
PROGRAMMING
by:
Trisha Faye Gamboa
Karl Albert Balolong
 The Computer Programming and Analysis
program provides an opportunity to establish
a basic foundation in computer programming
in scientific, commercial, industrial and
government information technology
applications. Graduates are prepared for
positions as entry-level application
programmers, programmer specialists,
computer programmers and programmer
analysts.
 Computer programming is a process that leads from
an original formulation of a computing problem to
executable computer programs. Programming
involves activities such as analysis, developing
understanding, generating algorithms, verification of
requirements of algorithms including their correctness
and resources consumption, and implementation
(commonly referred to as coding) of algorithms in a
target programming language. Source code is written
in one or more programming languages (such as C,
C++, C#, Java, Python, Ruby, Smalltalk, JavaScript,
etc.).The purpose of programming is to find a
sequence of instructions that will automate
performing a specific task or solving a given problem.
Introduction to Programming
 Program is a set of step-by-step instruction
that tells or directs the computer what to do.
 Programming Language is a set of rules that
tells the computer what to perform is through
it.
 Programmer is the person who designs and
tests a program.Also decides which of the
programs or set of instruction to use.
 The process of programming thus often
requires expertise in many different subjects,
including knowledge of the application
domain, specialized algorithms and formal
logic.
 Identifying – Planning – Coding –Testing -
Documentation
- First step.To determine the
requirement of the program.
-Two ways of planning the soluti0n to a
problem.
1. Flowcharting
2. Pseudo Code
Flowcharting is a step-by-step instruction.
Psuedo Code is listing down the set of
instructions to be used in the program.
Coding the Program
 Designing the solution.This step needs to
use Visual Basic as it’s programming
language. Programming language have
their own set of rules to follow, this is
called syntax. Also used in a certain
program will produce an error called
syntax error.
After coding the program, it is important
to test if it is running.
Three phases of Testing:
1. Desk checking- in these phase the
programmer just mentally traces or checks
the logic of the program.To make sure if it’s
error free.
2. Translation- these phase uses a translator to
ensure that the programmer did not violate
any language rules by the chosen
programming language. It translates the
program line by line to locate any syntax
error.
Documentation
3. Debugging- this means detecting, locating
and correcting bugs ( an error or mistake).
-In this step, the programmer makes a
detailed description on how the program
was created. It contains a brief narrative
process undergone by a program.
- Codes used for the next programmer who
will upgrade the designed program.
Reliability: how often the results of a program are
correct.This depends on conceptual correctness of
algorithms, and minimization of programming
mistakes, such as mistakes in resource management
(e.g., buffer overflows and race conditions) and logic
errors (such as division by zero or off-by-one errors).
Robustness: how well a program anticipates
problems due to errors (not bugs).This includes
situations such as incorrect, inappropriate or corrupt
data, unavailability of needed resources such as
memory, operating system services and network
connections, user error, and unexpected power
outages.
 Usability: the ergonomics of a program: the ease with
which a person can use the program for its intended
purpose or in some cases even unanticipated purposes.
Such issues can make or break its success even regardless
of other issues.This involves a wide range of textual,
graphical and sometimes hardware elements that improve
the clarity, intuitiveness, cohesiveness and completeness of
a program's user interface.
 Portability: the range of computer hardware and
operating system platforms on which the source code of
a program can be compiled/interpreted and run.This
depends on differences in the programming facilities
provided by the different platforms, including hardware
and operating system resources, expected behavior of
the hardware and operating system, and availability of
platform specific compilers (and sometimes libraries) for
the language of the source code
 Maintainability: the ease with which a program
can be modified by its present or future
developers in order to make improvements or
customizations, fix bugs and security holes, or
adapt it to new environments. Good practices
during initial development make the difference
in this regard.This quality may not be directly
apparent to the end user but it can significantly
affect the fate of a program over the long term.
 Efficiency/performance: the amount of system
resources a program consumes (processor time,
memory space, slow devices such as disks,
network bandwidth and to some extent even
user interaction): the less, the better.This also
includes careful management of resources, for
example cleaning up temporary files and
eliminating memory leaks
 Different programming languages support
different styles of programming (called
programming paradigms).The choice of
language used is subject to many
considerations, such as company policy,
suitability to task, availability of third-party
packages, or individual preference. Ideally,
the programming language best suited for
the task at hand will be selected.
 Trade-offs from this ideal involve finding
enough programmers who know the
language to build a team, the availability of
compilers for that language, and the
efficiency with which programs written in a
given language execute. Languages form an
approximate spectrum from "low-level" to
"high-level"; "low-level" languages are
typically more machine-oriented and faster
to execute, whereas "high-level" languages
are more abstract and easier to use but
execute less quickly. It is usually easier to
code in "high-level" languages than in "low-
level" ones.
 The details look different in different
languages, but a few basic instructions appear
in just about every language:
 Input: Gather data from the keyboard, a file, or
some other device.
 Output: Display data on the screen or send data
to a file or other device.
 Arithmetic: Perform basic arithmetical
operations like addition and multiplication.
 Conditional Execution: Check for certain
conditions and execute the appropriate
sequence of statements.
 Repetition: Perform some action repeatedly,
usually with some variation.
Levels of programming language
 There are five levels of programming language.
Used in their respective generation. Each
generation is an improvement of the latter
generation.
1. Machine Language ( 1st Generation Prog.
Language
- Lowest level programming language. It’s
represented by 1s and 0s. A very tedious task for
just a simple task, the program code required
would be very long.
2. Assembly Language or 2nd Generation Prog.
Language
-Also considered as low level language.This
language is easier to use than Machine language.
Instead of using 1s and 0s, this language use
mnemonic codes( abbreviations that are easy to
remember).
3. High Level Language or 3rd Generation Prog.
Language
- this language transformed programming in
the early 1960s. It’s easier since the language is
now written in English like matter.Third
generation prog. Language uses translator.
 4.Very High Level Language or 4th Generation
Language ( 4 GL)
It simplifies further the third level generation
language (3GL) because there is a reduction in the
number of instructional statements. One hundred
(100) lines of instruction in 3GLs can be reduced to
five (5) to twenty (20) lines of instruction in 4GLs.
5. Natural Language
This language are considered to be the fifth gen.
prog. language. Natural language have their
resemblance to English language.This language
have the capability to translate human instructions
into code that a computer understands.
Examples:
Non-Procedural Languages
 So called as Object-oriented programming
languages. They are event-driven which means
that a programmer selects an event that needs
to occur before the instruction or statement is
executed.
Examples:
 VISUAL BASIC
 C++
 JAVA
 DELPHI
 Many computer languages provide a
mechanism to call functions provided
by shared libraries. Provided the
functions in a library follow the
appropriate run time conventions
(e.g., method of passing arguments),
then these functions may be written
in any other language.
Computer Programming

More Related Content

What's hot

Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
 
4 evolution-of-programming-languages
4 evolution-of-programming-languages4 evolution-of-programming-languages
4 evolution-of-programming-languagesRohit Shrivastava
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming conceptssalmankhan570
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programmingNeeru Mittal
 
Programming language
Programming languageProgramming language
Programming languageShuja Qais
 
Presentation on computer language
Presentation on computer languagePresentation on computer language
Presentation on computer languageSwarnima Tiwari
 
Programming languages
Programming languagesProgramming languages
Programming languagesAkash Varaiya
 
Computer languages
Computer languagesComputer languages
Computer languagesAqdasNoor
 
Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1lakshmi kumari neelapu
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languagesNaqashAhmad14
 
Programming languages of computer
Programming languages of computerProgramming languages of computer
Programming languages of computerKeval Goyani
 
Programming languages
Programming languagesProgramming languages
Programming languagesvito_carleone
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentationfazli khaliq
 
Chapter 1 - An Introduction to Programming
Chapter 1 - An Introduction to ProgrammingChapter 1 - An Introduction to Programming
Chapter 1 - An Introduction to Programmingmshellman
 

What's hot (20)

Importance of software engineering
Importance of software engineeringImportance of software engineering
Importance of software engineering
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
4 evolution-of-programming-languages
4 evolution-of-programming-languages4 evolution-of-programming-languages
4 evolution-of-programming-languages
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Programming language
Programming languageProgramming language
Programming language
 
Presentation on computer language
Presentation on computer languagePresentation on computer language
Presentation on computer language
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Computer programming languages
Computer programming languagesComputer programming languages
Computer programming languages
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1
 
introduction to programming languages
introduction to programming languagesintroduction to programming languages
introduction to programming languages
 
Programming languages of computer
Programming languages of computerProgramming languages of computer
Programming languages of computer
 
Computer Software & its Types
Computer Software & its Types Computer Software & its Types
Computer Software & its Types
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
software engineering
software engineeringsoftware engineering
software engineering
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
 
The Knowledge of QBasic
The Knowledge of QBasicThe Knowledge of QBasic
The Knowledge of QBasic
 
Chapter 1 - An Introduction to Programming
Chapter 1 - An Introduction to ProgrammingChapter 1 - An Introduction to Programming
Chapter 1 - An Introduction to Programming
 
Computer languages
Computer languagesComputer languages
Computer languages
 

Viewers also liked

The world's top mobile social games companies
The world's top mobile social games companiesThe world's top mobile social games companies
The world's top mobile social games companiesSoko Media
 
Consumers rights
Consumers rightsConsumers rights
Consumers rightsAna Helena
 
Computer programmer
Computer programmerComputer programmer
Computer programmerajt525
 
Computer programmer job information
Computer programmer job informationComputer programmer job information
Computer programmer job informationChrisinCT
 
Customer Complaint Management
Customer Complaint ManagementCustomer Complaint Management
Customer Complaint ManagementFaakor Agyekum
 
Consumer protection
Consumer protectionConsumer protection
Consumer protectionayushig
 

Viewers also liked (8)

The world's top mobile social games companies
The world's top mobile social games companiesThe world's top mobile social games companies
The world's top mobile social games companies
 
Consumers rights
Consumers rightsConsumers rights
Consumers rights
 
Computer programmer
Computer programmerComputer programmer
Computer programmer
 
Computer programmer job information
Computer programmer job informationComputer programmer job information
Computer programmer job information
 
Programmer ppt
Programmer pptProgrammer ppt
Programmer ppt
 
Customer Complaint Management
Customer Complaint ManagementCustomer Complaint Management
Customer Complaint Management
 
Consumer protection
Consumer protectionConsumer protection
Consumer protection
 
Consumer rights
Consumer rightsConsumer rights
Consumer rights
 

Similar to Computer Programming

Unit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptxUnit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptxAsst.prof M.Gokilavani
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
 
1.Overview of Programming.pptx
1.Overview of Programming.pptx1.Overview of Programming.pptx
1.Overview of Programming.pptxVishwas459764
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxChewe Lulembo
 
Computer Software and It's Development
Computer Software and It's DevelopmentComputer Software and It's Development
Computer Software and It's DevelopmentRabin BK
 
Computer programming
Computer programmingComputer programming
Computer programmingSuneel Dogra
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programmingMukesh Tekwani
 
Generation of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptxGeneration of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptxAryaDutta4
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)nharsh2308
 
Ppt about programming in methodology
Ppt about programming in methodology Ppt about programming in methodology
Ppt about programming in methodology Vaishnavirakshe2
 
introduction to programming
introduction to programmingintroduction to programming
introduction to programmingGaea Bonita
 

Similar to Computer Programming (20)

Computer
ComputerComputer
Computer
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Unit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptxUnit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptx
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
1.Overview of Programming.pptx
1.Overview of Programming.pptx1.Overview of Programming.pptx
1.Overview of Programming.pptx
 
Ic lecture8
Ic lecture8 Ic lecture8
Ic lecture8
 
Programming
ProgrammingProgramming
Programming
 
computer Unit 6
computer Unit 6computer Unit 6
computer Unit 6
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptx
 
grade 10 2023.pptx
grade 10 2023.pptxgrade 10 2023.pptx
grade 10 2023.pptx
 
Computer Software and It's Development
Computer Software and It's DevelopmentComputer Software and It's Development
Computer Software and It's Development
 
Computer programming
Computer programmingComputer programming
Computer programming
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programming
 
Generation of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptxGeneration of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptx
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)
 
Ppt about programming in methodology
Ppt about programming in methodology Ppt about programming in methodology
Ppt about programming in methodology
 
SYSTEM DEVELOPMENT
SYSTEM DEVELOPMENTSYSTEM DEVELOPMENT
SYSTEM DEVELOPMENT
 
introduction to programming
introduction to programmingintroduction to programming
introduction to programming
 
Richa garg itm
Richa garg itmRicha garg itm
Richa garg itm
 

Recently uploaded

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 

Recently uploaded (20)

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 

Computer Programming

  • 2.  The Computer Programming and Analysis program provides an opportunity to establish a basic foundation in computer programming in scientific, commercial, industrial and government information technology applications. Graduates are prepared for positions as entry-level application programmers, programmer specialists, computer programmers and programmer analysts.
  • 3.  Computer programming is a process that leads from an original formulation of a computing problem to executable computer programs. Programming involves activities such as analysis, developing understanding, generating algorithms, verification of requirements of algorithms including their correctness and resources consumption, and implementation (commonly referred to as coding) of algorithms in a target programming language. Source code is written in one or more programming languages (such as C, C++, C#, Java, Python, Ruby, Smalltalk, JavaScript, etc.).The purpose of programming is to find a sequence of instructions that will automate performing a specific task or solving a given problem.
  • 4. Introduction to Programming  Program is a set of step-by-step instruction that tells or directs the computer what to do.  Programming Language is a set of rules that tells the computer what to perform is through it.  Programmer is the person who designs and tests a program.Also decides which of the programs or set of instruction to use.
  • 5.  The process of programming thus often requires expertise in many different subjects, including knowledge of the application domain, specialized algorithms and formal logic.  Identifying – Planning – Coding –Testing - Documentation
  • 6. - First step.To determine the requirement of the program. -Two ways of planning the soluti0n to a problem. 1. Flowcharting 2. Pseudo Code Flowcharting is a step-by-step instruction. Psuedo Code is listing down the set of instructions to be used in the program.
  • 7. Coding the Program  Designing the solution.This step needs to use Visual Basic as it’s programming language. Programming language have their own set of rules to follow, this is called syntax. Also used in a certain program will produce an error called syntax error. After coding the program, it is important to test if it is running.
  • 8. Three phases of Testing: 1. Desk checking- in these phase the programmer just mentally traces or checks the logic of the program.To make sure if it’s error free. 2. Translation- these phase uses a translator to ensure that the programmer did not violate any language rules by the chosen programming language. It translates the program line by line to locate any syntax error.
  • 9. Documentation 3. Debugging- this means detecting, locating and correcting bugs ( an error or mistake). -In this step, the programmer makes a detailed description on how the program was created. It contains a brief narrative process undergone by a program. - Codes used for the next programmer who will upgrade the designed program.
  • 10.
  • 11. Reliability: how often the results of a program are correct.This depends on conceptual correctness of algorithms, and minimization of programming mistakes, such as mistakes in resource management (e.g., buffer overflows and race conditions) and logic errors (such as division by zero or off-by-one errors). Robustness: how well a program anticipates problems due to errors (not bugs).This includes situations such as incorrect, inappropriate or corrupt data, unavailability of needed resources such as memory, operating system services and network connections, user error, and unexpected power outages.
  • 12.  Usability: the ergonomics of a program: the ease with which a person can use the program for its intended purpose or in some cases even unanticipated purposes. Such issues can make or break its success even regardless of other issues.This involves a wide range of textual, graphical and sometimes hardware elements that improve the clarity, intuitiveness, cohesiveness and completeness of a program's user interface.  Portability: the range of computer hardware and operating system platforms on which the source code of a program can be compiled/interpreted and run.This depends on differences in the programming facilities provided by the different platforms, including hardware and operating system resources, expected behavior of the hardware and operating system, and availability of platform specific compilers (and sometimes libraries) for the language of the source code
  • 13.  Maintainability: the ease with which a program can be modified by its present or future developers in order to make improvements or customizations, fix bugs and security holes, or adapt it to new environments. Good practices during initial development make the difference in this regard.This quality may not be directly apparent to the end user but it can significantly affect the fate of a program over the long term.  Efficiency/performance: the amount of system resources a program consumes (processor time, memory space, slow devices such as disks, network bandwidth and to some extent even user interaction): the less, the better.This also includes careful management of resources, for example cleaning up temporary files and eliminating memory leaks
  • 14.  Different programming languages support different styles of programming (called programming paradigms).The choice of language used is subject to many considerations, such as company policy, suitability to task, availability of third-party packages, or individual preference. Ideally, the programming language best suited for the task at hand will be selected.
  • 15.  Trade-offs from this ideal involve finding enough programmers who know the language to build a team, the availability of compilers for that language, and the efficiency with which programs written in a given language execute. Languages form an approximate spectrum from "low-level" to "high-level"; "low-level" languages are typically more machine-oriented and faster to execute, whereas "high-level" languages are more abstract and easier to use but execute less quickly. It is usually easier to code in "high-level" languages than in "low- level" ones.
  • 16.  The details look different in different languages, but a few basic instructions appear in just about every language:  Input: Gather data from the keyboard, a file, or some other device.  Output: Display data on the screen or send data to a file or other device.  Arithmetic: Perform basic arithmetical operations like addition and multiplication.  Conditional Execution: Check for certain conditions and execute the appropriate sequence of statements.  Repetition: Perform some action repeatedly, usually with some variation.
  • 17. Levels of programming language  There are five levels of programming language. Used in their respective generation. Each generation is an improvement of the latter generation. 1. Machine Language ( 1st Generation Prog. Language - Lowest level programming language. It’s represented by 1s and 0s. A very tedious task for just a simple task, the program code required would be very long.
  • 18. 2. Assembly Language or 2nd Generation Prog. Language -Also considered as low level language.This language is easier to use than Machine language. Instead of using 1s and 0s, this language use mnemonic codes( abbreviations that are easy to remember). 3. High Level Language or 3rd Generation Prog. Language - this language transformed programming in the early 1960s. It’s easier since the language is now written in English like matter.Third generation prog. Language uses translator.
  • 19.  4.Very High Level Language or 4th Generation Language ( 4 GL) It simplifies further the third level generation language (3GL) because there is a reduction in the number of instructional statements. One hundred (100) lines of instruction in 3GLs can be reduced to five (5) to twenty (20) lines of instruction in 4GLs. 5. Natural Language This language are considered to be the fifth gen. prog. language. Natural language have their resemblance to English language.This language have the capability to translate human instructions into code that a computer understands.
  • 20.
  • 22. Non-Procedural Languages  So called as Object-oriented programming languages. They are event-driven which means that a programmer selects an event that needs to occur before the instruction or statement is executed. Examples:  VISUAL BASIC  C++  JAVA  DELPHI
  • 23.  Many computer languages provide a mechanism to call functions provided by shared libraries. Provided the functions in a library follow the appropriate run time conventions (e.g., method of passing arguments), then these functions may be written in any other language.