Computer Science, asked by arundhatidutta878, 8 months ago

write down the syntax to find out the round off of a number p

Answers

Answered by lshabir276
2

Answer:

In computer science, the syntax of a computer language is the set of rules that defines the combination of symbols that are considered to be a correctly structured documents or fragment in that language.[1] This applies both to programming languages, where the document represents source code, and to mark up languages, where the document represents data.

The syntax of a language defines its surface form.[2] Text-based computer languages are based on sequences of characters, while visual programming languages are based on sequences of characters, while visual programming languages are based on the spatial layout and connections between symbols (which may be textual or graphical). Documents that are syntactically invalid are said to have a syntax error. When designing the syntax of a language, a designer starts by writing down examples of both legal and illegal strings, before trying to figure out the general rules from these examples. [3]

Syntax therefore refers to the form, and it is contrasted with sementics- the meaning. In processing computer languages, semantic processing generally comes after syntactic processing; however, in some cases, semantic processing is necessary for complete syntactic analysis, and these are done together or concurrently. In a compiler, the syntactic analysis comprises the frontend, while the semantic analysis comprises the backend ( and middle end, if this phase is distinguished).

Explanation:

Hope it's helpful ..... pLx LikE nD maRk mE aS BRAINLIEST ❤️

Similar questions