produces static semantic error since it is not meaningful to divide number by string of characters the semantics of language associates meaning with each syntactically correct string of symbols that has no static semantic errors in natural languagesthe semantics of sentence can be ambiguous for examplethe sentence " cannot praise this student too highly,can be either flattering or damning programming languages are designed so that each legal program has exactly one meaning though syntax errors are the most common kind of error (especially for those learning new programming language)they are the least dangerous kind of error every serious programming language does complete job of detecting syntactic errorsand will not allow users to execute program with even one syntactic error furthermorein most cases the language system gives sufficiently clear indication of the location of the error that it is obvious what needs to be done to fix it the situation with respect to static semantic errors is bit more complex some programming languagese javado lot of static semantic checking before allowing program to be executed otherse and python (alas)do relatively less static semantic checking python does do considerable amount of static semantic checking while running program howeverit does not catch all static semantic errors when these errors are not detectedthe behavior of program is often unpredictable we will see examples of this later in the book one doesn' usually speak of program as having semantic error if program has no syntactic errors and no static semantic errorsit has meaningi it has semantics of coursethat isn' to say that it has the semantics that its creator intended it to have when program means something other than what its creator thinks it meansbad things can happen what might happen if the program has an errorand behaves in an unintended wayit might crashi stop running and produce some sort of obvious indication that it has done so in properly designed computing systemwhen program crashes it does not do damage to the overall system of coursesome very popular computer systems don' have this nice property almost everyone who uses personal computer has run program that has managed to make it necessary to restart the whole computer or it might keep runningand runningand runningand never stop if one has no idea of approximately how long the program is supposed to take to do its jobthis situation can be hard to recognize or it might run to completion and produce an answer that mightor might notbe correct