SlideShare a Scribd company logo
1 of 25
Chapter 14 :
PROGRAMMING
AND LANGUAGES

Iostreamteam
PROGRAMS AND PROGRAMMING
What is a program?
●

A list of instructions for the computer to follow to
accomplish a task of processing data into
information.

What is programming?
●

●

Also known as software development / software
development life cycle(SDLC)

A six step procedure for creating that a list of instructions
The six steps are as follows:
STEP 1 : PROGRAM SPECIFICATION
●

Also called program definition or program analysis
●

Requires: programmer and end user
●

Five tasks:

1- Program objectives : the first task is to clearly define the problem to
solve in the form of program objectives.
2-Desired output : focus on the desired output before considering the
required inputs.

3-Input data : once outputs are defined ,determine the necessary input
data and the source of the data.
4-Processing requirements : determine the steps necessary
(processing requirements) to use input to produce output.
5-Program specifications document : to record this step’s program
objectives ,outputs, inputs and processing requirements.
STEP 2 : PROGRAM
DESIGN
●

●

Plan a solution using structured
programming technique
These techniques consist:

1) Top down program design
●

●

●

●

To identify the program's processing
steps
Such steps are called program
modules
Each module are made up of logically
related program statements
Example time and biling report
2)Pseudocode
An outline of the logic of the program
you will write
It is like doing summary of the program
before it is written

3)Flowcharts
These graphically present the detail sequence
of steps needed to solve a programming
problem
Logic Structures
●

●

●

The best way to link the various part of the flowcharts is by
combines three logic structures called concatenation
,selection and repetition.

In the concatenation structures-one program statements
follow another. There is no question of “yes” or “no” of the
decision suggesting other consequences.
The selection structures(IF-THEN-ELSE)- occurs when a
decision must be made.
●

●

●

The repetition or loop structures describe a process that
may be repeated as long as a certain condition remains
true

The structures is called “loop” or “iteration” because the
program loops around again and again

The repetition structures has two variation DO UNTIL
and DO WHILE
LOGIC STRUCTURES
STEP 3 : PROGRAM CODE
●

Writing the program is called CODING
ASPECTS OF WRITING A PROGRAM
1)GOOD PROGRAMS
●

●

Good programs are reliable ,detect obvious and common
errors and are well documented.

The best way to create good programs is to write
structured programs using the three basic logic structures
presented in steps 2.
2)CODING
There are hundreds of different programming languages.
Two types are:

●

●

Content mark-up language-instruct a computer how to
process different types types of information. Example
HTML used to create web pages.

Programming language-instruct a computer to perform
specific operations. C++ is widely used programming
language.
STEP 4 : PROGRAM TEST
●

●

Debugging is a process of testing and
eliminating errors in a program
Syntax and logic are two types of
programming errors.
SYNTAX ERROR

●

A violation of the rules of the programming language

●

Example in C++, each statement must end with a semicolon(;)

LOGIC ERROR
●

●

Occur when the programmer uses an incorrect calculation or
leaves out a programming procedures

Example, failure to include calculation of overtime hours in a
payroll program in a logic error
TESTING PROCESS
Five methods for testing for syntax and logic error are
●

●

●

●

●

1)Desk checking(code review):careful reading of a printout of the program.

2)Manual testing :using a calculator and sample data to test for correct
programming logic.

3)Attempt a translation: running the program using a translator program to
identify syntax errors.

4)Testing sample data: running the program and testing the program for
logic errors using sample data.

5) Testing by users (beta testing): final step in which potential users try the
program and provide feedback.
STEP 5: PROGRAM DOCUMENTATION
●

●

Documentation consist of written description
and procedures about a program and how to
use it
Program documentation is carried on
throughout all the programming steps
People who use documentation
include:
Users
●

who need to know how to use the program

●

some organizations offer training courses

●

other expect users to learn from written documentation

Operators
●

who need to know how to execute the program and how to recognize
and correct errors

Programmers
●

●

who may need to update and maintain the program in the future
documentation could include text and program flowchart ,program
listings and sample outputs
STEP 6 : PROGRAM MAINTENANCE
●

Design to ensure that the program operates correctly, efficiently and
effectively

●

Two categories of maintenance activities are the following

●

1) Operations
-include locating and correcting errors, improving usability and
standardizing software.

