Google
 

Trailing-Edge - PDP-10 Archives - decuslib20-02 - decus/20-0047/sorter.txt
There are 2 other files named sorter.txt in the archive. Click here to see a list.

	SORTER
	------

	THE FORTRAN PROGRAM SORTER SERVES AS A LINK BETWEEN THE RELATED
	PROGRAMS SURVEY AND CROSS.  IT PRODUCES A PRELIMINARY TABULATION
	OF THE DATA READ INTO A FILE BY THE PROGRAM SURVEY AND FACILI-
	TATES THE ANALYSIS OF THE DATA BY THE PROGRAM CROSS.  OUTPUT CAN
	BE EITHER TO THE USER TERMINAL OR TO THE LINE PRINTER.


      PROGRAM SORTER

      DESCRIPTION
	THIS PROGRAM TABULATES THE CODED RESPONSES TO EACH QUESTION OF
	A QUESTIONNAIRE BY FREQUENCIES OR PERCENTAGES OR BOTH.

      SOURCE
	NORMAN W. JOHNSON, DEPARTMENT OF MATHEMATICS, WHEATON COLLEGE,
	NORTON, MASS.

      INSTRUCTIONS
	THE CODED RESPONSES TO THE QUESTIONNAIRE SHOULD BE READ FROM
	CARDS AND WRITTEN INTO AN ASCII DATA FILE BY THE PROGRAM SURVEY.

	THE PROGRAM WILL REQUEST THREE PIECES OF INFORMATION TO BE
	ENTERED FROM THE TERMINAL.  THE FIRST IS THE NAME OF THE DATA
	FILE.  THE SECOND IS THE RANGE OF QUESTIONS TO BE TABULATED.
	THE USER SHOULD ENTER EITHER THE WORD "ALL", TWO NUMBERS JOINED
	BY A HYPHEN TO INDICATE A BLOCK OF CONSECUTIVE QUESTIONS, OR
	ONE NUMBER FOR A SINGLE QUESTION.  THE LAST ITEM REQUIRED CON-
	SISTS OF ONE OR TWO OUTPUT OPTION NUMBERS SPECIFYING THE TABLES
	DESIRED, AS FOLLOWS:

		0--DESCRIPTION ONLY
		1--FREQUENCIES
		2--PERCENTAGES

	CROSS-TABULATIONS MAY BE DONE AND VARIOUS STATISTICAL MEASURES
	COMPUTED BY RUNNING THE PROGRAM CROSS.

	THIS PROGRAM ASSUMES THAT INPUT IS FROM THE DISK AND OUTPUT IS
	TO THE USER TERMINAL.  IF A DIFFERENT OUTPUT DEVICE, SUCH AS THE
	LINE PRINTER, IS TO BE USED, IT SHOULD BE ASSIGNED LOGICAL UNIT
	5 PRIOR TO RUNTIME.