1. Describe what would happen when the code is translated if all the syntax errors were corrected by the logic errors were left unchanged.
2. A type of error caused by the code not following the ______________________________ of the programming language is a syntax error
3. True or False: a Test plan should ideally take the user down all possible paths of the program to test it.
4. A good test plan will only use normal data to test user input (e..g correct and acceptable data input only)
5. When testing a program, how does the 'tester' know there is a problem?
6. Identify the error in the following code:
7. What type of error is this?
8. Multiplying when you should be dividing is an example of a …
9. Displaying the wrong message is an example of a …
10. Trying to open a file that does not exist would cause a…
11. Missing semi colons would be examples of a …
12. Improperly matching brackets and /or curly braces would usually cause a ….
13. Most ______________ errors are quite subtle and are much harder to find and fix.
14. Use of a reserved word such as 'print' as a variable would cause an error.
15. A programmer is trying to work out the no. of months in a year and writes this. What is the error?
16. It is usually the CPU and Assembly language that directly uncovers syntax errors
17. A logic error is a bug in a program that
18. Data that falls outside of what is acceptable and should be rejected is called….
19. A system has validation to ensure that only numerical values between 1 and 10 are entered as input. The borderline test data for this could be:
20. Data at the upper or lower limits of expectations that should be accepted is referred to as:
21. An IDE's code editor will usually help with pointing out syntax errors - e.g. pointing out the line in which there is the error
22. A code editor will always point out and fix a logic error, as these are obvious and crash the program on running it.
23. The following code has no errors. Which of the following statements is correct?
24. In the following python code, if the user enters 2 and 2, instead of 4, it will produce 22. This is a ….
25. The simplest form of authentication could be:
26. Authentication methods include :
27. Authentication also occurs when you access a website, you request access to the ___________ which hosts the page.
28. What is one example of where authentication is required?
29. Maintainability is also important if a program is going to be robust. Two ways of ensuring maintainable programs is to have good:
30. Entry of a national insurance number may require validation of the following kind:
31. A white list is a list of data that the application will reject and a black list is a list of data that the application will accept as valid
32. White lists and Blacklists are usually used within:
33. Having evaluated the visual design of the software, the team must also focus on code structure. Ensuring m___________ and readability is important.
34. There are generally three times of maintainance:
35. This type of maintenance is necessary when the client needs the software to run on an environment other than the one that it was originally designed for
36. This type of maintenance is concerned with altering the software to add new features or enhancements not originally requested in the software specification
37. This is a formal document which details the tests to be performed on the software. It will describe the following:
38. This relates to the first round of testing. Before releasing new software on to the market, developers will test it in-house.
39. This refers to the second round of testing. The developers will trial the software with a limited number of users. The users report any problems to the developers.
40. Testing a program is essential because: