title: Pseudocode: a clear definition?
body: <p>The following code is an example of what I think would qualify as pseudocode, since it does not execute in any language but the logic is correct.</p>
  
  <pre><code>string checkRubric(gpa, major)
      bool brake = false
      num lastRange
      num rangeCounter
      string assignment = "unassigned"
      array bus['business']= array('person a'=&gt;array(0, 2.9), 'person b'=&gt;array(3, 4))
      array cis['computer science']= array('person c'=&gt;array(0, 2.9), 'person d'=&gt;array(3, 4))
      array lib['english']= array('person e'=&gt;array(0, 4))
      array rubric = array(bus, cis, lib)
  
  foreach (rubric as fieldAr)
      foreach (fieldAr as field =&gt; advisorAr)
          if (major == field)
              foreach (advisorAr as advisor =&gt; gpaRangeAr)
                      rangeCounter = 0
                  foreach (gpaRangeAr as gpaValue)
                      if (rangeCounter &lt; 1)
                          lastRange = gpaValue
                      else if (gpa &gt;= lastRange &amp;&amp; gpa &lt;= gpaValue)
                          assignment = advisor
                          brake = true
                          break
                      endif
                      rangeCounter++
                  endforeach
                  if (brake == true)
                      break
                  endif
              endforeach
              if (brake == true)
                  break
              endif
          endif
      endforeach
      if (brake == true)
          break
      endif
  endforeach
  return assignment
  </code></pre>
  
  <p>For the past couple of weeks I've been trying to create a clear definition of what pseudocode actually is. Is it relative to the programmer or is there an actual clearcut syntax? I say pseudocode is any code that does not execute, how about you? Thanks (links to this subject welcome)</p>