2.1.3 Thinking Procedurally, 2.1.4 Thinking Logically Flashcards
Thinking procedurally
Identifying the individual parts of a bigger problem. Then breaking down the problem into smaller sub problems
purpose of problem decomposition
to make complex problems easier to solve and more manageable by allowing tasks to be divided between a group of people according to individual skills.
Top-down modular design (structure diagram)
Breaking down a problem into smaller sub-tasks.
benefits of top down design
-problems can be solved and modules developed by different people.
-tasks can be tested separately.
-modules are self contained
Top-down design (also know as stepwise refinement) is a method used to help identify the components of a problem. List the advantages of using this method
It’s an advantage as it saves time as different programmers can work on different sub problems the program will also become easier to manage. It is more efficient as it is breaking down a problem into smaller sub programs so you can solve.
Parts of the solution may be reusable elsewhere
two advantages of using reusable components
more reliable than newly coded components as they have already been tested.
This saves time money and resources.
State another name given to top-down design
Stepwise refinement
What sort of problem is top-down design suited to
Large, complex problems
What is the second stage of thinking procedurally in software development
Identifying components of a solution
How can the lowest level subproblems in top-down design in code
As self contained modules or subroutines
What do software developers need to consider when recombining components of a solution
The order in which subroutines are executed and how they interact with each other, based on their role in solving the problem
What must a software developed do before designing a subroutine to solve a particular problem
See whether it is possible for an already existing subroutine or module to be used
What must a software developer do before designing a subroutine to solve a particular problem
See whether it is possible of an already existing subroutine or module to be used
What is a decision
A result reached after consideration
When are decisions made
A decision is made whenever u have a choice to make