6. Testing and running solutions

Descrição

A levels Computing Mapa Mental sobre 6. Testing and running solutions, criado por deepi1k73 em 14-04-2014.
deepi1k73
Mapa Mental por deepi1k73, atualizado more than 1 year ago
deepi1k73
Criado por deepi1k73 mais de 10 anos atrás
17
1

Resumo de Recurso

6. Testing and running solutions
  1. errors
    1. syntax- error used in the programming language- e.g: missing braces, no semi-colon, missing parts of constructs
      1. logical- caused by the mistakes in the design of the program, code will run but will not give the right results
        1. run-time- happens while the program is running, syntax is fine but when run an error is found due to mistakes in the algorithm or an external reason- e.g.: out of memory, divide by 0...
        2. testing
          1. black box test data can be:
            1. NORMAL- very surely and completely within the range (should be accepted)- makes sure that the program performs properly,
              1. BORDERLINE- on the border of range (v. important)- most errors are when borderline data is not accepted,
                1. INVALID- outside the range (should be rejected), should check all data to make sure program works properly
                2. testing strategies:
                  1. BLACK BOX: inputs tested to see if they produce the outputs that should be, done by customers, all parts of test data is tested
                    1. What is done: requirements and specifications of the system examined, data checked to see if expected outputs are git, test cases created and executed, outputs compared, defects fixed and retested
                      1. Finds: incorrect/ missing functions, interface errors, data structure errors, performance errors, initialisation and termination
                        1. Advantages: does not need to know coding, less bias (third party), test cases can be tested as soon as spec is produced
                          1. Disadvantages: way program works is not considered, test cases are difficult to design, time consuming to test every input, white box has to still be carried out
                          2. WHITE BOX: testers test each line of code for logic and accuracy, normally tests extremes, done manually or debugging software
                            1. Advantages: helps optimize the code, can test effectively as it is easy to find the best data to use, tested by programmer so they know the program well
                              1. Disadvantages: Uses specific programming knowledge, Only works if the programmer know what the program actually does, Does not account for errors that are created from omission
                              2. ACCEPTANCE: done when the software is complete, programmer has to prove that the program fits all of the customers specification, can be done as alpha or beta testing
                                1. ALPHA: done in the company where employees who did not produce software test it
                                  1. Advantages: uses both black box and white box testing, problems are sorted immediately
                                    1. Disadvantages: doesn't check reliability robustness and security, requires testing environment, software might not be complete so might still contain errors
                                    2. BETA: privileged customers test the software and give back constructive criticisms
                                      1. Advantages: checks reliability robustness and security, can be done anywhere, software virtually complete but might sill have bugs
                                        1. Disadvantages:uses only black box testing, problems implemented in future versions of software
                                    3. dry runs(trace tables)
                                      1. put each variable and track the value of each variable
                                      2. debugging tools
                                        1. translator diagnostics- points out if there are any errors in the code by saying which part of which line is wrong- error messages - syntax error
                                          1. Break point- tell it to pause at a certain point in the code- can go through line by line after- can trace variables in a trace table- double click to add it- logical or run time
                                            1. stepping- going through the code line by line- can do it at your speed- check variables- logical or run time
                                              1. variable checks- trace tables- look at variables and their value at each point- can look at patterns to find errors- logical and run time error
                                              2. purpose of an installation routine
                                                1. Copy program from CD to computer
                                                  1. Copy any data files from the CD to computer
                                                    1. Copy and registered any library routines which are needed from CD to computer
                                                      1. Check for any dependencies
                                                        1. Check for space
                                                          1. Check for compatibility
                                                            1. Register the program in the computer
                                                              1. Enable the program to be uninstalled later
                                                                1. Initial user configuration is saved in a file
                                                                  1. Provide an icon or shortcut so that the program can be run easily
                                                                    1. Programs may need extracting from a compressed file

                                                                    Anexos de mídia

                                                                    Semelhante

                                                                    Types and Components of Computer Systems
                                                                    Jess Peason
                                                                    Input Devices
                                                                    Jess Peason
                                                                    Output Devices
                                                                    Jess Peason
                                                                    Computing
                                                                    Kwame Oteng-Adusei
                                                                    Pack of playing cards answer
                                                                    Karl Taylor
                                                                    Code Challenge Flow Chart
                                                                    Charlotte Hilton
                                                                    Computing Hardware - CPU and Memory
                                                                    ollietablet123
                                                                    Computer Systems
                                                                    lisawinkler10
                                                                    Computer science quiz
                                                                    Ryan Barton
                                                                    Input, output and storage devices
                                                                    Mr A Esch
                                                                    GCSE Computing - 4 - Representation of data in computer systems
                                                                    lilymate