Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I hope for a solution Reading: Types of error Work in groups of three. Read one of the texts below and complete this table: When
I hope for a solution
Reading: Types of error Work in groups of three. Read one of the texts below and complete this table: When you have finished. exchange information with the others in your group to complete two similar tahles. System errors affect the computer or its peripherals. For example, you might have written a program which needs access to a printer. If there is no printer present when you run the program the computer will produce a system arror message. Sometimes a system error makes the computer stop working altogether and you will have to restart the computer. A sensible way of avoiding system errors is to write code to check that peripherals are present before any data is sent to i. Then the computer would warn you by a simple message on the screen, like 'printer is not ready or available'. Syntax errors are mistakes in the programming language flike typing PRNIT instead of PRINT). Syntax errors cause the program to fail. Some translator programs won't accept any line that has syntax errors. Some only report a syntax error when they run the program. Some languages also contain special commands such as debug. which will report structural errors in a program. The programming manual for the particular language you're using will give details of what each error message means. Logic arrors are much more difficult to detect than syntax errors. This is because a program containing logic errors will run, but it wor't work properly. For example, you might write a program to clear the screen and then print 'hello'. Here is a code for this: 10// Messnge 30 CLS 20 PRINT 'Hello' 40 END. The code has a logic arror in it, but the syntax is right so it will run. You can get rid of logic errors from simple programs by 'hand testing' them or doing a 'dry run' which means working through each line of the program on paper to make sure it does what you want it to do. You should do this long before you type in the code Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started