To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.faqOpen lugnet.faq in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 FAQ / 509
508  |  510
Subject: 
autoFAQpost /robotics/what_are_some_mindstorms_terms.en.faq
Newsgroups: 
lugnet.faq
Date: 
Mon, 12 Jul 1999 23:40:34 GMT
Viewed: 
1579 times
  
Subject: What are some common terms I will see in the Mindstorms mailing list?
Topic-Level: 1
Content-Language: en
Originator: Aa-Tchoo, 1999-05-07
Revision: Eric Lind, 1999-05-09
Revision: Blake Winton, 1999-05-10
Revision: Jeremy Sproat, 1999-05-11
Reference: http://www.lugnet.com/news/display.cgi?lugnet.robotics:4961
Reference: http://www.lugnet.com/news/display.cgi?lugnet.robotics:4972
Reference: http://www.enteract.com/~dbaum/lego/nqc/
Comment: let's fill this out!
Location: /robotics/

<P>

<DL>

<DT><A NAME="roboticsterm">00_FILLER</A></DT>
<DD>00_FILLER</DD>

<DT><A NAME="roboticstermclasslibrary">class library</A></DT>
<DD>A collection of related classes, function, and modules that can be
reused in other programs; a method of keeping one's code collected.</DD>

<DT><A NAME="roboticstermdynamicmemoryallocation">dynamic memory allocation</A></DT>
<DD>Deciding at run-time how much memory is needed for a given data.
Normal variables are allocated statically.  For example, an int might
always take up 32 bits of memory.  More complicated objects can be
dynamic, as the size required is not always known.</DD>

<DT><A NAME="roboticstermdynamicstringallocation">dynamic string allocation</A></DT>
<DD>Not many languages support this.  Usually, strings get a certain
amount of space; i.e., C++ has you create a character array of a given
size, and that's how big the string can be.  Java simulates dynamic string
allocation by creating entirely new String objects each time the string is
changed.</DD>

<DT><A NAME="roboticstermglobalvariables">global variables</A></DT>
<DD>The opposite of <A HREF="#roboticstermlocalvariables">local
variables</A>.  These variables are visible to the entire program and can
be accessed anywhere.  The original Mindstorms language has only global
variables.</DD>

<DT><A NAME="roboticstermlocalvariables">local variables</A></DT>
<DD>A variable that has limited scope.  In other words, the variable only
exists and can be accessed by a small segment of the program, usually a
function or method.  Useful for storing temporary information that the
rest of the program doesn't need to see, but that you need for a given
chunk of code to work.  Compare with <A
HREF="#roboticstermglobalvariables">global variables</A>.</DD>

<DT><A NAME="roboticstermnqc">NQC</A></DT>

<DD>An alternate, fan-written programming language to replace the original
Mindstorms language.  NQC stands for Not Quite C, and has many features
which appeal to experienced programmers.  It has its own Web page at <A
HREF="http://www.enteract.com/~dbaum/lego/nqc/">http://www.enteract.com/~dbaum/lego/nqc/</A>,
and its own FAQ at <A
HREF="http://www.enteract.com/~dbaum/lego/nqc/faq.html">http://www.enteract.com/~dbaum/lego/nqc/faq.html</A>.</DD>

<DT><A NAME="roboticstermobjectorientedprogramming">object-oriented programming</A></DT>
<DD>A programming paradigm, as opposed to iterative programming,
functional programming, or logic-based programming.  Objects have
variables and operations on those variables.  One can move objects around,
chain them together, have them talk to one another.  Java is mostly an OO
language.  C++ is a hybrid of OO and iterative, and is based on C, which
is iterative.  LISP is a functional language, as is Scheme, a LIST
derivative.  Prolog is a logic language.</DD>

<DT><A NAME="roboticstermrecursion">recursion</A></DT>
<DD>The process of one function calling itself to solve a problem.  This
is done by breaking the problem down to its smallest size, then combining
the smaller solutions.  Factorials are usually used as a simple example of
recursion.  <TT>6!  = 6 x 5 x 4 x 3 x 2 x 1</TT>.  One can repeatedly
break the factorial down until you reach 1, then recombine the problem to
find the final solution.  For example: <TT>6!  = 6 x 5!</TT>; <TT>5!  = 5
x 4!</TT>; <TT>4!  = 4 x 3!</TT>; etc.</DD>

<DT><A NAME="roboticsterm">rcx</A></DT>
<DD>00_FILLER</DD>

<DT><A NAME="roboticsterm">LegOS</A></DT>
<DD>00_FILLER</DD>

<DT><A NAME="roboticsterm">Cybermaster</A></DT>
<DD>00_FILLER</DD>

<DT><A NAME="roboticsterm">mailing list</A></DT>
<DD>00_FILLER</DD>

<DT><A NAME="roboticsterm">semaphore</A></DT>
<DD>00_FILLER</DD>

<DT><A NAME="roboticsterm">Mindstorms</A></DT>
<DD>00_FILLER</DD>

<DT><A NAME="roboticsterm">LEGO&reg; Mindstorms Internals web page</A></DT>
<DD>00_FILLER</DD>

</DL>

</P>



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR