SlideShare a Scribd company logo
1 of 68
Page 1
CHAPTER 9
(Computer Programming)
Page 2
PROGRAMMING
• Programming or coding is
the process of designing,
writing, testing, debugging
/ troubleshooting, and
maintaining the source code
of computer programs.
• This source code is written
in a programming language.
The code may be a
modification of an existing
source or something
completely new.
Page 3
PURPOSE OF PROGRAMMING
• The purpose of programming is to create a
program that exhibits a certain desired
behaviour (customization).
• The process of writing source code often
requires expertise in many different subjects,
including knowledge of the application
domain, specialized algorithms and
formal logic.
Page 4
QUALITY
REQUIREMENTS
Page 5
QUALITY REQUIREMENTS
• Whatever the approach to software
development may be, the final
program must satisfy some
fundamental properties.
• The following properties are among
the most relevant:
Page 6
EFFICIENCY / PERFORMANCE
• Is 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 correct disposal of
some resources, such as cleaning up
temporary files and lack of memory leaks
.
Page 7
RELIABILITY
• Is 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).
Page 8
ROBUSTNESS
• Is how well a program anticipates
problems not due to programmer error.
• This includes situations such as incorrect,
inappropriate or corrupt data,
unavailability of needed resources such as
memory, operating system services and
network connections, and user error.
Page 9
USABILITY
• Is 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.
Page 10
PORTABILITY
• Is 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.
Page 11
MAINTAINABILITY
• Is 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.
Page 12
METHODOLOGIES
IN
PROGRAMMING
Page 13
DEBUGGING
• Debugging is a
very important
task in the
software
development
process, because
an incorrect
program can
have significant
consequences for
its users.
Page 14
CONTINUATION:
• Some languages are more prone to some
kinds of faults because their specification
does not require compilers to perform as
much checking as other languages.
• Use of a static analysis tool can help detect
some possible problems
• Debugging often provide less of a visual
environment, usually using a command line.
Page 15
PROGRAMMING LANGUAGES
• Different
programming
languages support
different styles of
programming
(called
programming paradigms
).
Page 16
• 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.
CONTINUATION:
Page 17
BASIC SYNTAX IN
PROGRAMMING
LANGUAGES
Page 18
INPUT
• Means - Get data
from the
keyboard, a file,
or some other
device.
Page 19
OUTPUT
• Means - Display
data on the
screen or send
data to a file
or other
device.
Page 20
ARITHMETIC
• Means - Perform
basic
arithmetical
operations like
addition and
multiplication.
• Also known as
COMPUTER
ALGORITHM
Page 21
CONDITIONAL EXECUTION
• Means - Check
for certain
conditions and
execute the
appropriate
sequence of
statements.
• By using the
flow chart
Page 22
REPETITION
• Means - Perform
some action
repeatedly,
usually with
some variation.
Page 23
THE ALGORITHM
FLOW CHART
Page 24
FLOW CHART
• Is a type of diagram,
that represents an
algorithm or process
, showing the steps
as boxes of various
kinds, and their
order by connecting
these with arrows.
Page 25
FLOW CHART
• This diagrammatic representation can give a
step-by-step solution to a given problem.
• Data is represented in these boxes, and
arrows connecting them represent flow /
direction of flow of data.
• Flowcharts are used in analyzing, designing,
documenting or managing a process or
program in various fields
Page 26
4 GENERAL TYPES FLOW CHART
• Document flowcharts, showing controls over
a document-flow through a system
• Data flowcharts, showing controls over a
data flows in a system
• System flowcharts showing controls at a
physical or resource level
• Program flowchart, showing the controls in a
program within a system
Page 27
FLOW CHART SYMBOLS
The Basic Types of Flow Chart Symbols
• Start and End Symbols
• Arrows
• Processing Steps
• Input / Output
• Conditional or Decision
Page 28
START AND END SYMBOLS
• Is represented as
circles, ovals or
rounded rectangles,
usually containing the
word "Start" or "End",
or another phrase
signaling the start or
end of a process, such
as "submit enquiry" or
"receive product"
END
STARTSTART
Page 29
ARROW SYMBOLS
• Is showing what's
called "flow of control"
in computer science.
• An arrow coming from
one symbol and ending
at another symbol
represents that control
passes to the symbol
the arrow points to.
FLOW
OF
DIRECTION
Page 30
PROCESSING SYMBOLS / STEPS
• Is Represented as
rectangles.
• It also represents
any process,
function, or action
and is the most
frequently used
symbol in
flowcharting
DO SOMETHING
Page 31
INPUT AND OUTPUT SYMBOLS
• Is represented as a
parallelogram to
display the Input
and Output in
program.
INPUT
OUTPUT
Page 32
CONDITIONAL OR DECISION SYMBOL
• Is represented as a
diamond (rhombus).
• These typically
contain a Yes/No
question or
True/False test.
• This symbol is
unique in that it has
two arrows coming
out of it,
DECISION
Page 33
CONDITIONAL OR DECISION SYMBOL
• usually from the bottom point and right
point, one corresponding to Yes or True, and
one corresponding to No or False. The
arrows should always be labeled.
• A decision is necessary in a flowchart. More
than two arrows can be used, but this is
normally a clear indicator that a complex
decision is being taken, in which case it may
need to be broken-down further, or
replaced with the "pre-defined process"
symbol.
Page 34
CONNECTOR SYMBOL
• Is represented as
circle.
• To rejoin or attach
the arrow symbol for
the flow of direction
CONNECT
Page 35
EXAMPLE OF FLOWCHART PROCESS
STARTSTART
MIX THE INGREDIENTS
HOME
CONSUMPTION
ONLY
PACKAGING,
CARTONING/PALLETIZING
KNEADING, PROOFING ,
BAKING
ORDER?
STOPSTOP
Yes
No
SHIPPING / DELIVER
THE PRODUCT
Page 36
TURBO C
PROGRAMMING
Page 37
TURBO C PROGRAMMING
• Turbo Basic is a
BASIC compiler and
dialect originally
created by Robert
"Bob" Zale and
bought from him
by Borland.
Page 38
TURBO C PROGRAMMING
• This software is
from the 1987-
1988 period and
features the
Borland "black
screen" similar to
Turbo Pascal 4.0,
Turbo C 1.0/1.5,
and Turbo Prolog
1.1.
Page 39
CONTINUATION
• Borland did not adopt its trademark "blue
screen" integrated development
environment until the 1989 period when
Turbo C 2.0, Turbo C++ 1.1, etc. were
released. By this time, Turbo Basic and
Turbo Prolog were no longer being sold.
• Unlike most BASIC implementations of this
period, Turbo Basic was a full compiler
which generated native code for MS-DOS.
Page 40
TURBO C PROGRAM
SYNTAX
Page 41
• Basic command list
 #INCLUDE <STDIO.H> = Standard Input / Output
 { } = Cover of programs (start and Ends)
 ; = command function at the end of message
 CLRSCR ();
 PRINTF = display message ( INPUT QUESTIONS)
 IF = (Conditional commands)
 END IF / ELSE IF = (Conditional commands)
 SCANF = scanning of output response
 DO = process
 INPUT = process
 // Display = output response after the process
 LOOP = go back to previous
 NEXT = proceed to next process
 GO TO = proceed to specific input / command
 GETCH (); = End of program
