What is the difference between input validation and verification? - Validation ensures the data entry is valid. This checks that the entry is possible and sensible. An example is if asked for your date of birth, it is safe to assume you are older than 2 and younger than 115, but it will not check you are entering your actual date of birth. The data entered maybe valid as a sequence of day, month, year but it may be inaccurate. Verification is the process of ensuring the data is factually correct, accurate..., What is meant by input sanitisation? - Removing unwanted characters from an input, How do developers protect the software against misuse using "defensive design"? - Developers try to anticipate how their program maybe be misused., Explain the terms whitelist and blacklist. - A whitelist is a list of data that a program should accept and a blacklist is one which records all the data that should be rejected., Provide two common entries needed for the process of authentication. - User ID and password., Why is it important to add comments when you are writing code? - The code needs to be maintainable, thus making it possible for future development. It also ensures that faults can be easily identified and rectified., What other features should be added to make it easier to maintain? - The correct use of indentation regardless of whether the language being used requires it or not makes the code easier to follow., What is the difference between a syntax error and Logic error? - A syntax error is one that will be identified during the compilation stage, it is incomplete or incorrect commands. Th code will not run. Logic errors are errors that will pass the syntax checks but which when run don't give you the outputs you expected, this is because the logical flow of your code, doesn't match the requirements., Explain iterative and Final/terminal testing. - Iterative testing is performed between each development iteration, this means you have designed and built a prototype, you now test it and add more functionality and correct the errors for the second iteration. The second prototype is built and again tested this is the second iterative test , this cycle continues until the project is complete. Terminal testing is completed when the product has been through all the iterations and is finished., What are the names of the three types of test data? - Normal, Extreme boundary, Erroneous,
0%
2.3 [Producing Robust Programs ]
Dela
Dela
Dela
av
Snicholson
Redigera innehåll
Skriv ut
Bädda in
Mer
Uppdrag
Rankningslista
Växla paneler
är en öppen mall. Det genererar inte noter för en poänglista.
Inloggning krävs
Visuell stil
Teckensnitt
Prenumeration krävs
Alternativ
Växla mall
Visa alla
Flera format visas när du spelar aktiviteten.
Öppna resultat
Kopiera länk
QR-kod
Ta bort
Återställ sparas automatiskt:
?