<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.karljones.com/index.php?action=history&amp;feed=atom&amp;title=State_%28computer_programming%29</id>
		<title>State (computer programming) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.karljones.com/index.php?action=history&amp;feed=atom&amp;title=State_%28computer_programming%29"/>
		<link rel="alternate" type="text/html" href="http://wiki.karljones.com/index.php?title=State_(computer_programming)&amp;action=history"/>
		<updated>2026-10-23T14:50:13Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>http://wiki.karljones.com/index.php?title=State_(computer_programming)&amp;diff=18828&amp;oldid=prev</id>
		<title>Karl Jones: Created page with &quot;In computer programming, '''state''' refers to the content of memory locations at any given point in a computer program's execution.  == Desc...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.karljones.com/index.php?title=State_(computer_programming)&amp;diff=18828&amp;oldid=prev"/>
				<updated>2016-09-24T23:05:30Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;In &lt;a href=&quot;/index.php/Computer_programming&quot; title=&quot;Computer programming&quot;&gt;computer programming&lt;/a&gt;, &amp;#039;&amp;#039;&amp;#039;state&amp;#039;&amp;#039;&amp;#039; refers to the content of memory locations at any given point in a &lt;a href=&quot;/index.php/Computer_program&quot; title=&quot;Computer program&quot;&gt;computer program&lt;/a&gt;&amp;#039;s &lt;a href=&quot;/index.php/Execution_(computing)&quot; title=&quot;Execution (computing)&quot;&gt;execution&lt;/a&gt;.  == Desc...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In [[computer programming]], '''state''' refers to the content of memory locations at any given point in a [[computer program]]'s [[Execution (computing)|execution]].&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
[[Imperative programming]] is a [[programming paradigm]] (way of designing a programming language) that describes computation in terms of the program state and statements that change the program state. In contrast, in [[declarative programming]] languages the program describes the desired results, and doesn't specify changes to the state directly.&lt;br /&gt;
&lt;br /&gt;
A more specialized definition of state is used in some computer programs that operate serially (sequentially) on streams of [[Data (computing)|data]], such as parsers, firewalls, [[Communication protocol|communication protocols]] and [[encryption]] programs.&lt;br /&gt;
&lt;br /&gt;
Serial programs operate on the incoming data characters or packets sequentially, one at a time. In some of these programs, information about previous data characters or packets received is stored in variables and used to affect the processing of the current character or packet. This is called a &amp;quot;stateful protocol&amp;quot; and the data carried over from the previous processing cycle is called the &amp;quot;state&amp;quot;. In others, the program has no information about the previous data stream and starts &amp;quot;fresh&amp;quot; with each data input; this is called a &amp;quot;[[stateless protocol]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Execution (computing)]]&lt;br /&gt;
* [[State (computer science)]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
* [https://en.wikipedia.org/wiki/State_(computer_science) State (computer science)] @ Wikipedia&lt;br /&gt;
&lt;br /&gt;
[[Category:Computer programming]]&lt;/div&gt;</summary>
		<author><name>Karl Jones</name></author>	</entry>

	</feed>