Programming Concepts
Programming Concepts
Programming Concepts
G CONCEPTS
• Program Definition
• Algorith
• Flowchart
• Flowchart Sample
• Flowchart Problems
• Registers
TEST EXECUTION
It is the process of implementing testing on any software that
is carried out by an independent team. This is good for large
program projects.
6 STEPS OF PROGRAM
DEVELOPMENT
DEBUGGING
The process of identifying errors or bugs in a program and also
fixing the identified bugs.
FINAL DOCUMENTATION
The result of the program When the program is finished, it helps
the user how to use the program most efficiently and easily.
ALGORITHM
An algorithm is a sequence of steps that must be carried out before a programmer starts
preparing his program. The programmer designs an algorithm to help visualize possible
alternatives in a program also. Algorithms work by breaking down complex problems into
smaller, more manageable steps and providing a systematic approach to solving them. By
following a structured design process and implementing the algorithm correctly, it's possible to
create efficient and reliable solutions to a wide range of problems in programming and beyond.
4. Combine Slices:
Place the slice of bread with peanut butter on top,
creating a sandwich.
5. Cut and Serve (Optional):
If desired, cut the sandwich diagonally or into halves. Serve
the sandwich on a plate or wrap it for later consumption.
FLOWCHART
Terminator
Used to represent the start and in the end of the program with the keyboards BEGIN and END.
Process
An instruction that is carried by the program
Arrow
Indicates the algorithm pathways
Decision
Used to split the flowchart sequences into multiple path in order to represent selection and repetition.
Input/Output
Used to represent the data entry by a user or the display of data by the program.
Subprogram
References another program within the program
Manual Input Symbol
Represents a step where a user is prompted to enter information manually.
Guidlines for preparing a
Flowchart
• Step 1:
The Start block is always first.
• Step 2:
The program begins with number 1.
• Step 3:
The number 2 will be added to 1 so that the
program will continue to count by odd numbers.
• Step 4:
Add a decision block so that the program will
continue counting until the value is greater than 9.
• Step 5:
Once the number is greater than 9, the program
ends.
Flowchart Problem And Sample
Q1. Add 10 and 20 To solve this problem we will take a
variable sum and set it to zero. Then we will take the
two numbers 10 and 20 as input. Next we will add both
the numbers and save the result in the variable sum i.e.,
sum = 10 + 20. Finally, we will print the value stored in
the variable sum.