Computer
Programmin
g 1
Agenda
• What is Programming?
• Difference between Program, Programmer, and
Programming Language
• Why Programming Is Important
• Programming Cycle
• Key Aspect of Computer Programming
What is
Programmin
g?
Refers to a technological
process for telling a
computer which tasks to
perform in order to solve
problems.
PROGRAMMING
a process of designing
and writing computer
programs that make the
workings of a computer
more efficient.
PROGRAMMING
How does
computer
programming
work?
How does
computer
programming
work?
At its most basic,
programming tells a
computer what to do.
How does computer programming
work?
• First, a programmer writes code—a set of letters,
numbers, and other characters.
• Next, a compiler converts each line of code into a
language a computer can understand.
• Then, the computer scans the code and executes it,
thereby performing a task or series of tasks.
• Tasks might include displaying an image on a webpage
or changing the font of a section of text.
Why
programming
is important?
Why
programming is
important?
Computer programming is
one of the most important
aspects of modern life.
Why
programming is
important?
In today’s society, knowing
how to computer program
is one of the most valuable
skills somebody can
possess. It is an essential
tool that enables us to
communicate with
computers and complete
tasks.
Why
programming is
important?
Computer programming
is a highly sought-after
skill in an increasingly
technological world.
Difference between
Program, Programmer,
and Programming
Languages
What is a
Program?
Program
a program is a set of
instructions for a computer,
telling is what to do or how
to behave.
What is a
Programmer?
Programmer
A programmer is a person
who create, develop and
write a program
Who can be a
Programmer?
Anyone who have
knowledge in
programming.
What is a
Programming
Language?
Programming
Language
a system of signs used by a
person to communicate a
task/algorithm to a
computer, causing the task
to be performed.
Programming
Language
Programming language is
more of a set of commands
that is formulated by the
user and executed by the
computer.
Fact!
A program is created using
different programming
languages.
Programming Cycle
Problem Definition
Problem Analyses
Algorithm
Development
Coding and
debugging
Problem Definition
What is the problem?
Problem Analysis
Breaking down the problem into smaller
sub problems.
• What programming language should
I use?
• Do I need other hardware or
software?
Algorithm Development
Strategy on how to do the task?
May be expressed in:
 Human Language
 Graphical Representation (Flowchart)
 Pseudocode
Coding and Debugging
The process of removing errors
KEY ASPECT OF
COMPUTER
PROGRAMMING
KEY ASPECT OF COMPUTER
PROGRAMMING
Computer programming
involves several key aspects that
collectively define how software
is developed, maintained, and
executed.
KEY ASPECT OF COMPUTER
PROGRAMMING
Algorithms are step-by-
step procedures or
formulas for solving
problems.
1. Algorithms and Problem Solving
KEY ASPECT OF COMPUTER
PROGRAMMING
Data structures are ways
of organizing and storing
data to enable efficient
access and modification.
2. Data Structures
KEY ASPECT OF COMPUTER
PROGRAMMING
Programming paradigms
are approaches to
organizing and
structuring code
3. Programming Paradigms
KEY ASPECT OF COMPUTER
PROGRAMMING
Syntax refers to the rules that define
the structure of valid statements in a
programming language, while
semantics refers to the meaning of
those statements.
4. Syntax and Semantics
KEY ASPECT OF COMPUTER
PROGRAMMING
Control flow manages the
order in which
instructions are executed
in a program.
5. Control Flow
KEY ASPECT OF COMPUTER
PROGRAMMING
Functions (or procedures)
are blocks of code
designed to perform
specific tasks.
6. Functions and Procedures
KEY ASPECT OF COMPUTER
PROGRAMMING
Error handling involves managing
and responding to runtime errors
or exceptions that occur during
program execution to prevent
crashes and ensure graceful
failure.
7. Error Handling
KEY ASPECT OF COMPUTER
PROGRAMMING
Debugging is the process of
identifying and fixing bugs or
issues in code. Testing involves
writing and running tests to ensure
that the software works as
intended.
8. Debugging and Testing
KEY ASPECT OF COMPUTER
PROGRAMMING
Version control systems
manage changes to source
code over time, allowing
multiple developers to
collaborate and track revisions.
9. Version Control
KEY ASPECT OF COMPUTER
PROGRAMMING
Documentation includes
comments, user guides, and
technical references that
explain how the code works
and how to use it.
10. Documentation
KEY ASPECT OF COMPUTER
PROGRAMMING
Code efficiency involves writing
programs that use resources (time,
memory) effectively. Optimization
improves performance and
reduces resource usage.
11. Code Efficiency and
Optimization
KEY ASPECT OF COMPUTER
PROGRAMMING
Software design and architecture
involve planning and structuring
software systems to ensure they
are scalable, maintainable, and
meet requirements.
12. Software Design and
Architecture
KEY ASPECT OF COMPUTER
PROGRAMMING
Concurrency and parallelism
involve managing multiple tasks
or processes simultaneously to
improve performance and
responsiveness.
13. Concurrency and Parallelism
KEY ASPECT OF COMPUTER
PROGRAMMING
Security involves protecting
software from vulnerabilities
and threats that could
compromise data integrity,
confidentiality, and availability.
13. Security
Thank you!

