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 ]
共享
共享
共享
由
Snicholson
编辑内容
打印
嵌入
更多
作业
排行榜
翻卡片
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?