SDD

    Cards (42)

    • analysis
      determine what the program will do.
    • design
      determine the structure of program
    • implementation
      writing the program
    • testing
      see if the program works as intended
    • evaluation
      review the program based on
      • readability
      • robustness
      • efficiency
      • fit for purpose
    • iterative software development process
      the software development process is iterative because because stages can be revisited e.g. after testing the process may return to the implementation stage to fix any programming errors, or the design stage to fix any design errors.
    • analysis functional requirements
      • inputs
      • process
      • outputs
    • what is the process
      transforms any data from inputs into output information
    • characters
      singular letters - ‘a’ ‘b’ ‘c’
    • strings
      multiple letters together - ‘skibidi’, ‘toilet’
    • integer
      numbers - 1, 100
    • real
      not a full integer - 1.23
    • boolean
      true or false
    • 1D arrays
      allows programmers to store data in a list
    • structure diagrams
      graphically show the steps needed to solve a problem and must be read from 1-6
    • structure diagram example
    • flowcharts
      designing the steps of a program graphically
    • flowcharts example
    • pseudocode
      designing the steps of a program using phrases that resemble lines of program code
    • pseudocode example
    • assignment
      sets the value of a variable
    • arithmetic operators
      • + = addition
      • - = subtraction
      • * = multiplication
      • / = division
    • string concatenation
      joining two or more strings together
    • logical operators
      • AND
      • OR
      • NOT
    • and
      the condition will be true if both statements are true
    • or
      the condition will be true if either one, or both of the statements are true
    • not
      reverses the result
    • fixed loop
      always execute a fixed number of times
    • conditional loop
      execute while a specific condition is being met, or until a specific condition is met
    • random function
      returns a random number between two parameters.
    • round function
      returns a decimal number rounded to a given number of places.
    • length function
       returns the length of a string.
    • input validation
      checks that the user input is acceptable.
    • running total
      adds a list of values.
    • traversing an array
      accesses each element from an array
    • syntax errors
      errors in code such as spelling errors
    • execution errors
      causes the program to crash unexpectedly.
    • logic error
      produces unexpected results
    • fitness for purpose
      a program is fit for purpose if it meets the requirements specification set out during the analysis phase. Specifically, the final program should match the purpose and functional requirements.
    • efficient code
      efficient code uses less resources (processor, RAM) and executes more quickly.
    See similar decks