Wednesday, April 6, 2011

what is 'syntax'?

sometimes..
my head is just like shoot by someone..


haha..
it's very not a good example..
actually it was about something
like syntax error..
have you ever having the same 
situation like me..?
when i use my computer,
the computer write this word
"....syntax error.."
wait..!
what is that..?

now i know what is it..
thanks to my textbook

for your info,
it is a violations of the rules of a 
programming language.
in the textbook,
the example given was
'when omitting a semicolon at the end of a C++ 
statement..
this means that
in C++, each statement must be
end with a semicolon (;)

i'm providing this link..
just read to know more..
to know how to fix it,
read this link..

actually, this topic is in chapter 14
and it is in the step 4..
step for program test..

now, let me talk about the methods 
on how to find and remove those errors

1. desk checking
careful reading of a printout of the program

2. manual testing
can use calculator & sample data
to test for a correct programming logic

3. attempt at translation
we run the program using a translator program
to identify syntax errors

4. testing sample data
test the program for logic errors using sample data

5. beta testing
it is the final step.

this is the final one..(o.0)

users try the program and provide feedback




No comments: