Science Fair Projects Ideas - Zeno programming language

All Science Fair Projects

      

Science Fair Project Encyclopedia for Schools!

  Search    Browse    Forum  Coach    Links    Editor    Help    Tell-a-Friend    Encyclopedia    Dictionary     

Science Fair Project Encyclopedia

For information on any area of science that interests you,
enter a keyword (eg. scientific method, molecule, cloud, carbohydrate etc.).
Or else, you can start by choosing any of the categories below.

Zeno programming language

Zeno (after Zeno of Elea) is an imperative procedural programming language designed to be easy to learn and user friendly. Zeno is generic in the sense that it contains most of the essential elements used in other languages to develop real applications.

The Zeno Interpreter was designed for use in Windows 95 and later Microsoft operating systems. The interpreter comes with built-in debugging tools, a source code text editor, and an on-line language reference.

Zeno was created by Stephen R. Schmitt and is mantained by Abecedarical Systems.

Example: Sieve of Eratosthenes

const N : int := 5000
var a : array[N] of boolean
 
program
 
   var i, j : int 
 
   init_a                          % initialize array
 
   for i := 2...floor( N/2 ) do
       for j := 2...floor( N/i ) do
           a[i*j] := false         % mark as not prime
       end for
   end for
   j := 0
   for i := 2...N do               % output results
       if a[i] then                % is prime
           put i : 6 ...
           incr j
           if (j mod 5) = 0 then   % start new line
               put ""
           end if
       end if
   end for
 
end program
 
% initialize the array
procedure init_a
 
   var i : int
   for i := 1...N do
       a[i] := true
   end for
 
end procedure
 

Sample output

    2     3     5     7    11 
   13    17    19    23    29 
   31    37    41    43    47 
   53    59    61    67    71 
   73    79    83    89    97 
  101   103   107   109   113

External links

12-03-2008 10:22:39
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details
Science kits, science lessons, science toys, maths toys, hobby kits, science games and books - these are some of many products that can help give your kid an edge in their science fair projects, and develop a tremendous interest in the study of science. When shopping for a science kit or other supplies, make sure that you carefully review the features and quality of the products. Compare prices by going to several online stores. Read product reviews online or refer to magazines.

Start by looking for your science kit review or science toy review. Compare prices but remember, Price $ is not everything. Quality does matter.
Science Fair Coach
What do science fair judges look out for?
ScienceHound
Science Fair Projects for students of all ages
All Science Fair Projects.com Site
All Science Fair Projects Homepage
Search | Browse | Links | From-our-Editor | Books | Help | Contact | Privacy | Disclaimer | Copyright Notice