Software design and methodologies Flashcards
(51 cards)
Define the analysis stage of software design???
The analysis stage focuses on understanding the purpose of the software and defining functional requirements.
What are the function requirements of software and development???
Define what the software must do. This can include specific features, input/output requirements, and user interactions.
What does purpose mean in the analysis stage of software design???
Determine what the software is intended to achieve. Consider the problem it solves or the need it addresses
Define the design stage of software design and methodologies???
Design involves creating a blueprint for the software, including the user interface, structure diagrams, and logic flow.
What are the main factors of making a user friendly UI???
Create user interface (UI) designs, focusing on layout, usability, and user experience
What are the purpose of structure diagrams???
Using diagrams to visualize the structure of the software. This can include class diagrams, entity-relationship diagrams, and data flow diagrams.
What are the purpose of flowcharts???
flowcharts help represent the logic and workflow of the software. This helps in understanding the software’s behavior.
What are the purpose of flowcharts???
pseudocode helps to describe the software’s logic in a human-readable format. Pseudocode helps bridge the gap between design and implementation.
Determine the data types and structures needed for the software, such as integers, strings, arrays, and objects.
What are some common data types in software???
Common data types include integers, floats, booleans, strings, and characters. These represent basic values in programming
What are the roles of data structure???
Data structures organize and store data.
What are some examples of data structures???
Common structures include arrays, lists, dictionaries, and objects.
What does testing demonstrate?
testing can only demonstrate the presence of errors - it cannot demonstrate their absence;
What should a test plan include?
is a set of test data which should systematically and comprehensively test the software to ensure that it meets the original specification;
will include normal, extreme and exceptional test data.
what’s a syntax error?
a syntax error is where the “grammatical” rules of the language have been broken. It is normally detected by a compiler or interpreter;
what’s a logic error?
a logic error is one where the code is syntactically correct but does not do what the programmer intended;
what’s an execution error?
an execution (or run-time) error is one which causes the program to stop (crash) when it is run;
what’s a dry run?
a dry run is a manual run through pseudocode or the source code of the program
what’s a break point?
a breakpoint is a set point in a program where it will stop execution so that the values of variables can be examined;
what’s a watch point?
a watchpoint is when a program is set to halt when a variable has reached a specific value;
why should tests be documented?
tests and their results should be fully documented so that if subsequent problems are discovered, they can be checked and duplication of work avoided;
what should evaluating software be able to do?
evaluating software on fitness for purpose requires checking against the software specification to ensure all agreed elements have been implemented and are functioning correctly;
what do efficient programs do to execute with less code?
efficient programs make sensible use of coding constructs that run with the least amount of code required to be executed
why should loops, and conditional statements be conservatively used?
loops and conditional statements require careful consideration as they have a big impact on the amount of processing time required to run a program