Topic 4 Flashcards
What is the role of sub-procedures in problem solving?
Sub-procedures help break down complex problems into manageable parts.
When is decision making required in a specified situation?
When there are multiple options or paths to consider.
What decisions are required for the solution to a specified problem?
Decisions related to the steps and methods to be used in solving the problem.
What does the term ‘condition’ refer to in decision-making?
The specific circumstances or criteria that must be met for a decision to be valid.
What is the relationship between decisions and conditions in a system?
Decisions depend on conditions being met to proceed.
What are logical rules in real-world situations?
Rules deduced from observations that guide decision-making.
What are inputs and outputs in a solution?
Inputs are the data required to process, and outputs are the results produced.
What is pre-planning in problem solving?
Identifying necessary steps before executing a solution.
What is the difference between sequential and concurrent tasks?
Sequential tasks occur one after another, while concurrent tasks happen simultaneously.
What is a Gantt chart?
A tool used to track events and schedules.
Give an example of pre-planning in real life.
Pre-ordering a game before its actual release.
Why are pre-conditions important when executing an algorithm?
They ensure that necessary requirements are met before execution.
What are pre-conditions and post-conditions in a problem?
Constraints that define the state of the system before and after execution.
What is an example of an exception to consider in a problem solution?
Calculating the end-of-year bonus when not all employees have worked the entire year.
What does it mean for parts of a solution to be implemented concurrently?
It means two or more processes occur at the same time.