2)Changing needs
-organizations change over time and their programs must change
with them
starts with core program functionality, then
expands until the customer is satisfied with the results.
-AGILE DEVELOPMENT
CASE and OOP
CASE
●

Computer-aided software engineering(CASE) tools provide
automation and assistance in program design ,coding and
testing.

OOP
●

●

●

●

Traditional systems development focuses on procedure to
complete a specific objective.
Object-oriented software development focuses less on
procedures and more on defining relationships between
previously defined procedures or objects.
Object-oriented programming (OOP)- a process by which a
program is divided into modules called objects
Each object contains both the data and processing operations
necessary to perform a task.
GENERATIONS
OF
PROGRAMMING
LANGUAGES
 Programming languages have
levels or generations ranging
from low to high.

1.Lower-level languages are
closer to the 0s and 1s
language of computers.
2.Higher-level languages are
closer to the languages of
human.
Generation

Sample statement

First :
Machine languages

111100100111001111001111111

Second:
Assembly languages

ADD 210(8,13),02B(4,7)

Third:
High-level procedural languages

If (score> = 90)grade = ‘A’;

Fourth:
Task-oriented languages

SELECT client FROM dailyLog WHERE
serviceEnd > 17

Fifth:
Problems and constraints languages

Get patientDiagnosis from
patientSymptoms “sneezing”, “coughing”,
“aching”
CARRIERS IN
IT
 Computer programmers create, test, and

troubleshoot programs.
 They also update and repair existing programs
 Requirements include a bachelor’s or specialized

two-year degree in computer science or
information systems.
 Salary range is $51,500 to $88,000
programming and languages (chapter 14)

More Related Content

What's hot

Algorithms Lecture 1: Introduction to Algorithms
Algorithms Lecture 1: Introduction to AlgorithmsAlgorithms Lecture 1: Introduction to Algorithms
Algorithms Lecture 1: Introduction to AlgorithmsMohamed Loey
 
Algorithm and pseudo codes
Algorithm and pseudo codesAlgorithm and pseudo codes
Algorithm and pseudo codeshermiraguilar
 
Breadth first search and depth first search
Breadth first search and  depth first searchBreadth first search and  depth first search
Breadth first search and depth first searchHossain Md Shakhawat
 
03 algorithm properties
03 algorithm properties03 algorithm properties
03 algorithm propertiesLincoln School
 
BCA_Semester-II-Discrete Mathematics_unit-iii_Lattices and boolean algebra
BCA_Semester-II-Discrete Mathematics_unit-iii_Lattices and boolean algebraBCA_Semester-II-Discrete Mathematics_unit-iii_Lattices and boolean algebra
BCA_Semester-II-Discrete Mathematics_unit-iii_Lattices and boolean algebraRai University
 
Introduction TO Finite Automata
Introduction TO Finite AutomataIntroduction TO Finite Automata
Introduction TO Finite AutomataRatnakar Mikkili
 
Algorithm analysis in fundamentals of data structure
Algorithm analysis in fundamentals of data structureAlgorithm analysis in fundamentals of data structure
Algorithm analysis in fundamentals of data structureVrushali Dhanokar
 

What's hot (20)

Control structure in c
Control structure in cControl structure in c
Control structure in c
 
Algorithms Lecture 1: Introduction to Algorithms
Algorithms Lecture 1: Introduction to AlgorithmsAlgorithms Lecture 1: Introduction to Algorithms
Algorithms Lecture 1: Introduction to Algorithms
 
Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Introduction to C Programming
 
Complexity theory
Complexity theory Complexity theory
Complexity theory
 
Introduction to problem solving in C
Introduction to problem solving in CIntroduction to problem solving in C
Introduction to problem solving in C
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
Chapter 12 ds
Chapter 12 dsChapter 12 ds
Chapter 12 ds
 
Algorithm and pseudo codes
Algorithm and pseudo codesAlgorithm and pseudo codes
Algorithm and pseudo codes
 
Breadth first search and depth first search
Breadth first search and  depth first searchBreadth first search and  depth first search
Breadth first search and depth first search
 
Computer arithmetic
Computer arithmeticComputer arithmetic
Computer arithmetic
 
Asymptotic notation
Asymptotic notationAsymptotic notation
Asymptotic notation
 
