SDD

    Cards (31)

    • what are all the stages of the development process 

      Analysis
      design
      Implementation
      Testing
      Documentation
      Evaluation
    • What is the analysis stage
      When programmers look at a program and decide exactly what must be included in the program to solve the problem
    • describe inputs
      the range and type of data to be entered into the program with any relevent input validations to be included
    • describe the process
      what the program will do with the data entered
    • describe the outputs
      what the program must produce when it runs
    • describe input validation
      this is included in the code of the program so the data is repeatedly check to ensure its sensible
    • describe the design stage
      in this the programmer will plan how they are going to solve the program given. Data types and data structure are often used.
    • what are data types
      character
      string
      interger
      real
      boolean
    • how is the design shown
      Structure diagrams
      Flowcharts
      Pseudocode
    • describe structure diagrams
      Goes left to right
      Loops are shown in ovals
    • what is a flowchart
      normally uses arrows
      top to bottom
      loops shown in arrows
    • what is pseudocode
      text-based method of designing a program
    • What is a logical operator
      AND
      OR
      NOT
    • what is a condtional loop
      a loop that repeats until what you set it to do is done
    • What is a fixed loop
      A loop that repeats a fixed number of times
    • what is a normal data test
      data within the acceptable range
    • what is extreme data
      data on the edge of the range of data, but still acceptable
    • what is exeptional data testing
      invalid data
    • what is syntax error
      an error resulting from breaking the rules of the language
    • what is a logical error
      an error that produces incorrect results but doesnt stop the program running
    • what is the evaluation stage
      When programmers look at the solution created and consider how good the program is
    • what is considered in the evaluation stage
      fitness for purpose
      efficient use of coding constructs
      robustness
      readability
    • what to write when writing evaluation of fitness for purpose
      each thing the program was required to do

      if it does each thing

      how you know if it does those things(refer to testing)
    • What is efficient code
      ensure there is no innecessary use of the CPU or RAM
    • what is robust program
      a program that does not crash easily
    • how do you make a robust program
      have input validations so it doesnt crash due to invalid input
    • what are the key points of readability
      Meaningful identifiers
      Internak commentary
      Indentation
      White space
    • what is internal commentary
      info about what the code does
    • what are meaningful identifiers
      names of variables, arrays and subprograms. should tell what they hold or do
    • what is indentation
      use of tab to indent code within loops or if to make then more obvious
    • what is white space
      using return key to add blank lines to make it easier to read
    See similar decks