Programming Theory

1. What is a flow chart? What parts do you have?

A flowchart is a diagram that depicts a process, system or computer algorithm. They are widely used in multiple fields to document, study, plan, improve and communicate often complex processes in clear, easy-to-understand diagrams. Flowcharts, sometimes spelled as flow charts, use rectangles, ovals, diamonds and potentially numerous other shapes to define the type of step, along with connecting arrows to define flow and sequence. They can range from simple, hand-drawn charts to comprehensive computer-drawn diagrams depicting multiple steps and routes. If we consider all the various forms of flowcharts, they are one of the most common diagrams on the planet, used by both technical and non-technical people in numerous fields.  Parts: 1. The Oval, 2. The Rectangle, 3. The Arrow and 4. The Diamond.

2. What is a loop? What types of loops are there in programming?

Is a sequence of instructions that is continually repeated until a certain condition is reached. Types:Count-controlled loops (For loops), Condition-controlled loops(while loops and do while loops),Collection-controlled loops(Foreach), Infinite Loops, Entry Controlled loops and Exit Controlled Loops.

3. What is a condition? How are conditions set in programming?

A conditional statement tells a program to execute different actions depending on whether a condition is true or false.  They are set by these:  If-then(-else), and Arithmetic If.