CONDITIONAL STATEMENT IN C LANGUAGE
CONDITIONAL STATEMENT IN C LANGUAGECONDITIONAL STATEMENT IN C LANGUAGE
CONDITIONAL STATEMENT IN C LANGUAGE
 
Control statements
Control statementsControl statements
Control statements
 
03 algorithm properties
03 algorithm properties03 algorithm properties
03 algorithm properties
 
BCA_Semester-II-Discrete Mathematics_unit-iii_Lattices and boolean algebra
BCA_Semester-II-Discrete Mathematics_unit-iii_Lattices and boolean algebraBCA_Semester-II-Discrete Mathematics_unit-iii_Lattices and boolean algebra
BCA_Semester-II-Discrete Mathematics_unit-iii_Lattices and boolean algebra
 
Introduction TO Finite Automata
Introduction TO Finite AutomataIntroduction TO Finite Automata
Introduction TO Finite Automata
 
Control Statement programming
Control Statement programmingControl Statement programming
Control Statement programming
 
Approximation Algorithms
Approximation AlgorithmsApproximation Algorithms
Approximation Algorithms
 
Assembly Language
Assembly LanguageAssembly Language
Assembly Language
 
Algorithm analysis in fundamentals of data structure
Algorithm analysis in fundamentals of data structureAlgorithm analysis in fundamentals of data structure
Algorithm analysis in fundamentals of data structure
 

Similar to programming and languages (chapter 14)

Similar to programming and languages (chapter 14) (20)

Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
 
Uc13.chapter.13
Uc13.chapter.13Uc13.chapter.13
Uc13.chapter.13
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptxCOMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
 
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptxCOMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
 
COM1407: Structured Program Development
COM1407: Structured Program Development COM1407: Structured Program Development
COM1407: Structured Program Development
 
Programming_Lecture_1.pptx
Programming_Lecture_1.pptxProgramming_Lecture_1.pptx
Programming_Lecture_1.pptx
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software Engineering
 
Notacd08
Notacd08Notacd08
Notacd08
 
Software Development presentation basic only
Software Development presentation basic onlySoftware Development presentation basic only
Software Development presentation basic only
 
Overview of c++
Overview of c++Overview of c++
Overview of c++
 
Programming part2
Programming part2Programming part2
Programming part2
 
Coding - SDLC Model
Coding - SDLC ModelCoding - SDLC Model
Coding - SDLC Model
 
Notacd081
Notacd081Notacd081
Notacd081
 
Computer programing 111 lecture 2
Computer programing 111 lecture 2Computer programing 111 lecture 2
Computer programing 111 lecture 2
 
Cp 111 lecture 2
Cp 111 lecture 2Cp 111 lecture 2
Cp 111 lecture 2
 
Software development slides
Software development slidesSoftware development slides
Software development slides
 
Week10 final
Week10 finalWeek10 final
Week10 final
 
Rishi
RishiRishi
Rishi
 
Rishi
RishiRishi
Rishi
 

Recently uploaded

Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
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...christianmathematics
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
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 ClassesCeline George
 

Recently uploaded (20)

Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
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...
 
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
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
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
 

