Programming Logic Foundation Flashcards
process of creating a set of instructions that tell a computer how to perform a task
Programming
can be done using a variety of computer
programming languages, such as Java, Python, and
C++.
Programming
a process or set of rules to
be followed in calculations or other problem-solving
operations
Algorithm
set of rules/instructions that step-by-step
define how a work is to be executed upon in order to
get the expected results.
Algorithm
How to design Algorithm?
- The problem that is to be solved by this algorithm.
- The constraints of the problem that must be considered while
solving the problem. - The input to be taken to solve the problem.
- The output to be expected when the problem the is solved.
- The solution to this problem, in the given constraints.
detailed yet readable description of what a computer
program or algorithm must do
Pseudocode
expressed in a formally-
styled natural language rather than in a programming
language.
Pseudocode
sometimes used as a detailed step in
the process of developing a program.
Pseudocode
a graphical representation of steps.
Flowchart
shows steps in sequential order and is widely used in
presenting the flow of algorithms, workflow or processes.
Flowchart
shows the steps as boxes of various
kinds, and their order by connecting them with arrows.
Flowchart
what is the symbol and name that is used at the beginning and end of the algorithm to show start and end of the program.
Oblong, Start/Stop
what is the symbol and name that indicates processes like mathematical operations.
Rectangle, Process
what is the symbol and name that is used for denoting program inputs and
outputs.
Parallelogram, Input/Output
what is the symbol and name that stands for decision statements in a
program, where answer is usually Yes
or No.
Rhombus, Decision