Coding Flashcards
What is an Algorithm?
The sequence of steps taken to solve a problem.
What are the 3 steps in an Algorithm?
Sequence, Selection, Iteration
What does Sequence mean?
Means code will run in order, one line at a time, top to bottom.
What does Selection mean?
When a programmer only wants to run specific lines of code is certain criteria is met.
What terms are used for Selection in an Algorithm?
IF, THEN, and ELSE statements are used to repeat instructions or to move to different parts of the programme.
What does Iteration mean?
Repeating the same line of code through a loop.
What are the 3 types of Iteration loops?
For loops, While loops, Repeat until loops
What is Flow Control?
The order actions are carried out which is often shown as a flow chart.
What symbol shows a direction? - Flow Control
Arrows
What symbol shows the start and end? - Flow Control
Ovals
What symbol shows inputs and outputs? - Flow Control
Parallelograms
What symbol shows processes? - Flow Control
Rectangles
What symbol shows decisions? - Flow Control
Diamonds
What is a Sub-routine? - Flow Control
When a process box links to another flow chart which feeds back into the main process.
What is Pseudocode?
An artificial text-based language that helps programmers develop algorithms in the normal structure but for human reading.
When is Pseudocode used?
In planning stages before the actual coding happens.
What are the 6 phases of the Software Testing Life Cycle?
Requirement gatherings and analysis, Design (agile), Implementation/coding, Testing, Deployment, Maintenance
What is the Requirement Gathering and Analysis Stage? - STLC
Determines the requirements and deliverables of the project. A Requirement Specification Document (RSD) is created which acts as guidelines.
What is the Design (agile) stage? - STLC
The system and software are designed using the RSD document. Agile development is the most common technique.
What is the Implementation/Coding stage? - STLC
The team creates the actual product following requirements.
What is the Testing stage? - STLC
The code is tested against the specifications.
What are the 4 types of Functional Testing? - STLC
Unit, Integration, System, and Acceptance Testing
What are the 3 types of Non-Functional Testing? - STLC
Static, Dynamic, and Dry Run Testing
What is the Deployment Stage? -STLC
Puts the product into production so it can be used in a real environment. This is when the business does Beta Testing.
Heading
)) and closed (
) tags and any new tag opened within another tag must be closed before the containing tag is closed (text
)