SlideShare a Scribd company logo
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.
Computer
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.
Computer
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

More Related Content

PPTX
Software programming and development
Ali Raza
 
PPT
computer languages
Rajendran
 
PPT
Intro To Programming Concepts
Jussi Pohjolainen
 
PPTX
Basic programming concepts
salmankhan570
 
PDF
pdf c programming language.pdf
VineethReddy560178
 
PPT
Programming fundamentals lecture 1&2
Raja Hamid
 
PPSX
Data types, Variables, Expressions & Arithmetic Operators in java
Javed Rashid
 
PPT
Computer Engineer Powerpoint
guest845829
 
Software programming and development
Ali Raza
 
computer languages
Rajendran
 
Intro To Programming Concepts
Jussi Pohjolainen
 
Basic programming concepts
salmankhan570
 
pdf c programming language.pdf
VineethReddy560178
 
Programming fundamentals lecture 1&2
Raja Hamid
 
Data types, Variables, Expressions & Arithmetic Operators in java
Javed Rashid
 
Computer Engineer Powerpoint
guest845829
 

What's hot (20)

PPTX
What is programming what are its benefits
Vijay Singh Khatri
 
PPT
Computer programming concepts
Jasper John Cinatad
 
PPTX
Computer programming
Vincent Valenzuela
 
PPT
Software development slides
iarthur
 
PPTX
Introduction to programming
Neeru Mittal
 
PPTX
Programming languages
Simon Mui
 
PPTX
Basic Computer Programming
Allen de Castro
 
PDF
Problem Solving Techniques and Introduction to C
Prabu U
 
PPTX
High Level Language (HLL)
Maliha Jahan
 
PPTX
Computer Languages.
Aditya Sheoran
 
PPTX
Program & language generation
Buxoo Abdullah
 
PPT
Generations Of Programming Languages
py7rjs
 
PDF
Computer Programming
Syed Zaid Irshad
 
PPT
Introduction to computer programming
NSU-Biliran Campus
 
PPTX
Intro of autocad
Freelancer
 
PPT
Programming in c
indra Kishor
 
PPTX
Presentation microsoft office 2013 akshay
Akshay Singh
 
PPTX
Classification of Programming Languages
Project Student
 
PDF
notes on Programming fundamentals
ArghodeepPaul
 
PDF
Design and Implementation in Software Engineering
Kourosh Sajjadi
 
What is programming what are its benefits
Vijay Singh Khatri
 
Computer programming concepts
Jasper John Cinatad
 
Computer programming
Vincent Valenzuela
 
Software development slides
iarthur
 
Introduction to programming
Neeru Mittal
 
Programming languages
Simon Mui
 
Basic Computer Programming
Allen de Castro
 
Problem Solving Techniques and Introduction to C
Prabu U
 
High Level Language (HLL)
Maliha Jahan
 
Computer Languages.
Aditya Sheoran
 
Program & language generation
Buxoo Abdullah
 
Generations Of Programming Languages
py7rjs
 
Computer Programming
Syed Zaid Irshad
 
Introduction to computer programming
NSU-Biliran Campus
 
Intro of autocad
Freelancer
 
Programming in c
indra Kishor
 
Presentation microsoft office 2013 akshay
Akshay Singh
 
Classification of Programming Languages
Project Student
 
notes on Programming fundamentals
ArghodeepPaul
 
Design and Implementation in Software Engineering
Kourosh Sajjadi
 
Ad

Viewers also liked (18)

PPT
Advertising
Lady Lee
 
PPTX
Meetup 1-options vs stocks
Amit Shanker
 
PPTX
ตลาดสำคัญในบางกอก
Peranut Chuenthongkam
 
PPTX
Ways to improve e bay buyers experience
Girish Gopalakrishnan
 
KEY
Clematis New Zealand
Rocco Lucia
 
PDF
Systech International Corporate Profile
jason_eve3
 
PPTX
Meetup 2-options-single legstrategies
Amit Shanker
 
PPTX
Computer Programming
Newreborn Incarnation
 
DOC
Psa dev broad
Lady Lee
 
PPT
1 единство
Тетяна Бугаєнко
 
PPTX
витамины
Тетяна Бугаєнко
 
PPTX
Vitaminy gormony
Тетяна Бугаєнко
 
PPSX
презентація на тему одноклітинні організми, фесенко яни, 10 а
Тетяна Бугаєнко
 
PDF
Rpp ips kls 5
Endah Widyastuti
 
Advertising
Lady Lee
 