Computer Programming 1 - Chapter- 1.pptx

  • 1.
  • 2.
    Agenda • What isProgramming? • Difference between Program, Programmer, and Programming Language • Why Programming Is Important • Programming Cycle • Key Aspect of Computer Programming
  • 3.
  • 4.
    Refers to atechnological process for telling a computer which tasks to perform in order to solve problems. PROGRAMMING
  • 5.
    a process ofdesigning and writing computer programs that make the workings of a computer more efficient. PROGRAMMING
  • 6.
  • 7.
    How does computer programming work? At itsmost basic, programming tells a computer what to do.
  • 8.
    How does computerprogramming work? • First, a programmer writes code—a set of letters, numbers, and other characters. • Next, a compiler converts each line of code into a language a computer can understand. • Then, the computer scans the code and executes it, thereby performing a task or series of tasks. • Tasks might include displaying an image on a webpage or changing the font of a section of text.
  • 9.
  • 10.
    Why programming is important? Computer programmingis one of the most important aspects of modern life.
  • 11.
    Why programming is important? In today’ssociety, knowing how to computer program is one of the most valuable skills somebody can possess. It is an essential tool that enables us to communicate with computers and complete tasks.
  • 12.
    Why programming is important? Computer programming isa highly sought-after skill in an increasingly technological world.
  • 13.
  • 14.
  • 15.
    Program a program isa set of instructions for a computer, telling is what to do or how to behave.
  • 16.
  • 17.
    Programmer A programmer isa person who create, develop and write a program
  • 18.
    Who can bea Programmer? Anyone who have knowledge in programming.
  • 19.
  • 20.
    Programming Language a system ofsigns used by a person to communicate a task/algorithm to a computer, causing the task to be performed.
  • 21.
    Programming Language Programming language is moreof a set of commands that is formulated by the user and executed by the computer.
  • 22.
    Fact! A program iscreated using different programming languages.
  • 23.
    Programming Cycle Problem Definition ProblemAnalyses Algorithm Development Coding and debugging
  • 24.
  • 25.
    Problem Analysis Breaking downthe problem into smaller sub problems. • What programming language should I use? • Do I need other hardware or software?
  • 26.
    Algorithm Development Strategy onhow to do the task? May be expressed in:  Human Language  Graphical Representation (Flowchart)  Pseudocode
  • 27.
    Coding and Debugging Theprocess of removing errors
  • 28.
  • 29.
    KEY ASPECT OFCOMPUTER PROGRAMMING Computer programming involves several key aspects that collectively define how software is developed, maintained, and executed.
  • 30.
    KEY ASPECT OFCOMPUTER PROGRAMMING Algorithms are step-by- step procedures or formulas for solving problems. 1. Algorithms and Problem Solving
  • 31.
    KEY ASPECT OFCOMPUTER PROGRAMMING Data structures are ways of organizing and storing data to enable efficient access and modification. 2. Data Structures
  • 32.
    KEY ASPECT OFCOMPUTER PROGRAMMING Programming paradigms are approaches to organizing and structuring code 3. Programming Paradigms
  • 33.
    KEY ASPECT OFCOMPUTER PROGRAMMING Syntax refers to the rules that define the structure of valid statements in a programming language, while semantics refers to the meaning of those statements. 4. Syntax and Semantics
  • 34.
    KEY ASPECT OFCOMPUTER PROGRAMMING Control flow manages the order in which instructions are executed in a program. 5. Control Flow
  • 35.
    KEY ASPECT OFCOMPUTER PROGRAMMING Functions (or procedures) are blocks of code designed to perform specific tasks. 6. Functions and Procedures
  • 36.
    KEY ASPECT OFCOMPUTER PROGRAMMING Error handling involves managing and responding to runtime errors or exceptions that occur during program execution to prevent crashes and ensure graceful failure. 7. Error Handling
  • 37.
    KEY ASPECT OFCOMPUTER PROGRAMMING Debugging is the process of identifying and fixing bugs or issues in code. Testing involves writing and running tests to ensure that the software works as intended. 8. Debugging and Testing
  • 38.
    KEY ASPECT OFCOMPUTER PROGRAMMING Version control systems manage changes to source code over time, allowing multiple developers to collaborate and track revisions. 9. Version Control
  • 39.
    KEY ASPECT OFCOMPUTER PROGRAMMING Documentation includes comments, user guides, and technical references that explain how the code works and how to use it. 10. Documentation
  • 40.
    KEY ASPECT OFCOMPUTER PROGRAMMING Code efficiency involves writing programs that use resources (time, memory) effectively. Optimization improves performance and reduces resource usage. 11. Code Efficiency and Optimization
  • 41.
    KEY ASPECT OFCOMPUTER PROGRAMMING Software design and architecture involve planning and structuring software systems to ensure they are scalable, maintainable, and meet requirements. 12. Software Design and Architecture
  • 42.
    KEY ASPECT OFCOMPUTER PROGRAMMING Concurrency and parallelism involve managing multiple tasks or processes simultaneously to improve performance and responsiveness. 13. Concurrency and Parallelism
  • 43.
    KEY ASPECT OFCOMPUTER PROGRAMMING Security involves protecting software from vulnerabilities and threats that could compromise data integrity, confidentiality, and availability. 13. Security
  • 44.

Editor's Notes

  • #4  You can think of programming as a collaboration between humans and computers, in which humans create instructions for a computer to follow (code) in a language computers can understand. 
  • #5  You can think of programming as a collaboration between humans and computers, in which humans create instructions for a computer to follow (code) in a language computers can understand.