STATIC SEMANTICS
Static semantics defines which syntatically valid sentences have a meaning. Semantics relates to meaning of a sentence that has no static semantic error.
For example: "'I can not praise the student too highly" is ambigous in meaning.
DYNAMIC SEMANTICS
Dynamic semantic is a perspective on natural language semantic that emphasizes the growth of information in time.It is an approach to meaning representation where pieces of text or discourse are viewed as instructions to update an exisiting context with new information, the result of which is an updated context.
STATIC AND DYNAMIC SEMANTICS
| Static Semantics | Dynamic Semantics |
| The static semantics of a language is indirectly related to the meaning of programs during execution. | Dynamic semantics refers to the meaning of expressions, statements, and other program units. |
|
Models complie time checks
|
Models run time behaviour
|
|
Example:Type checking a type cast TypeA() new TypeB() Check that TypeA is a subclass of TypeB |
Example:Evaluation of If-expressions if(a)then(b) If a evalutaes to true then evaluate b. |
| Checked at Complie time. | Cannot be checked at compile time. |
| Cannot be check at Run-time. | Can only be checked at Run-time. |
| Used to define things about PLs that are hard or impossible to define with BNF | Describes the meaning of PL constructs. |
Explan in few words how are similar and different static semantics and dynamic semantics?
In 200 or more of your own words, compare and contrast static routing, dynamic routing, RIP and OSPF.
please write 150-200 words How are Nausicca and Calypso similar? How are they different?
How does language interacts with comprehension and learning? Maybe choosed to discuss semantics, syntax, different types of inferences, parsing, etc.
Linguistics: Syntax, and semantics. 1. Look at the following strings of words, and then answer questions i - iv. a. Sally bought computer. b. I explained him how it work. c. Bob slept not last night. d. This my friend is coming over. i. For each string of words above, say whether it is a sentence of English or not. ii. Is it possible to understand the intended meaning of the strings of words above that you do not think...
What do you understand by denotational semantics? Explain through your assignment example of decimal numbers? How is denotational semantics different from axiomatic semantics? Explain.
To build a Web application, is it preferable to use static or dynamic Web pages? Discuss? Write in your own words.
Are the objects described here in static equilibrium, dynamic equilibrium, or not in equilibrium at all? ( Explain how the answers are correct )A) A 200 pound barbell is held over your head. (static equilibrium)B) A girder is lifted at constant speed by a crane. ( Dynamic equilibrium)C) A girder is being lowered into place. It is slowing down. (not in equilibrium)D) A jet plane has reached its cruising speed and altitude. (Dynamic equilibrium)E) A box in the back of...
Are the objects described here in static equilibrium, dynamic equilibrium, or not in equilibrium at all? ( Explain how the answers are correct ) A) A 200 pound barbell is held over your head. (static equilibrium) B) A girder is lifted at constant speed by a crane. ( Dynamic equilibrium) C) A girder is being lowered into place. It is slowing down. (not in equilibrium) D) A jet plane has reached its cruising speed and altitude. (Dynamic equilibrium) E) A...
How are direct-mail sales messages and e-mail sales messages similar, and how are they different? Explain in your own words.
1) What is dynamic programming? How it is different than divide and conquer solutions? Which of the problems can be solved with dynamic programming?