Meetup 1-options vs stocks
Amit Shanker
 
ตลาดสำคัญในบางกอก
Peranut Chuenthongkam
 
Ways to improve e bay buyers experience
Girish Gopalakrishnan
 
Clematis New Zealand
Rocco Lucia
 
Systech International Corporate Profile
jason_eve3
 
Meetup 2-options-single legstrategies
Amit Shanker
 
Computer Programming
Newreborn Incarnation
 
Psa dev broad
Lady Lee
 
1 единство
Тетяна Бугаєнко
 
презентація на тему одноклітинні організми, фесенко яни, 10 а
Тетяна Бугаєнко
 
Rpp ips kls 5
Endah Widyastuti
 
Ad

Similar to Computer (20)

PPTX
Computer
leeparkkim
 
PDF
Introduction to computer programming language
hidrahrama
 
PPT
Chapter 1- C++ programming languages +.ppt
anawaarabdujabbaar
 
PPTX
grade 10 2023.pptx
RaymartHerera
 
PPTX
programming.pptx
DarianElmyra
 
PDF
Introduction to computer programming
VanessaBuensalida
 
PDF
sege.pdf
SegezzBrian
 
PPTX
Introduction to Programming kkkkkkkkkkkkk
kimtrm34
 
PPT
CHAPTER-1.ppt
Tekle12
 
PDF
Fundamentals of programming with C++
Seble Nigussie
 
PDF
Computer programing 111 lecture 1
ITNet
 
PDF
La5 ict-topic-5-programming
Kak Yong
 
PPTX
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
SherinRappai1
 
PPTX
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
SherinRappai
 
PPTX
computer programming computer programmin
Jifarnecho
 
PPT
introduction to computer programming CPPL1.ppt
biniyamtiktok
 
PPTX
Week10 final
Irfan Ali Memon
 
PDF
Programming Concepts Questions and answers
SONU HEETSON
 
PPTX
Chapter 2.pptx
TamiratDejene1
 
PPTX
Python Programming-Skill Course - unit-i.pptx
KavithaDonepudi
 
Computer
leeparkkim
 
Introduction to computer programming language
hidrahrama
 
Chapter 1- C++ programming languages +.ppt
anawaarabdujabbaar
 
grade 10 2023.pptx
RaymartHerera
 
programming.pptx
DarianElmyra
 
Introduction to computer programming
VanessaBuensalida
 
sege.pdf
SegezzBrian
 
Introduction to Programming kkkkkkkkkkkkk
kimtrm34
 
CHAPTER-1.ppt
Tekle12
 
Fundamentals of programming with C++
Seble Nigussie
 
Computer programing 111 lecture 1
ITNet
 
La5 ict-topic-5-programming
Kak Yong
 
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
SherinRappai1
 
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
SherinRappai
 
computer programming computer programmin
Jifarnecho
 
introduction to computer programming CPPL1.ppt
biniyamtiktok
 
Week10 final
Irfan Ali Memon
 
Programming Concepts Questions and answers
SONU HEETSON
 
Chapter 2.pptx
TamiratDejene1
 
Python Programming-Skill Course - unit-i.pptx
KavithaDonepudi
 

Recently uploaded (20)

PPTX
Basics and rules of probability with real-life uses
ravatkaran694
 
PPTX
Sonnet 130_ My Mistress’ Eyes Are Nothing Like the Sun By William Shakespear...
DhatriParmar
 
PPTX
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
PPTX
20250924 Navigating the Future: How to tell the difference between an emergen...
McGuinness Institute
 
PPTX
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
PDF
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
PDF
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
PPTX
How to Apply for a Job From Odoo 18 Website
Celine George
 
PPTX
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
PPTX
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PPTX
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
PPTX
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
PPTX
BASICS IN COMPUTER APPLICATIONS - UNIT I
suganthim28
 
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
PDF
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
DOCX
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
PPTX
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
PPTX
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
Basics and rules of probability with real-life uses
ravatkaran694
 
Sonnet 130_ My Mistress’ Eyes Are Nothing Like the Sun By William Shakespear...
DhatriParmar
 
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
20250924 Navigating the Future: How to tell the difference between an emergen...
McGuinness Institute
 
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
How to Apply for a Job From Odoo 18 Website
Celine George
 
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
BASICS IN COMPUTER APPLICATIONS - UNIT I
suganthim28
 
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
An introduction to Dialogue writing.pptx
drsiddhantnagine
 

Computer

  • 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.
  • 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.
  • 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.