Advertisement

Variables, expressions, assignments

  • Alexander Shen
Chapter
Part of the Springer Undergraduate Texts in Mathematics and Technology book series (SUMAT)

Abstract

In this chapter we begin (section 1.1) with simple programming problems using variables, assignments and basic constructs (if- and while-statements). Then (section 1.2) we introduce arrays and programming techniques related to them. Finally (section 1.3), we consider a useful approach that helps to develop one-pass algorithms; each of the elements of the input array is processed once.

Keywords

Nonnegative Integer Integer Variable Assignment Statement Invariant Relation Preceding Problem 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer Science+Business Media, LLC 2010

Authors and Affiliations

  1. 1.Laboratoire d’Informatique Fondamentale de Marseille (LIF) CNRSUniversité de la Méditerranée, Université de ProvenceMarseille Cedex 13France
  2. 2.Russian Academy of SciencesInstitute for Information Transmission ProblemsMoscowRussia

Personalised recommendations