You are here: Home >Posts Tagged ‘plc

PLC Chapter V – Expression and Assignment Statements

 A. Expression Statements A combination of variables, constants and operators that represents a computation forms an expression. Depending upon the type of operands involved in an expression or the result obtained after evaluating expression, there are different categories of an expression. These categories of an expression are discussed here. Constant expressions: The expressions that comprise only […]

Tags: , ,

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

PLC Chapter IV – Data Types

Data types in any of the language means that what are the various type of data the variables can have in that particular language. Information is stored in a computer memory with different data types. Whenever a variable is declared it becomes necessary to define data type that what will be the type of data […]

Tags: , ,

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

PLC Chapter III – Names, Binding, and Scopes

A. Naming Convention There are various things that have to be paid attention to when giving name for a variable, class, and such in C++, such as the following: – Naming should be unique and a variable should not have the same name with other variables in the same scope. – Reserved words and keywords […]

Tags: , ,

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

PLC Chapter II – Describing Syntax and Semantics

A. Definition The word syntax comes from Ancient Greek: σύνταξις “coordination”, which consists of σύν syn, “together,” and τάξις táxis, “an ordering”. In computer science, the syntax of a computer language is the set of grammatical rules that defines the combinations of words and symbols that are considered to be a correctly structured document or […]

Tags: , ,

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

PLC Chapter I – Introduction

A. Reasons for Studying Concepts of Programming Languages ➢ Increased ability to express ideas. It is believed that the depth at which we think is influenced by the expressive power of the language in which we communicate our thoughts. It is difficult for people to conceptualize structures they can’t describe, verbally or in writing. Language […]

Tags: , ,

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS
 Page 2 of 2 « 1  2