When Ally is testing the website, she notices that the total carbon footprint worked out is not calculated correctly.
Explain why this is a logic error and not a syntax error. (1)
When Ally is testing the website, she notices that the total carbon footprint worked out is not calculated correctly.
Explain why this is a logic error and not a syntax error. (1)
When the code for the program is written the programmer mis-types the word UNTIL, typing UNTOL instead.
State the type of programming error being described above. (1)
Employees can only access their company network if they enter a correct username and password. A validation program is being developed and will run each time an employee logs on.
An extract of pseudocode from the program is shown below.
An error is noticed when the program is tested.
(a) Identify the line containing a logic error. (1)
(b) State how this error should be corrected. (1)
Glow Blogs uses cookies to enhance your experience on our service. By using this service or closing this message you consent to our use of those cookies. Please read our Cookie Policy.