Computers π©πΏβπ» | Algorithms | 7.1 Flashcards
What are the steps in program developing life cycle?
Analysis-Design-Coding-Testing
What is the analysis step in program development?
The step where the user must figure out the problem and decide how to resolve it.
What are the steps of analysing the process?
- Choosing a program
- Abstraction of the problem
- Decomposition of the problem
- Identification of the problem
- Requirementβs specification
What is Abstraction of a problem?
The process of filtering out the characteristics of problems that are not needed in order to concentrate on those that are needed. It allows programmers to have a general idea of a problem and how to solve it.
What is decomposition of a problem?
Analysing a complex problem and breaking it down into smaller more manageable parts that are easier to understand.
What is identification of a problem?
Understanding the problem statement, finding the requirement, and output of problem solution.
What is a problem statement?
A problem statement is usually one or two sentences to explain the problem your process improvement project will address.
What is the requirementβs specification?
A document that captures a complete description on how a system is expected to perform.
What is the designing step of program development?
Various design tools such as
- Decomposition
- Structure diagrams
- Flowcharts
- Pseudocode
are used for program specification
What is the coding step of program development?
When the language of programming is used to write the lines of code based on the program specification obtained from the design stage. The code is the program listing or source code.
What is the testing stage of program development?
In various levels of software testing, the code is tested. It is iterative and tested till free of errors.
What are the methods of testing and debugging a program?
Unit - individual modules tested
System - all modules, the whole system tested
User acceptance - asking someone or another company to test the program.
What is a system?
A combination of the parts or components which work together to control a task or activity.
What are the types of systems?
Natural systems, Abstract systems, Designed systems, Information systems.
What are some natural system examples?
Ecosystems, water cycles
What are some abstract system examples?
Maths equtions, computer programs
What are some designed systems examples?
Cars, internet
What are some information system examples?
Banking system, databases
What are the elements of a system?
- Boundary
- Environment
- Observable mechanisms
- Subsystems
- Control mechanism
What is a boundary in a system?
What separates a system from its environment, often not sharply defined. aka interface.
What is the environment in a system?
Parts of the world which the system can interact with. The system and environment are interrelated.
What are observable interactions in a system?
How the system interacts with the environment. e.g. Inputs and Outputs
What is a subsystem in a system?
It can decompose a system into parts, each part also a system. For each subsystem, the remained of the system is itβs environment. They are interdependent.
What is a control mechanism in a system?
How the behavior of the system is regulated to allow it to endure often natural mechanism.
What is a computer system?
A system made up of software, data, hardware, communications, and people.
What can a system be divided into?
Into sub systems, further sub systems, and modules.
When designing a computer system, what is it referred to?
As a complex problem.
What are the sub systems within a system sometimes referred to?
Sub problems
What is top-down design?
The breaking down of a computer system into sub systems, also broken down until each subsystem performs one action.
What is the method of breaking down a computer system in top-down design called?
Stepwise refinement