programming and languages (chapter 14)

  • 1. Chapter 14 : PROGRAMMING AND LANGUAGES Iostreamteam
  • 2. PROGRAMS AND PROGRAMMING What is a program? ● A list of instructions for the computer to follow to accomplish a task of processing data into information. What is programming? ● ● Also known as software development / software development life cycle(SDLC) A six step procedure for creating that a list of instructions
  • 3. The six steps are as follows:
  • 4. STEP 1 : PROGRAM SPECIFICATION ● Also called program definition or program analysis ● Requires: programmer and end user ● Five tasks: 1- Program objectives : the first task is to clearly define the problem to solve in the form of program objectives. 2-Desired output : focus on the desired output before considering the required inputs. 3-Input data : once outputs are defined ,determine the necessary input data and the source of the data. 4-Processing requirements : determine the steps necessary (processing requirements) to use input to produce output. 5-Program specifications document : to record this step’s program objectives ,outputs, inputs and processing requirements.
  • 5. STEP 2 : PROGRAM DESIGN ● ● Plan a solution using structured programming technique These techniques consist: 1) Top down program design ● ● ● ● To identify the program's processing steps Such steps are called program modules Each module are made up of logically related program statements Example time and biling report
  • 6. 2)Pseudocode An outline of the logic of the program you will write It is like doing summary of the program before it is written 3)Flowcharts These graphically present the detail sequence of steps needed to solve a programming problem
  • 7. Logic Structures ● ● ● The best way to link the various part of the flowcharts is by combines three logic structures called concatenation ,selection and repetition. In the concatenation structures-one program statements follow another. There is no question of “yes” or “no” of the decision suggesting other consequences. The selection structures(IF-THEN-ELSE)- occurs when a decision must be made.
  • 8. ● ● ● The repetition or loop structures describe a process that may be repeated as long as a certain condition remains true The structures is called “loop” or “iteration” because the program loops around again and again The repetition structures has two variation DO UNTIL and DO WHILE
  • 10. STEP 3 : PROGRAM CODE ● Writing the program is called CODING
  • 11. ASPECTS OF WRITING A PROGRAM 1)GOOD PROGRAMS ● ● Good programs are reliable ,detect obvious and common errors and are well documented. The best way to create good programs is to write structured programs using the three basic logic structures presented in steps 2.
  • 12. 2)CODING There are hundreds of different programming languages. Two types are: ● ● Content mark-up language-instruct a computer how to process different types types of information. Example HTML used to create web pages. Programming language-instruct a computer to perform specific operations. C++ is widely used programming language.
  • 13. STEP 4 : PROGRAM TEST ● ● Debugging is a process of testing and eliminating errors in a program Syntax and logic are two types of programming errors.
  • 14. SYNTAX ERROR ● A violation of the rules of the programming language ● Example in C++, each statement must end with a semicolon(;) LOGIC ERROR ● ● Occur when the programmer uses an incorrect calculation or leaves out a programming procedures Example, failure to include calculation of overtime hours in a payroll program in a logic error
  • 15. TESTING PROCESS Five methods for testing for syntax and logic error are ● ● ● ● ● 1)Desk checking(code review):careful reading of a printout of the program. 2)Manual testing :using a calculator and sample data to test for correct programming logic. 3)Attempt a translation: running the program using a translator program to identify syntax errors. 4)Testing sample data: running the program and testing the program for logic errors using sample data. 5) Testing by users (beta testing): final step in which potential users try the program and provide feedback.
  • 16. STEP 5: PROGRAM DOCUMENTATION ● ● Documentation consist of written description and procedures about a program and how to use it Program documentation is carried on throughout all the programming steps
  • 17. People who use documentation include: Users ● who need to know how to use the program ● some organizations offer training courses ● other expect users to learn from written documentation Operators ● who need to know how to execute the program and how to recognize and correct errors Programmers ● ● who may need to update and maintain the program in the future documentation could include text and program flowchart ,program listings and sample outputs
  • 18. STEP 6 : PROGRAM MAINTENANCE ● Design to ensure that the program operates correctly, efficiently and effectively ● Two categories of maintenance activities are the following ● 1) Operations -include locating and correcting errors, improving usability and standardizing software. 2)Changing needs -organizations change over time and their programs must change with them starts with core program functionality, then expands until the customer is satisfied with the results. -AGILE DEVELOPMENT
  • 19. CASE and OOP CASE ● Computer-aided software engineering(CASE) tools provide automation and assistance in program design ,coding and testing. OOP ● ● ● ● Traditional systems development focuses on procedure to complete a specific objective. Object-oriented software development focuses less on procedures and more on defining relationships between previously defined procedures or objects. Object-oriented programming (OOP)- a process by which a program is divided into modules called objects Each object contains both the data and processing operations necessary to perform a task.
  • 21.  Programming languages have levels or generations ranging from low to high. 1.Lower-level languages are closer to the 0s and 1s language of computers. 2.Higher-level languages are closer to the languages of human.
  • 22. Generation Sample statement First : Machine languages 111100100111001111001111111 Second: Assembly languages ADD 210(8,13),02B(4,7) Third: High-level procedural languages If (score> = 90)grade = ‘A’; Fourth: Task-oriented languages SELECT client FROM dailyLog WHERE serviceEnd > 17 Fifth: Problems and constraints languages Get patientDiagnosis from patientSymptoms “sneezing”, “coughing”, “aching”
  • 24.  Computer programmers create, test, and troubleshoot programs.  They also update and repair existing programs  Requirements include a bachelor’s or specialized two-year degree in computer science or information systems.  Salary range is $51,500 to $88,000