Page 42
• EXAMPLE: TURBO C PROGRAM
#INCLUDE <STDIO.H>
MAIN
{
  CLRSCR ();
PRINTF ("Hit any key to continue: ");
// Wait for a key press, flashing the message
// “Welcome to Marianne’s Baking Business“; on
and off once per second.
// After any key is hit, display “(Y)!" ;
  // After any key is hit, display “(N)!" ;
INPUT “Y / N”;
SCANF (“Where Y = Yes, Where N = No");
Page 43
IF (N);
LOOP
PRINTF "Goodbye ";
IF (Y);
// Display “First Step: Mixing of Ingredients!" ;
DO
INPUT “Mixing of Ingredients";
// Display “Image of End Product" ;
NEXT 2
INPUT “Y / N”;
SCANF (“Where Y = Yes, Where N = No");
IF (N);
LOOP
PRINTF "Goodbye ";
Page 44
IF (Y);
// Display “Second Step: Kneading, Proofing and
Baking!" ;
DO
INPUT “Kneading, Proofing and Baking Process";
// Display “Image of End Product" ;
NEXT 3
INPUT “Y / N”;
SCANF (“Where Y = Yes, Where N = No");
IF (N);
LOOP
PRINTF "Goodbye ";
IF (Y);
// Display “Third Step: Packaging, Cartoning and
Palletizing!" ;
Page 45
DO
INPUT “Packaging, Cartoning and Palletizing Process";
// Display “Image of End Product" ;
NEXT 4
INPUT “Y / N”;
SCANF (“Where Y = Yes, Where N = No");
IF (N);
LOOP
PRINTF "Goodbye ";
IF (Y);
// Display “Is there any order?";
NEXT 5
INPUT “Y / N”;
SCANF (“Where Y = Yes, Where N = No");
Page 46
END IF (N);
// Display “For Home consumption only!";
PRINTF “Thank You for visiting our website!";
END IF (Y);
GO TO
// Display “Ready for Shipment and Delivery!";
DO
INPUT “Shipping and Delivering of Product!";
// Display “Image of Delivering Process" ;
PRINTF “Thank You for visiting our website!";
GETCH ();
}
Page 47
THE
PROGRAM
Page 48
PRESS ANY KEY TO CONTINUE
Y N
Page 49
Page 50
Page 51
Page 52
INGREDIENTS
Page 53
MIXING OF INGREDIENTS
Page 54
Page 55
Page 56
KNEADING
Page 57
PROOFING
Page 58
BAKING
Page 59
Page 60
Page 61
PACKAGING, CARTONING AND
PALLETIZING
Page 62
Page 63
Page 64
Page 65
Page 66
Page 67
SHIPPING AND DELIVERING
Page 68

More Related Content

What's hot

Programming process and flowchart
Programming process and flowchartProgramming process and flowchart
Programming process and flowcharthermiraguilar
 
C program execution and algorithm
C program execution and algorithm C program execution and algorithm
C program execution and algorithm Kunal Pandhram
 
Problem Solving Techniques and Introduction to C
Problem Solving Techniques and Introduction to CProblem Solving Techniques and Introduction to C
Problem Solving Techniques and Introduction to CPrabu U
 
Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer   Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer Ashim Lamichhane
 
Principles of programming
Principles of programmingPrinciples of programming
Principles of programmingRob Paok
 
Guerrero rullan ppt
Guerrero rullan pptGuerrero rullan ppt
Guerrero rullan pptgeorge1616
 
Mcs lec2
Mcs lec2Mcs lec2
Mcs lec2Faiza Gull
 
C++ ppt
C++ pptC++ ppt
C++ pptparpan34
 
INTRODUCTION TO C++, Chapter 1
INTRODUCTION TO C++, Chapter 1INTRODUCTION TO C++, Chapter 1
INTRODUCTION TO C++, Chapter 1Mubarek Kurt
 
Pe 6441 advanced manufacturing lab ch4 wks 12 14
Pe  6441 advanced manufacturing lab ch4 wks 12 14Pe  6441 advanced manufacturing lab ch4 wks 12 14
Pe 6441 advanced manufacturing lab ch4 wks 12 14Charlton Inao
 
Problem solving (C++ Programming)
Problem solving (C++ Programming)Problem solving (C++ Programming)
Problem solving (C++ Programming)Umair Younas
 
Lecture2 1 types of programming languages
Lecture2 1 types of programming languagesLecture2 1 types of programming languages
Lecture2 1 types of programming languagesYog Maya
 
EVOLUTION OF SYSTEM
EVOLUTION OF SYSTEM EVOLUTION OF SYSTEM
EVOLUTION OF SYSTEM Sahil Garg
 
Program design and problem solving techniques
Program design and problem solving techniquesProgram design and problem solving techniques
Program design and problem solving techniquesDokka Srinivasu
 
Program logic and design
Program logic and designProgram logic and design
Program logic and designChaffey College
 
Algorithms and flow charts
Algorithms and flow chartsAlgorithms and flow charts
Algorithms and flow chartsChinnu Edwin
 
Comp102 lec 1
Comp102   lec 1Comp102   lec 1
Comp102 lec 1Fraz Bakhsh
 

What's hot (20)

Programming process and flowchart
Programming process and flowchartProgramming process and flowchart
Programming process and flowchart
 
C program execution and algorithm
C program execution and algorithm C program execution and algorithm
C program execution and algorithm
 
Problem Solving Techniques and Introduction to C
Problem Solving Techniques and Introduction to CProblem Solving Techniques and Introduction to C
Problem Solving Techniques and Introduction to C
 
Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer   Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer
 
Principles of programming
Principles of programmingPrinciples of programming
Principles of programming
 
Guerrero rullan ppt
Guerrero rullan pptGuerrero rullan ppt
Guerrero rullan ppt
 
Mcs lec2
Mcs lec2Mcs lec2
Mcs lec2
 
Unit 2
Unit 2Unit 2
Unit 2
 
C++ ppt
C++ pptC++ ppt
C++ ppt
 
INTRODUCTION TO C++, Chapter 1
INTRODUCTION TO C++, Chapter 1INTRODUCTION TO C++, Chapter 1
INTRODUCTION TO C++, Chapter 1
 
Pe 6441 advanced manufacturing lab ch4 wks 12 14
Pe  6441 advanced manufacturing lab ch4 wks 12 14Pe  6441 advanced manufacturing lab ch4 wks 12 14
Pe 6441 advanced manufacturing lab ch4 wks 12 14
 
Problem solving (C++ Programming)
Problem solving (C++ Programming)Problem solving (C++ Programming)
Problem solving (C++ Programming)
 
Lecture2 1 types of programming languages
Lecture2 1 types of programming languagesLecture2 1 types of programming languages
Lecture2 1 types of programming languages
 
EVOLUTION OF SYSTEM
EVOLUTION OF SYSTEM EVOLUTION OF SYSTEM
EVOLUTION OF SYSTEM
 
Coding
CodingCoding
Coding
 
Flowcharts
FlowchartsFlowcharts
Flowcharts
 
Program design and problem solving techniques
Program design and problem solving techniquesProgram design and problem solving techniques
Program design and problem solving techniques
 
Program logic and design
Program logic and designProgram logic and design
Program logic and design
 
Algorithms and flow charts
Algorithms and flow chartsAlgorithms and flow charts
Algorithms and flow charts
 
Comp102 lec 1
Comp102   lec 1Comp102   lec 1
Comp102 lec 1
 

Similar to COMPUTER PROGRAMMING

Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programmingSangheethaa Sukumaran
 
Programming requirements for beginning in software engineering.pptx
Programming requirements for beginning in software engineering.pptxProgramming requirements for beginning in software engineering.pptx
Programming requirements for beginning in software engineering.pptxTeddyDaka
 
Program analysis
Program analysisProgram analysis
Program analysisAarti P
 
Chapter 5( programming) answer
Chapter 5( programming) answerChapter 5( programming) answer
Chapter 5( programming) answersmkengkilili2011
 
Unit 1 program development cycle
Unit 1 program development cycleUnit 1 program development cycle
Unit 1 program development cycleDhana malar
 
Embedded programming Embedded programming (1).pptx
Embedded programming Embedded programming (1).pptxEmbedded programming Embedded programming (1).pptx
Embedded programming Embedded programming (1).pptxlematadese670
 
PCCF UNIT 1.pptx
PCCF UNIT 1.pptxPCCF UNIT 1.pptx
PCCF UNIT 1.pptxDivyaKS12
 
C programming for Computing Techniques
C programming for Computing TechniquesC programming for Computing Techniques
C programming for Computing TechniquesAppili Vamsi Krishna
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)nharsh2308
 
Pseudo code.pptx
Pseudo code.pptxPseudo code.pptx
Pseudo code.pptxChaya64047
 
Introduction to Problem Solving Techniques- Python
Introduction to Problem Solving Techniques- PythonIntroduction to Problem Solving Techniques- Python
Introduction to Problem Solving Techniques- PythonPriyankaC44
 
chapter1-161229182113 (1).pdf
chapter1-161229182113 (1).pdfchapter1-161229182113 (1).pdf
chapter1-161229182113 (1).pdfBernardVelasco1
 
Ss debuggers
Ss debuggersSs debuggers
Ss debuggerssweety enit
 
The security professional's guide to programming - Eric Vanderburg
The security professional's guide to programming - Eric VanderburgThe security professional's guide to programming - Eric Vanderburg
The security professional's guide to programming - Eric VanderburgEric Vanderburg
 
Software development slides
Software development slidesSoftware development slides
Software development slidesiarthur
 

Similar to COMPUTER PROGRAMMING (20)

Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
 
L1
L1L1
L1
 
Programming requirements for beginning in software engineering.pptx
Programming requirements for beginning in software engineering.pptxProgramming requirements for beginning in software engineering.pptx
Programming requirements for beginning in software engineering.pptx
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Program analysis
Program analysisProgram analysis
Program analysis
 
Chapter 5( programming) answer
Chapter 5( programming) answerChapter 5( programming) answer
Chapter 5( programming) answer
 
Unit 1 program development cycle
Unit 1 program development cycleUnit 1 program development cycle
Unit 1 program development cycle
 
Embedded programming Embedded programming (1).pptx
Embedded programming Embedded programming (1).pptxEmbedded programming Embedded programming (1).pptx
Embedded programming Embedded programming (1).pptx
 
PCCF UNIT 1.pptx
PCCF UNIT 1.pptxPCCF UNIT 1.pptx
PCCF UNIT 1.pptx
 
Debbuging
DebbugingDebbuging
Debbuging
 
C programming for Computing Techniques
C programming for Computing TechniquesC programming for Computing Techniques
C programming for Computing Techniques
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)
 
Pseudo code.pptx
Pseudo code.pptxPseudo code.pptx
Pseudo code.pptx
 
Introduction to Problem Solving Techniques- Python
Introduction to Problem Solving Techniques- PythonIntroduction to Problem Solving Techniques- Python
Introduction to Problem Solving Techniques- Python
 
chapter1-161229182113 (1).pdf
chapter1-161229182113 (1).pdfchapter1-161229182113 (1).pdf
chapter1-161229182113 (1).pdf
 
Ss debuggers
Ss debuggersSs debuggers
Ss debuggers
 
Chap1
Chap1Chap1
Chap1
 
The security professional's guide to programming - Eric Vanderburg
The security professional's guide to programming - Eric VanderburgThe security professional's guide to programming - Eric Vanderburg
The security professional's guide to programming - Eric Vanderburg
 
Phases of Compiler
Phases of CompilerPhases of Compiler
Phases of Compiler
 
Software development slides
Software development slidesSoftware development slides
Software development slides
 

More from Yanne Evangelista

STAFF PLANNING AND LABOR COST CONTROL
STAFF PLANNING AND LABOR COST CONTROLSTAFF PLANNING AND LABOR COST CONTROL
STAFF PLANNING AND LABOR COST CONTROLYanne Evangelista
 
REVENUE AND CASH HANDLING CONTROL
REVENUE AND CASH HANDLING CONTROLREVENUE AND CASH HANDLING CONTROL
REVENUE AND CASH HANDLING CONTROLYanne Evangelista
 
INVENTORY CONTROL POLICIES
INVENTORY CONTROL POLICIESINVENTORY CONTROL POLICIES
INVENTORY CONTROL POLICIESYanne Evangelista
 
STORAGE / STOREROOM CONTROL
STORAGE / STOREROOM CONTROLSTORAGE / STOREROOM CONTROL
STORAGE / STOREROOM CONTROLYanne Evangelista
 
RECEIVING CONTROL POLICIES
RECEIVING CONTROL POLICIESRECEIVING CONTROL POLICIES
RECEIVING CONTROL POLICIESYanne Evangelista
 
PURCHASING CONTROL POLICIES
PURCHASING CONTROL POLICIESPURCHASING CONTROL POLICIES
PURCHASING CONTROL POLICIESYanne Evangelista
 
EVENTS MANAGEMENT ROOM SETUP
EVENTS MANAGEMENT ROOM SETUPEVENTS MANAGEMENT ROOM SETUP
EVENTS MANAGEMENT ROOM SETUPYanne Evangelista
 
EVENT PLANNER QUALITIES AND SKILLS
EVENT PLANNER QUALITIES AND SKILLSEVENT PLANNER QUALITIES AND SKILLS
EVENT PLANNER QUALITIES AND SKILLSYanne Evangelista
 
INTRODUCTION TO COST CONTROL
INTRODUCTION TO COST CONTROLINTRODUCTION TO COST CONTROL
INTRODUCTION TO COST CONTROLYanne Evangelista
 
BARTENDING AND FLAIRTENDING
BARTENDING AND FLAIRTENDINGBARTENDING AND FLAIRTENDING
BARTENDING AND FLAIRTENDINGYanne Evangelista
 
DEVELOPMENTAL PSYCHOLOGY
DEVELOPMENTAL PSYCHOLOGYDEVELOPMENTAL PSYCHOLOGY
DEVELOPMENTAL PSYCHOLOGYYanne Evangelista
 
KITCHEN BRIGADE SYSTEM
KITCHEN BRIGADE SYSTEMKITCHEN BRIGADE SYSTEM
KITCHEN BRIGADE SYSTEMYanne Evangelista
 
PROFESSIONAL CHEF'S UNIFORM
PROFESSIONAL CHEF'S UNIFORMPROFESSIONAL CHEF'S UNIFORM
PROFESSIONAL CHEF'S UNIFORMYanne Evangelista
 
INTRODUCTION TO CULINARY
INTRODUCTION TO CULINARYINTRODUCTION TO CULINARY
INTRODUCTION TO CULINARYYanne Evangelista
 
GAMING AND CASINO MANAGEMENT
GAMING AND CASINO MANAGEMENTGAMING AND CASINO MANAGEMENT
GAMING AND CASINO MANAGEMENTYanne Evangelista
 
TOURISM PLANNING AND DEVELOPMENT
TOURISM PLANNING AND DEVELOPMENTTOURISM PLANNING AND DEVELOPMENT
TOURISM PLANNING AND DEVELOPMENTYanne Evangelista
 
CRUISE OPERATIONS MANAGEMENT
CRUISE OPERATIONS MANAGEMENTCRUISE OPERATIONS MANAGEMENT
CRUISE OPERATIONS MANAGEMENTYanne Evangelista
 

More from Yanne Evangelista (20)

STAFF PLANNING AND LABOR COST CONTROL
STAFF PLANNING AND LABOR COST CONTROLSTAFF PLANNING AND LABOR COST CONTROL
STAFF PLANNING AND LABOR COST CONTROL
 
REVENUE AND CASH HANDLING CONTROL
REVENUE AND CASH HANDLING CONTROLREVENUE AND CASH HANDLING CONTROL
REVENUE AND CASH HANDLING CONTROL
 
INVENTORY CONTROL POLICIES
INVENTORY CONTROL POLICIESINVENTORY CONTROL POLICIES
INVENTORY CONTROL POLICIES
 
ISSUANCE CONTROL
ISSUANCE CONTROLISSUANCE CONTROL
ISSUANCE CONTROL
 
STORAGE / STOREROOM CONTROL
STORAGE / STOREROOM CONTROLSTORAGE / STOREROOM CONTROL
STORAGE / STOREROOM CONTROL
 
RECEIVING CONTROL POLICIES
RECEIVING CONTROL POLICIESRECEIVING CONTROL POLICIES
RECEIVING CONTROL POLICIES
 
PURCHASING CONTROL POLICIES
PURCHASING CONTROL POLICIESPURCHASING CONTROL POLICIES
PURCHASING CONTROL POLICIES
 
EVENTS MANAGEMENT ROOM SETUP
EVENTS MANAGEMENT ROOM SETUPEVENTS MANAGEMENT ROOM SETUP
EVENTS MANAGEMENT ROOM SETUP
 
EVENT PLANNER QUALITIES AND SKILLS
EVENT PLANNER QUALITIES AND SKILLSEVENT PLANNER QUALITIES AND SKILLS
EVENT PLANNER QUALITIES AND SKILLS
 
INTRODUCTION TO COST CONTROL
INTRODUCTION TO COST CONTROLINTRODUCTION TO COST CONTROL
INTRODUCTION TO COST CONTROL
 
BARTENDING AND FLAIRTENDING
BARTENDING AND FLAIRTENDINGBARTENDING AND FLAIRTENDING
BARTENDING AND FLAIRTENDING
 
DEVELOPMENTAL PSYCHOLOGY
DEVELOPMENTAL PSYCHOLOGYDEVELOPMENTAL PSYCHOLOGY
DEVELOPMENTAL PSYCHOLOGY
 
CHILD DEVELOPMENT
CHILD DEVELOPMENTCHILD DEVELOPMENT
CHILD DEVELOPMENT
 
KITCHEN BRIGADE SYSTEM
KITCHEN BRIGADE SYSTEMKITCHEN BRIGADE SYSTEM
KITCHEN BRIGADE SYSTEM
 
PROFESSIONAL CHEF'S UNIFORM
PROFESSIONAL CHEF'S UNIFORMPROFESSIONAL CHEF'S UNIFORM
PROFESSIONAL CHEF'S UNIFORM
 
INTRODUCTION TO CULINARY
INTRODUCTION TO CULINARYINTRODUCTION TO CULINARY
INTRODUCTION TO CULINARY
 
GAMING AND CASINO MANAGEMENT
GAMING AND CASINO MANAGEMENTGAMING AND CASINO MANAGEMENT
GAMING AND CASINO MANAGEMENT
 
EVENTS MARKETING
EVENTS MARKETINGEVENTS MARKETING
EVENTS MARKETING
 
TOURISM PLANNING AND DEVELOPMENT
TOURISM PLANNING AND DEVELOPMENTTOURISM PLANNING AND DEVELOPMENT
TOURISM PLANNING AND DEVELOPMENT
 
CRUISE OPERATIONS MANAGEMENT
CRUISE OPERATIONS MANAGEMENTCRUISE OPERATIONS MANAGEMENT
CRUISE OPERATIONS MANAGEMENT
 

Recently uploaded

Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
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
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
18-04-UA_REPORT_MEDIALITERAĐĄY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAĐĄY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAĐĄY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAĐĄY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
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
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)Dr. Mazin Mohamed alkathiri
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 

Recently uploaded (20)

Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.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 🔝✔️✔️
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
18-04-UA_REPORT_MEDIALITERAĐĄY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAĐĄY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAĐĄY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAĐĄY_INDEX-DM_23-1-final-eng.pdf
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
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
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 

COMPUTER PROGRAMMING

  • 2. Page 2 PROGRAMMING • Programming or coding is the process of designing, writing, testing, debugging / troubleshooting, and maintaining the source code of computer programs. • This source code is written in a programming language. The code may be a modification of an existing source or something completely new.
  • 3. Page 3 PURPOSE OF PROGRAMMING • The purpose of programming is to create a program that exhibits a certain desired behaviour (customization). • The process of writing source code often requires expertise in many different subjects, including knowledge of the application domain, specialized algorithms and formal logic.
  • 5. Page 5 QUALITY REQUIREMENTS • Whatever the approach to software development may be, the final program must satisfy some fundamental properties. • The following properties are among the most relevant:
  • 6. Page 6 EFFICIENCY / PERFORMANCE • Is 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 correct disposal of some resources, such as cleaning up temporary files and lack of memory leaks .
  • 7. Page 7 RELIABILITY • Is 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).
  • 8. Page 8 ROBUSTNESS • Is how well a program anticipates problems not due to programmer error. • This includes situations such as incorrect, inappropriate or corrupt data, unavailability of needed resources such as memory, operating system services and network connections, and user error.
  • 9. Page 9 USABILITY • Is 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.
  • 10. Page 10 PORTABILITY • Is 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.
  • 11. Page 11 MAINTAINABILITY • Is 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.
  • 13. Page 13 DEBUGGING • Debugging is a very important task in the software development process, because an incorrect program can have significant consequences for its users.
  • 14. Page 14 CONTINUATION: • Some languages are more prone to some kinds of faults because their specification does not require compilers to perform as much checking as other languages. • Use of a static analysis tool can help detect some possible problems • Debugging often provide less of a visual environment, usually using a command line.
  • 15. Page 15 PROGRAMMING LANGUAGES • Different programming languages support different styles of programming (called programming paradigms ).
  • 16. Page 16 • 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. CONTINUATION:
  • 17. Page 17 BASIC SYNTAX IN PROGRAMMING LANGUAGES
  • 18. Page 18 INPUT • Means - Get data from the keyboard, a file, or some other device.
  • 19. Page 19 OUTPUT • Means - Display data on the screen or send data to a file or other device.
  • 20. Page 20 ARITHMETIC • Means - Perform basic arithmetical operations like addition and multiplication. • Also known as COMPUTER ALGORITHM
  • 21. Page 21 CONDITIONAL EXECUTION • Means - Check for certain conditions and execute the appropriate sequence of statements. • By using the flow chart
  • 22. Page 22 REPETITION • Means - Perform some action repeatedly, usually with some variation.
  • 24. Page 24 FLOW CHART • Is a type of diagram, that represents an algorithm or process , showing the steps as boxes of various kinds, and their order by connecting these with arrows.
  • 25. Page 25 FLOW CHART • This diagrammatic representation can give a step-by-step solution to a given problem. • Data is represented in these boxes, and arrows connecting them represent flow / direction of flow of data. • Flowcharts are used in analyzing, designing, documenting or managing a process or program in various fields
  • 26. Page 26 4 GENERAL TYPES FLOW CHART • Document flowcharts, showing controls over a document-flow through a system • Data flowcharts, showing controls over a data flows in a system • System flowcharts showing controls at a physical or resource level • Program flowchart, showing the controls in a program within a system
  • 27. Page 27 FLOW CHART SYMBOLS The Basic Types of Flow Chart Symbols • Start and End Symbols • Arrows • Processing Steps • Input / Output • Conditional or Decision
  • 28. Page 28 START AND END SYMBOLS • Is represented as circles, ovals or rounded rectangles, usually containing the word "Start" or "End", or another phrase signaling the start or end of a process, such as "submit enquiry" or "receive product" END STARTSTART
  • 29. Page 29 ARROW SYMBOLS • Is showing what's called "flow of control" in computer science. • An arrow coming from one symbol and ending at another symbol represents that control passes to the symbol the arrow points to. FLOW OF DIRECTION
  • 30. Page 30 PROCESSING SYMBOLS / STEPS • Is Represented as rectangles. • It also represents any process, function, or action and is the most frequently used symbol in flowcharting DO SOMETHING
  • 31. Page 31 INPUT AND OUTPUT SYMBOLS • Is represented as a parallelogram to display the Input and Output in program. INPUT OUTPUT
  • 32. Page 32 CONDITIONAL OR DECISION SYMBOL • Is represented as a diamond (rhombus). • These typically contain a Yes/No question or True/False test. • This symbol is unique in that it has two arrows coming out of it, DECISION
  • 33. Page 33 CONDITIONAL OR DECISION SYMBOL • usually from the bottom point and right point, one corresponding to Yes or True, and one corresponding to No or False. The arrows should always be labeled. • A decision is necessary in a flowchart. More than two arrows can be used, but this is normally a clear indicator that a complex decision is being taken, in which case it may need to be broken-down further, or replaced with the "pre-defined process" symbol.
  • 34. Page 34 CONNECTOR SYMBOL • Is represented as circle. • To rejoin or attach the arrow symbol for the flow of direction CONNECT
  • 35. Page 35 EXAMPLE OF FLOWCHART PROCESS STARTSTART MIX THE INGREDIENTS HOME CONSUMPTION ONLY PACKAGING, CARTONING/PALLETIZING KNEADING, PROOFING , BAKING ORDER? STOPSTOP Yes No SHIPPING / DELIVER THE PRODUCT
  • 37. Page 37 TURBO C PROGRAMMING • Turbo Basic is a BASIC compiler and dialect originally created by Robert "Bob" Zale and bought from him by Borland.
  • 38. Page 38 TURBO C PROGRAMMING • This software is from the 1987- 1988 period and features the Borland "black screen" similar to Turbo Pascal 4.0, Turbo C 1.0/1.5, and Turbo Prolog 1.1.
  • 39. Page 39 CONTINUATION • Borland did not adopt its trademark "blue screen" integrated development environment until the 1989 period when Turbo C 2.0, Turbo C++ 1.1, etc. were released. By this time, Turbo Basic and Turbo Prolog were no longer being sold. • Unlike most BASIC implementations of this period, Turbo Basic was a full compiler which generated native code for MS-DOS.
  • 40. Page 40 TURBO C PROGRAM SYNTAX
  • 41. Page 41 • Basic command list  #INCLUDE <STDIO.H> = Standard Input / Output  { } = Cover of programs (start and Ends)  ; = command function at the end of message  CLRSCR ();  PRINTF = display message ( INPUT QUESTIONS)  IF = (Conditional commands)  END IF / ELSE IF = (Conditional commands)  SCANF = scanning of output response  DO = process  INPUT = process  // Display = output response after the process  LOOP = go back to previous  NEXT = proceed to next process  GO TO = proceed to specific input / command  GETCH (); = End of program
  • 42. Page 42 • EXAMPLE: TURBO C PROGRAM #INCLUDE <STDIO.H> MAIN {   CLRSCR (); PRINTF ("Hit any key to continue: "); // Wait for a key press, flashing the message // “Welcome to Marianne’s Baking Business“; on and off once per second. // After any key is hit, display “(Y)!" ;   // After any key is hit, display “(N)!" ; INPUT “Y / N”; SCANF (“Where Y = Yes, Where N = No");
  • 43. Page 43 IF (N); LOOP PRINTF "Goodbye "; IF (Y); // Display “First Step: Mixing of Ingredients!" ; DO INPUT “Mixing of Ingredients"; // Display “Image of End Product" ; NEXT 2 INPUT “Y / N”; SCANF (“Where Y = Yes, Where N = No"); IF (N); LOOP PRINTF "Goodbye ";
  • 44. Page 44 IF (Y); // Display “Second Step: Kneading, Proofing and Baking!" ; DO INPUT “Kneading, Proofing and Baking Process"; // Display “Image of End Product" ; NEXT 3 INPUT “Y / N”; SCANF (“Where Y = Yes, Where N = No"); IF (N); LOOP PRINTF "Goodbye "; IF (Y); // Display “Third Step: Packaging, Cartoning and Palletizing!" ;
  • 45. Page 45 DO INPUT “Packaging, Cartoning and Palletizing Process"; // Display “Image of End Product" ; NEXT 4 INPUT “Y / N”; SCANF (“Where Y = Yes, Where N = No"); IF (N); LOOP PRINTF "Goodbye "; IF (Y); // Display “Is there any order?"; NEXT 5 INPUT “Y / N”; SCANF (“Where Y = Yes, Where N = No");
  • 46. Page 46 END IF (N); // Display “For Home consumption only!"; PRINTF “Thank You for visiting our website!"; END IF (Y); GO TO // Display “Ready for Shipment and Delivery!"; DO INPUT “Shipping and Delivering of Product!"; // Display “Image of Delivering Process" ; PRINTF “Thank You for visiting our website!"; GETCH (); }
  • 48. Page 48 PRESS ANY KEY TO CONTINUE Y N
  • 53. Page 53 MIXING OF INGREDIENTS
  • 61. Page 61 PACKAGING, CARTONING AND PALLETIZING
  • 67. Page 67 SHIPPING AND DELIVERING