Syntax and Semantics

Powerful Essays
Pamantasan ng Lungsod ng Muntinlupa
NBP Reservation, City of Muntinlupa

A Research study of
Programming Language Specification

Prepared and Submitted by:
Cagande , Leonnesa Louise B.
Gatchalian, Rizalina V.
Rapsing, Romalyn S.
BSCS – 4C
Submitted to:
Prof. Sahawi, Malik

Abstract This research is about the components of program language in order to make a program. These are syntax, semantics and pragmatics.

Introduction Programming language is a language intended for use by a person to express a process by which a computer can solve a problem. It is use to make a program. Program is a formal description of characteristics required of a problem solution. Programs tell what should be not how to make it so. But first we have to learn and understand its component in order to write a correct program and to be able to predict the effect of execution of a program. Syntax, semantics and pragmatics are use to construct a program. These are the source codes and the meaning of it. Research Approach Syntax The structural rules of a language that determine the form of a program written in the language. Is the form in which programs are written to give the rules of syntax for a programming language to tell how statements, declarations, and other language constructs are written.

Syntactic Specification

The primary purpose of syntax is to provide a notation for communication of information between programmers and programming language processor.

Readability A program is readable if the underlying structure of the algorithm and data represented by the program is apparent from an inspection of the program text. A readable program is often said to be self documenting, it is understandable without any separate documentation. Readability is enhanced by such language features is natural statement formats, structural statements, liberal use of keywords and noise words, provision for embedded comments, unrestricted length

You May Also Find These Documents Helpful

  • Good Essays

    Syntax and Semantics

    • 2374 Words
    • 10 Pages

    Semantics In programming language theory, semantics is the field concerned with the rigorous mathematical study of the meaning of programming languages. It does so by evaluating the meaning of syntactically legal strings defined by a specific programming language, showing the computation involved. In such a case that the evaluation would be of syntactically illegal strings, the result would be non-computation. Semantics describes the processes a computer follows when executing a program in that…

    • 2374 Words
    • 10 Pages
    Good Essays
  • Good Essays

    Syntax And Syntax

    • 634 Words
    • 3 Pages

    similarities between both views, including that syntax plays a role in reading, that previous knowledge is important, and that early reading skills like phonetic awareness are important as well. The differences between the views lies with the focus that each view takes on syntax, including the importance of syntax and how syntax is approached with reading instruction. Although the learning view places more importance on words while the acquisition view focuses on syntax, there are specific differences and likenesses…

    • 634 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Syntax

    • 9746 Words
    • 39 Pages

    LECTURE 7: SYNTAX. BASIC SYNTACTIC NOTIONS. 1.General characteristics of syntax. The grammatical structure of language comprises two major parts – morphology and syntax. The two areas are obviously interdependent and together they constitute the study of grammar. Morphology deals with paradigmatic and syntagmatic properties of morphological units – morphemes and words. It is concerned with the internal structure of words and their relationship to other words and word forms within the paradigm…

    • 9746 Words
    • 39 Pages
    Good Essays
  • Powerful Essays

    syntax

    • 2421 Words
    • 23 Pages

    Rosana Abigail Jovel I n this chapter, we will explore our knowledge of another system called syntax. It is namely system because syntax is a system of rules and principles that allow us to combine words into large units. We know that words must be organized in a certain order in the sentence (just as affixes and roots occur in certain orders in words). In fact, the position of the word in a sentence is often the only way we know its syntactic category (part of speech). For example…

    • 2421 Words
    • 23 Pages
    Powerful Essays
  • Powerful Essays

    semantics

    • 33997 Words
    • 136 Pages

    ENGLISH SEMANTICS Curs universitar pentru Învăţământ la distanţă EDITURA UNIVERSITARIA CRAIOVA, 2012 CONTENTS forEwOrd....................................................................................................4 Unit I. Introduction to Semantics…………………………….5 1.1. A Short…

    • 33997 Words
    • 136 Pages
    Powerful Essays
  • Good Essays

    Semantics

    • 778 Words
    • 7 Pages

    SEMANTICS (Concepts, and major questions) Prepared by: Mabanag, Leomar A. SEMANTICS Sub discipline of linguistics focuses on the study of meanings.  It understands what meaning is as an element of language.  It is closely linked to pragmatics.  PRAGMATICS SEMANTICS  Study of meaning  Study of meaning  More practical subject and is interested in meaning in language in use.  highly theoretical research perspective, and looks at meaning in language in isolation, in the language itself…

    • 778 Words
    • 7 Pages
    Good Essays
  • Good Essays

    Semantics

    • 5184 Words
    • 21 Pages

    As we know, proverbs do not function as mere ophical phrase mongering. As a rule, they are used for some practical, pragmatical purposes in various circumstances of everyday communication. With the aid of a proverb on poetic adornments of speech; neither are they used, normally, to meet man's needs for philose can aim to provide an endorsement to his statements and opinions, forecast something, express doubts, reproach someone with something, accuse someone of something, justify or excuse somebody…

    • 5184 Words
    • 21 Pages
    Good Essays
  • Good Essays

    Syntax

    • 1096 Words
    • 5 Pages

    1). Make some general observations about the syntax. Are the sentences predominately simple or complex? Long or short? What’s the level of formality? Any fragments or run-ons, any stylistic “violations” of the conventions of grammar? Are there any periodic sentences, parallel structures, or other special features? 2) Make comments based on your observations about how the author’s use of syntax creates specific effects. 1. From Moby-Dick, page 1 Call me Ishmael. Some years ago—never mind how…

    • 1096 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Semantic

    • 454 Words
    • 2 Pages

    students with the opportunity to understand what a concept is and what it is not. It gives students an opportunity to explain their understanding and to elaborate by providing examples and nonexamples from their own lives. S-3. Semantic Feature Analysis What is it? Semantic feature analysis (Baldwin, Ford, & Readence, 1981; Johnson & Pearson, 1984) helps students discern a term’s meaning by comparing its features to those of other terms that fall into the same category. When students…

    • 454 Words
    • 2 Pages
    Good Essays
  • Better Essays

    Semantics

    • 1820 Words
    • 8 Pages

    SEMANTICS -The study of semantics includes the study of how meaning is constructed, interpreted, clarified, obscured, illustrated, simplified, negotiated, contradicted and paraphrased. AREAS OF SEMANTIC THEORY * Semantic fields * Metaphor * Homonymy * Homophony * Homographs * Polysemy * Hyponymy * Hypernymy * Antonymy * Synonymy A. SEMANTIC FIELD * Set of lexemes which cover a certain conceptual domain and which bear certain specifiable relations…

    • 1820 Words
    • 8 Pages
    Better Essays