A SAS Testscoring and Item Analysis Program which Utilizes the SAS Hacro }" aci~i t y Charles E. Rich, Ohio University Backqround name and appropriat€ disk file data set name. The last line of each data file contains the parameters indicated on the ~equest form. CALL SY~FUT statements arE used in seo II to crea te macro variables which will direct SAS macros in qer:era-ting lines of SAS code. A parameter summary sheet is output reflecting user- selected features. Also, if a job fails due to user error on the request form, the parameter sumaary sheet output by that job will indicate the errors and the necessary corrections. The author (Rich, 1983) has previously described SCOR, a S~S program used by the Testsccring office at Ohio University to score multiple choice tests, perform item analYEis, and create raw data fi~es for USErs. A full descript.ion of the features provided by that program is availatle in the cited article. SCOR was tailered using eMS execs according to user output requests, and a mUlti-step job was created to process the tests. The ;01; was t her. run in batch on an IBM 370-158 against a Bulti-file data tape produced by an NCS 7003 optical scanner. The present article describes revisioDS designed to increase efficiency throuqh (a) havinq users specify features and suhtests on a customized NCS form called the Scan Request Porm, to I:e scanned with the standard NCS forms, (b) larqely replacing eMS execs with S~S macros which generate SAS statEments in SCOR accor::ding tc informaticn frOID the request form, and (c) runninq user jobs simultaneously against ap~ropriate OS disk files. This papEr includes a description of the pre-sent system flow, futur::e plans, and a condensed copy of 3. fILF PUNCH is used to create raw data files. Because of the predominant demand for virtual data files, only card-image files are produced by default. The operator queries the system punch after the SCOR iobs have run, transfers the SCOR punch files to the operator's reader and thence to the users' virtual machines. Backup copies of th e raw data fil€s sent to users are kept in the operator's reader for a week. 4. These jobs aIe all run simultaneously against the disk files, a quicker process that running one multistep iob against sequential tape files. After each SCOR job has been run successfully, the corresponding os disk file is €ra.s€d~ SCOB. System Flow 1. The user turns in a stack of forms in the following crder: answer key, any sub test keys,' student answer sheets, and the Scan RequEst Form. For each sub test, t he user fill s cut a standard NCS answer sheet, putting a subtest title (optional) in the name field and blackening in anyone of the five bubbles for each item to be included. Any bubble will do, since this is a nkey" only in the sense of indicating whether a given item is to be included on the subtest. SAS macros later proOuce these item names and the correspondinq SUBTES~ statements within Res Future Plans It is anticipated that SCOE and the system flow will aqain te revised so as to run in eMS S1\S, -probably resulting in another gain in efficiency. Also, it will then be possi~lE to read the NCS tape files onto the operator's C~S disk, thus avoidinq usaqe of as disk Epace an~ the use of IBM utility Frcgrams. References Rich, Charles E., A S~S Testscoring and Item Analysis Proqrarr. r!Q£~ding§ Q! ihg ]ightB A~Y21 2A2 Q§g£§ fr£Q~£ International £2n!~~~n£~. January '6='9~--'ge3: NEW Orleans, Louisiana. SAS Institute, I~c.: Cary, North Carolina. PROe ITE". 2. The NCS sednner writes Up to 10 files to tape, one file I=er se t of user RCS forms. These tape files are then written to OS disk and named uniquely. The operator uses a simple eMS exec to create a separat~ tatch SAS jcb to be run against each as disk file. The exec edits the JeL to create a unique job !!.§.§£~§ Quigg: ]asj,£§, 1982 Edition. SAS Institute, Inc.: -cary:~orth Carolina. 601 •••••••••••••••••••••••••••••• The SCOR Program •••••••••••••••••••••••••••••••• II EXEC 51S, II OPTIOIIS_'UCP.O I'I~OR"'~4K IISIZE~60J\" I'ILE~VE~31)~ Ie f., IISYIISH,E~5J\"',SOIl'f~a IIWCSDAT DO DSlt~OD. AilS. SCOR. DAT A, ,DISP"S!IR n~'I'_ l'A"IIMS: OPTTON": E~PORABPNO DQtlO!E: 'LET .1I1A1I~ 1: '-I.E'!' P'I'T .. 1. 'J:LtT CRD~ 1; 'nET CRT'" ?; • Q~ESTICN MRIIS "'RE fOITED BY C:'IS nEC; LU~TII VUS 1I0llTH $ ] nACIIIII£ $ 6 OFTIIS S'HIIOPLY I!ICI~S SOIlS'UT S1UDFEP HUEREP NPO SOBTVAR slnr IDI':AX S05T sUnUII OAf YRAiI S 2 TITU: S 20 DEn S 1) SREE'fS $ 12 CALL S 11 : lliFILE 'CSOAT E\I'D~FIII ; INPD'!' TITLl: S 1-20 UCHINE $ 2'·28 rEPT S 29-33 IIOHTH t 111 I1AY S 35-36 YEAR t 31-38 SHeK'l'S S 19-4Q SCOtlONL! S ~s STAIIONLY S 46 SOR'l'VAR 11 n IIAU:Bep $ 118 sTlIDlIEr S 119 SKEY $ SO IIID!CfS S 51 so"!snT $ 52 IIPO S 5] VIID $ 54 SIlB" 11 55 SOl'IIU,r:- S 56 SUBlitllI S 51 VARS $ 59-60 OPUS $ 61 IBIIAX ! 62 CALL $ 63-66; An:UY CPRII $ SOIlTVAP. 1I11'lEIlEP S1'lltlREI SI(!J INDICES SII~STAT 1110 SIIB'!' SUlJIIAar:-; • USE 511"101' 10 SEE IF U1Y'!BIIIG ElCEFT SCOIlE DESIRED; SIl!OP-51l11 101' SORTVAR II1\1'IEREP S'IIIDRIP SII-BY INDICES sr!'\ST~'I: 111'0 StlllT SUDIIIIII SUIIONLY VIID SUI!IIARI(): IP SUllOI' EO • 'fHU 5t1110P:0: • IlS! SIH'IOP2 1'0 SEE IF ANl'rOING EXCIPT B~'11 OATA DESIEID, SU~OP2=SUII ,or SORTVAR !!'AnRU SIDDRl'P SII''ET INDICES SD'!STA'I' NfO SUB'r SU!lIlDII STANOIIL'/' SOIlIlUII:); II' SOllOP2 EO • 'THEN sunCf2 .. 0; SIJ'IALL~Sn1'lOP~SCOBOIILY; IP SIJI'ALL EC , THrll SU~ALL"'O; DO OVER CPRr., IF cPlln EO " IHEII (P811-'9', END; IP SCOltc!fLY EO ' , Tnn SCORONLY"'9'; IF S,.A\lflIlLY EC ' , THEil' S"A\lONLY~'9'; IP SUBlftlll EO' , THEN StlllNU1'I-'O', If V~!lS EO' ''fIlEII VI\RS-'~': IP T"ITLE EQ ' , ~llfN 'rUT"'''!': II' :t~CHIKE EQ ' , 'tHEN 1'IACH.IJE='';!'i IT V~D EQ ' 'THEN '1'10-'9'; IF OPTNS EQ ' , TIIEH OP'!IIS='I':17 IIIIAr EC ' , THEil ID~AI2='l'; [LSE ID'!Ar2~'O'; Il' IDnAX EO '1' THEil IDI'IAl-""'ilf ItllJlX E(; , 'OR IDMX I"Q '2' TH~II IDIIAJ:~'IO'; I!' DEPT ", , THEN OEPT,.'NCT INr::CATE!:'; .II' CALL ~Q ' 'THf:N CJlLL='1I0T IlItICnl':t' ;11' SflEE1'S-' , TIIE~ SH:t:£tS~'I)', IF ~OlltH EQ ' 'THEIIIIOIITH""O'; 11 rAY EQ' ''tHEN DAY:'O'; II' TElR EO' 'TH::Jf TEAlI-'O'; 'IIIISln,.l; IP YEAR EQ ' , HID nu EO' I UD YEAR EQ' 'TliEN TnSU~"O: II' ItOMTH lQ '0' 'IHlN 1I01l'tH-'''', I!' tAY I'O '0' THEil tAY~'.'; IF n:HI !Q '0' THEil' TEAR:'.'; IF 1I0M'rH EO 'P TI!?II IICIITA='JU': II' 1I0HTH lQ 'II' Till II 1'I0IlTH='l'EIl'; 17 MOIfTH fQ 'C' 'IH~II 1I0'TII"'UR'; IF IIOMrH EQ 'D' THEN 1'I01i'IH='APR'; IF IICIIT" 'E' TfI!1I IIOIITII~'RAf'; Il' :'IO~TH EO ' f ' THEil IIONTlI='JUII'; I t II(IITH EQ 'G' THE!' 1I1111'!'1I~'JOL'; II' 1I.0~TH l':Q 'H' TItEIi IIOII'rH='AUG'; IF IIC'II'1'f! EQ ' I ' TI'EII' IIORTH~'Sl"F': IF !lO~TH EO 'J' THEil 1I01l'l'H""CCT': If IIOIiTfi I'Q 'K' Tf!EII WIITH='SCV'; IF '!OM'I'H EO 'L' THFII IIO!lTII~'DI'C'; If 1'IACHIRE CQ '9' tll!':~' IIAL1"'1I0 1'1110'; "GLOBH S'BT III X SI 1\-1 T IIC S'ICII SR'- IIh In liP SlI')'lI IJ!'I 511EP SCUll ~II SIlII 5HT5 !lII'IH DY YAR I n 11: : CH!. SllIl'UT ( ' a u ' ,'l:ALl); CALL srllpUT ('SST',StllIT): CUL SY~fUT ('R~' ,OPTlIS}; CALL SUlPUr!'l' ,VA~SJ; CALL 5Y~PU1' ,'IS',SUIlSTA'rI; (UI. SY~PU1 I'U',SJEY): CALL SYllfUTI'!'.!'ITlEJ; CALL SYlI.pUT I'IIC',~ACI!IIIE); CALL SY~PUT I'SIO~',STAII09LIJ; CUL SlllptlT l'sn',SORTVAlI); CALL SYIIPUT l'IIR',IIAIIEII'p); CUL SY!lPDT l'OI',IIIDICES); CALL SIIIl'U1 """,.,'0); CALL 51IlPIIT,'5flTII',SUBIIUIlJ; CUL Sr'!pUT 1'1011' I I[lIIA1); CALL sT"IItI'I I' SRIP' ,5'1UDREP) ; CA'LL SYIlPUT ,'IDII2',lDlIlX2); CUL SYIIPOTI'SftAL',SOIlJ,LLI, CALL SlllpU1 I'SCOII' ,SCOROMLY): CALL SYIII'1I'l: "'11','1110): CALL srllPUT I'SII!!' ,SUBIIAR~); CUL STllrtJT I'SIlTS',SIIEETS); CUL SHIPUT ,'CL',CAlL); CALL ST~PUT ('Or",eE?'!'); CUL SYIIPU'r I'IICALT'.IIALTI; CHL SY'IPIIT('IIII!H',1I0NT!l): CALL SY'If11'!'l'Ol',OU); CUL Sr!lPIl'rI'!U',YlAR); cn L 5Y I! PtlT t' St\:J r'. st; !lOP) ; CAt 1 5Y IIPO':' I' 511CP2' ,5 II WP2) : CiLL Sn:l'u'T,'TII511',TIIISOIl}: IT fIll liE 1 TBE~ OEUTt; DATA AN5KEY: '~ACIiO CHECU; 1LE! I'J",UVALI£X • J.i3j; nF n EQ 0 ':"TlltM nn IT=~5; I~EIIIJ CII!CU: ';CHECKI nYILE NCSDA'! END~~U; • OIiLY HEP AIlS KEY; UPUT i111 NUl'! $CHAR20. i1121 IIOIiTE S1. i1122 tAY tCHAR2. illH ytAR SCRlR2. ilI26 10 SCHAR10. a!l36(SP1-5P6) (S1" iIIJ.i2 SFX $1. ijJ.i] Gun~ $1. ijJ.iJ.i 1~I-C&Xj($l.) TESTkl'!Y ! J.i~-&IT: IP _". EO 1: lP _11_ lO 1 THBII ('AT.T Sy~ptl1{''l:E5.'r~'.'fFS'!'1I:EY): DATA KEIClIEC!':; • K~lCHEC~ COM'!.\lIlS CIILY HS KEY; '1I!ACliO 5.~TOpT: ')ITP f.5.RT "Q , '1T"EII 'DO; Nl~1' 10 '£lIr: lIP &SRT EQ "I nHEJ{ ~DO; ID YA!lE 'fEIID; nUli'D SRTOPT. "MACRO IISTRSORT; "U' OSEvn Itsn'! EQ 1 UD 0111 EO 9) "JlTHEII "DO: ID IUD: ~!LSE lOa: ""snorT ~;::90: "!IUD ~STRSOII':'; SET usrl!'Y; "UCIIO R'P.P; ';LET C"'24; nl'!'t D=&('&IIII; IF _". EQ 1 '1'111':11 00: RESp",COLU'tR(2"'.&D); 1Il"'VERIrr(TESTII£Y,R!SP); CALL STIIPIlTI'IYZ' ,XlXI: "GLOBAL OP; CALl SY"PlIT{'OP',RRSPJ: lIID: '1nllD 5DEl': "IDI'l' D~TA REPORT: SET KEYCHECI EJD"'fIlI: TITLE: HAIIE=' '; 10'" '; 'lUCRe PRTPARII: ,;IF tTALT j':Q 9 1THEII SDO; "LEt UU"IICT UDInTED; '(LET T=RO UUE; HHD: ';ltSE "0(,]: iLE1 TUT",r.'I': !.PID: flll i1 'TnLF, • -STUT" ~: PUT i314 'DEPT: ' "SD?- i; ';1" XALT:SI: UF &X E:l 0 'JI:TRElI ~UE'I XALT=NOT IIIIIICITED: P~T ij65 'In:'!s: ' "tlALT" i; "LET OPUT=t..OP; !tIl' tRR EO 1 "THE" "JlLET OPALT-1I0'l' I_DICATED: lLET lIRALT=&~R; Ur &li:R fQ 1 'THEil 'll'LET UALT=1I0':' INDICATEII: POT a97 'CH()ICES IDEJITIPIED BY: ' "tOPALT": PUT iii' 'TES'!'SCOEE FILE: ' .. tPT'!'~ a3J.i 'CALl 110: • "tCL" 0:65 'tlo. OP CH()ICRS: ' "tR(tAL'I" il97 'P()III'! VALUE OF E~CR 1:'I'EI'I, \OJ IF &1'1151'1 EQ 0 'IIlEII ~OT al 'onI: NOT I!;[ICATED' iii: If &711511 EO , THEN POT ~1 'D~'tI: '~tIlNT!I" ,-, "tDY" ,_, "EY~I!" iii; ';:"ET IICALT:'IlC: HI' UVU(tllC IQ 9) UlI[N 'JI:LET IICAL'I=1I0T UDICA'f!D; PUT i]J.i '!lACHI~E, ' "t~CAL't .. iill nET 'IDIIAL'I~tIDII; HI' &lD'I2 EQ 1 1:'1HEII u n ID!'IALT=NO't INDICAUD; po't i65 'IIAX ID LUGTlI: ' "UtIULT" iI: 'nET XALT-"ex; UF tx EO I) na£ll HF'I ULT"'??~: PUT il91 '1'IAXI1'IU~ I'OSSII!LE SCOf.E: ' n&X~L'I'": -':LE1' SHTAL1''''&SE'!'S; &SHTS FC 0 nllE~ 'UF.'I SIIT!LT~IIOT IJOICATED; POT il65 'SREETS: ' ngSII'fAL'f"; '1~E"'D PR"II\~~: ·CflECKS fOR USEE IIIPJ,. unollS or SPICIH COIIDITIONS 011 CDSTO"UED ICS SHEET; ARliU EIiVAIlS BII1-ElIJBf DC on:1l P.IlUBS: EFUII&=O; EllUl IF t1 o !liD tSCOIi 9 AIID &n '" 9 AIIO f.SIIOP2 = 0 UD tllB '"' 1 tIn ER1=1; I~ &1 a AND tSCO" 'l AND eVil _ 'l AHD 6~I!OP2 '" I) llID StlN liE , 'IDEII 1'112=1, IF &1 '" 0 AND ~SCON '" 9 AIID tVII ~ ') UD r·Sl'!OF2 liE 0 UlD tRR III 1 111E1 !1l]~1 IF &l - 0 ~N[) SSCOII - ') All!> tV" w 1 AND tSMOF2 liE 0 All!) &IlH RI TIIU E~II-l IF or r 0 UD &SCOII = 1 AND f;VII '" 1 AlIO f;SI'IOP2 liE 0 AIID &F~ N! THEW ER5=1 Ir Sl liE 0 AIID SSCOI! - ') AIID &VH _ 9 AND &S~OP2 a I) All:> eRR II! 1 TIlU ER1=1 "If 602 """ " "" "" "" " 0 """ """ 000 '" 'M> '" "" "'0'0 0 m'" '" e "" " ,0 ." " ,0 '" " " '" " "" ,0, '" '" 0 ." , 0 '"' '"' (;SCON tSCON tSeON &SCOM &SCeN 0 ~.x ~!lD SCON ~ (,SCO~ &SC(l~ GSCON II &X !t~ If' &X EO 11" &X EO IF' II' II' If r.SCON &sec 'Q f.~CO~ AND eSCOM &SCO~ , , ,"0 '" '" '" '" ,, m'" f.Sllor " ~S"OP &YO '" ,, '" '" '" '" '" '"' "" "" '" &SnOPl &n '" '" '"' ." '" '"' '"' '"' '" '"' &n '" '"' '"' '"' AND '" '" '" 'CP2 '" '" ,,, &n '" '" '"' lIin '" tSllOP2 a 1111) GIIR fQ ., 0 ~MD NE \J &~1l 1 'tUM EBl~l; '[II~M ~Jll1.'; liE 1 lIID Lilli fQ 1 rH!:~ EJ16_1 &SIIOP2 'EQ 0 ~lID &RR EO 1 THE. ERl'j"" &S~CP2 EO 0 AlID till! EO 1 TH~. 1120=1 rs~r:1>2 fQ 0 AliD fiRI! EO 1 THE. !l2l:1 1:1': 0 A~D tRR EQ 1 THEM E1t22=1 EQ 1llD &P~ EQ 1 THE. n13=1 tS~DP2 liE f,SKOP2 A~D LRli EQ 1 fflE1 ER2f4=1 cv~ GS~C1'2 Ill[ 0 &S~OP2 lIE 0 ~!lD "Cf s<;; AND LRE EQ TI1E11 LH LS!llJP2 liE ts Ea tSIIOP2 liE lIID f;R~"E~ AN ll' til F \IE AND r;RR EO TIIIlM EII2S:' THEN ER29= 1 THEN E1I30=1 ER2S~1 THEM E1I26:1 &1 EO &~CO~ tSlloP2 liE AND Gilil U THEM EII)1:' &X EO &SCOM &S"IOP2 EQ A"I'O S!lF lIE TIIEII ER32,.1 &1 EO 0 AND f.;,co~ 1 r.v~ 1 AND r.S~OP2 EO urn f-RP lit 1 THEN ER]]:1 &SR!? EO 9 AI!D &~y EO 1 lHEN ERJ~~I: '-~ACBO C1LCERR; 11P UVALII&SBT EQ 1 OR &SBII EO 1) AND &S'ETlf EO OJ 'If'IBEK 1':00: ERJ~=I: ~£JI'D: UP "EVAIIGVII £Q 1 .\ND &lIe EQ 9) :r~F.lN 'lDO: ER3~_I; :lElID; "~EIID CHCERR: fC.uCERR I f tXYZ liE 0 A.ND tSIIOP2 RE 0 TIIEII ER37",; I f &SRT EO 1 AND &!lR EO 9 THIll IR38"1: !III1SG1=O: EIIIISG2"O: ER1!SGJ=O: UIISG4=O: 11" ER1=1 OR ER2"1 OR ER1=1 OB nl~=1 'IHEW ER!lSGI:l; • NO fEATURES: IF EB3=1 OR E1i4=1 OR ElIS"1 OR 1'B20=1 CII £R21=1 ()fi ER22=1 OR fR23=1 OR ER24"1 OR ER25=:1 OR F.R29"1 OR ~nO=l Cli. ER31=1 CII EII)2=1 nR RII'J=1 THF.N F.R~S~2=1: • MD~ OF ITEI!S IF' ER10=1 OR 1!lI15=1 OR EE2&=1 CE n28=1 '!IIEN ERltSG]='; NO OPHIS " IIISCELlAIIl!OO"S EIH10RS HnL FOR A~AL1SIS: I f EII10"1 eR ERll=1 OR BII3S'" OR Un=1 OR tnz liE 0 OR t.'>1!0!'2 EO 0 'fnl!N EEnSGIj*I; ERRSOII"surqoF ER1-E~9 ER12-!:RJ8); fILE PRINT; PUT ill 132~'.' / i45 'T ! S T S COli e PARAIlt'JEB SHEE'r SOIlIlARY' / .. 1 1Jl*'~'/"l 'IDElltIUllIG OUA Alit HA'l"URr.s St:LECTEO rHon SCH RIQUIST FOR!!: • liil ,----------- ---- --- -----.-- -------- ---- ---- ------ _____ '; IPETPAIIII PUT ill 'PEATUIiE DeSCRIPTION (!OE! CPrRA'IIOM NOTES, IF ANY, BEtOil' / a1 , - - - - - - , ilIl,. 119"'-' I: IF EIi~SG1 EO 1 THEil PUT 0112 'MOIE'/: IF tSCON EO 1 tEn PUT au ", ilI1U 'OllIY PRINT SCORE (II USWEP S~[ET (110 TEST llHLYSiSJ' I: U' tSTOIi EO 1 THEN PUT illi '2' ilIlli MSTAIID~RD OU'!'~UT CNlY (IN(tllllrS GIIlDE REPORT, SO"UARY OP TEST STATISTICS, n:u AM~LISiS, II/STRnCTOR'S UST 0' sCORES-I il& 'AIID WRONG ANSIiERS, RUI PllfQIlUC! CCON!S PE~ it!II, SCOIlE: O' USIlER SREE'!', Oil TP01 lISTED IN lIUrU:RICJ\1. ORDER ~Y 1t)' I: IF tSRT EO 1 THEIl PUT iU ' ] ' i!14 'HPHHflIZE OIlTPUT Sf MAPI~' ; ; IF ~IIR EQ 1 THEil PlIT OJ" '4' 11'1 'IIAI"ES O~ IIISTP.O"CTOR"S LIST' I; IF' tSRfP EQ 1 THEN PDT il4 '5' ill/j 'INtiVIIlD~L r;UDE RE!'OllTS' I; IF tKY EQ 1 TIIEN PUT ;)11 '&' iil14 'AMSIlIR HY ON IIIOIVIDIlAL GRADE REPORTS' /; IF WI F.O 1 THEN PUT iillj '7' i14 '[UfICDl'IY t OISCU!!INATIO~ urnES' I: IF tIS EO 1 THEN PDT iilll 'B' il14 'CTHn S1ATISTICS (!tIEDlAN, ~OOE, ETC.)' I; IF &IIF EQ 1 "IIIEI! PUT all '9'·"14 'PPCGPA!! OF.SCITIPTIOII'/: IF BV!! EQ 1 THEN PUT a.) '10' aH 'CRUTE RAIl DUA rOil VUTUAI RACRIN!: • °: -&!'ICIlo.11" * I: If' (f.SB~ EO 1 OR ES8T EQ 1) UD tSE~N Ee: 0 1HEII PIlT ill '11' a14 'PFOCESS SUfT)!SlIS)' /; IF (t5~~ EO 1 OR &SBT EO 1) UD &S:'IN GT 0 'HEll PDT it3 '11' a14 'PROCESS' "&S8T'" , SUB!E51(S)' I; PUT ill 1J2"~I; "' CRECKS 011 ClUSSIOlfS AND INCOIISISTENCIES: PO"T iill 'OPERATION NOTES:' a.: IF tRRSn~ F.Q 0 THEN PUT il20 'liaNE' iii: P"T ) ill , ______________ • : IF ERPlSG, EQ 1 THEN PUT 011 '(<< NC FE~TtlBES SSLECTBIl. NO PROCESSUG nOIll. nS1IER II!! COUtD !lOT Ill! PRINTED. '/; I f EPI!sG2 EO 1 TIIEN PUT iill ,«< IIU~I'ER Of I't!lS NOT SPECIFIED. nE~ UAlYSIS, IF ?:EQUESTFD, COOLD NOT BE DONE. RAil tATA, II' fEQ1HSTfD,' ,. iil5 'CCOID MOT B[ CRl~T Ell. AMSIi!R KEY coutO 1I0T BE PRiNTEr. 'I: IF tR36 1'"Q 1 AND ERlISG2 FO 1 TIIU POT 011 '(<< FE'&'T!I~E to liAS RE(1)"E5TtD, BO",. NO ~ACHNE NHIE liAS GIVEN. SPECIfY NA~! IIHoN H'-SIl!l~nTI!IG REQDEST .'/: If ER36 EO 1 AND ERI'ISGl EO 0 TilE II FliT <Ill '«;< rG~l'IIKE 10 liAs RE~oeSTED, BlIT 110 MACHI liE NA~E liAS r;IVp.N. PLEASE CC~'!ACT TES~SCCRE Ot'1'RATOII IIIIIItUTEl.Y REGARDiNG DATA.' I; IF ~RJ8 EQ 1 THrR PUT :Jl ,<<< HUlin J WAS SElEC~Er:, !lIlT IIAIIIS II!R"!! NO~ REQDEST ED 011 IhSTRUCTOR"5 tIS'!" IFEATURE II). HSTRII'CTOE"S LIST Vlll H OR~Ee.tD'1 jS '1I1J~RIIII";Al.IY III ID.' I: IF EIl34 fQ 1 THIll ruT 1111 '(<< HATDBE 6 'lAS SElECTED, !lOT PUTORf' 5 US NOT SElE CTEJ. I'POG!lA~ !)EU!1ITS TO II'SIlfG 1'01S PH1UHS. 'I; IF EII35 EQ 1 'lYEN PDT Iill ,«( FEATURE 11 lIAS REQUESTED, BUT THE ~!I!'!!lEIl OF SDB'IlSrS US NO')' noteA'!" ED. 90 AII~IISIS PEHOBMED, SI~CE IT COUlO D~ INACCOU"!.' I:· If E!l1'ISG3 EO 1 1!1E~ P!lT ii1 '«( JlUIIHI! OF CHOiCES N01 SPECIFIED. 10 ANALYSIS CO OLO BE [JOME. 'I; IF eRn fQ 1 Ttilll' PUT Iill ,<(( AMSII::!R ~!Y VAIOE(S) IIISI!ATCHED IInH IIIDlnnD UIIGE Of CBOICg VALOES. 110 AIIAlTSIS PERfO~IIl:ll. nROp. ~u El: DDE TO CNF OR MOIl! ' I 0115 'OF THE FOLLOIIUG: IAl NOT IJD1CA'!"ING ~O~IlER or 111!tI5 OR CHOIcrs OR (B) nDIe ATING THE IIROliG 1I0~BEa Of 1'1:I115 OR (HCICES, ' / 0115 IIRONe; HOl'liltil OF !'>HFtTP.S'!<::, Oil ID) FAllING TO I'D'! SOHTrST rEI IS) A"ER UI SliER KEy AWD BEFORE S!ODIIIT AN511ER SIIIFT!;,' I i115 'OR IE) SD!lI!ITTUG A BUNP;: SCAli REQUEST POR~.'''; PO'! al 132"'''': • EC~O '!HE lEI USID; IF II EQ 1 THEM DO; HPn IT!~l\:El(JJ ! Ql-Cf.X: !,KD; '.l'IUCFO FRtny; FUT-w1 '.&.NSWER KEI SUPPLlED: INO'! APPLICABLE IF ONLY "RAil Ollo."~ REQUesTED)' I it, 1------ --- --.-----, : IF U!!SGI EO 1 OR UIIISG2 EQ 1 TIIEN Goro llT: START;:10: DO OVER ITEllur; I"H'II_l/12); If fI/ll) EO Z Tun DO; p1)"'1' oIISTART I 3. '(' aS1ABT+\I I'fEI!KEl 1. ' ) ' I: StART=10; GO TC REPitAT; !1I0: PUT ~S"ART 1 J. '(' aS~AR"+4 iT£~REY 1. ' I ' iii; START=STAPT+'l: IF I f.0 &1 tl!EII PU'! II; REPHT: EIID: eT: ; 'lU!f!l pnrn; '!:PllTUY ~IU.CRO DPALTS: UP %EV~t(&SREP EQ 9 AMO &n EO 11 ~THEM $LET SU~:I: ~iF' tl'lC F.O q !TI!F.R 'lLET IIC=OPSCAR: II~EIID Cl'ALTS: \lDrALTS • IF SHEET SCORfS ONLY, OR IF fATAl lRRCI'S lIue OCCIlRRED, A!lOPT PROGIlAII: ERIIALL~O; IF ERI!SG.1~' OR F.I1I1SG~-1 TlilN SltGAtL=I; CAll S!I!PCT('El!t',ERRAtLl; If' ER~SGl EQ 1 THl:~ DO; ABOFT ()Ool:Ut: If :ERIISG2 EO 1 ~HE" DO; ABORT 0002: EMD; fROC SORT; III :OSRTOfT ; • BEGIN S1l!lTEST GnERUICN: ~IIACRO DOSDSTS; 'lIP tSET liE 'l AlID DSBTN II]:; I) 1:THEN '1:110; DATA SS1; INFIlE IICSDU ~IRSTOES=2 oaS='EVA.l(&SfTN+l): INPDT ilIl SDBTITI ! 1-2G illjll (Ql-Q&X) ($1.) : ""ACRC OUTS: %no n=l ItO &I: i f Ctxx EO ' , THEN CSXX"'9'; flllI: ""END OUTS: 'IOH'!S '-GICBAL SBT Gl &2 G3 Gil GO; SUf!TITll SUBTI'I"L2 SU8tITL3 SDIlHTtIl SUBTITL5: ";!!ACRC InT: ";00 XI=1 'to 5: 'Un cux="q,,; 'IEeo: 'IIII':JD TJIT: :lInT ';IUCtiO KfYVAP.S: ::I'DO n~1 %,.0 tSPT~: E~"txX"; CHt. STnDt('!l'IIR,~): ';EIID: 1~EIID KElVARS; ';!lI:Y'~RS ; ',r) 603 .. CREAn: "AC YAp. fOft EACtI !TEn IN S~BiEST K:!'Y5; DATA S82; SET SBl; ""ACRO :lPA-IIIOR; "DO XX=l ITO &1: R&lX=tlCXX": "EIiD: ~I'II':MD tPUD.; UPAlI'DIi ",ucile PRII')': IIF nUL ICGl EC 11 "1HfJi UO; "DO 1=1 '11'1'0 n: 'llIF IEVA1.(&I LE &I} ITHEIf too: IF _,_ EO 1 THEIf CALL s!IIPUTI'Z'IIIf~I,O&Il; fEND: 'I"ND: 1F _N_ EO 1 llin SU~,),ITL=' , • EO 1 THU· ellLL SYIIPUT('SOIlTl'!'LI'.SOIlTlTL}; '1EIID; THEil SU8TI'l'L='SU8T'EST 1';11 ,.n '!It!" .. t. (t<::2 !i'O 21 '!ItT!!F.1I !tDO 1:"" 'I!'W U: ';IP ';!'TUttI t.J' tX) 'l:TH!JI '!I!D(\; IF If EO 2 THEN ClLL StIlPU'I"{'l'lllItl,QO): "ERn; UID: IP -,,- EQ 2 AND S'JBTI'lL.' , THElf SU~'I'I'!'L. 'SOftEST 2'; IF =:N: EO 2 THER CALL StllPOT (' sUe'TI1L2', su~'!'r'I'L); HIID: ,;no: ;~~/i;~~;{:~;pg;s~) !;~~~E=!iIl~~I;~~J=;A;i~B~~ ~;~o::?~J&~A~~ ~~'; "T"E" "DlI; OUTHT DUT=TESTOUT SCCfi~=RIGHt sOf"nST=EUllfll': 01-en rl-n;x; 51lBTF5T ALL "I:T ": fSUET DnA '1'110; sd TESTOUT; I f rU~PLt "t't D; PI'IOC son; I!Y DESCUDIlIG EIGIlT; O~TA TOTAL LOll HIGH; S!1' TWO; 5=_\1_: . . . SELECT UPPP.I'I AIID LOWEll 271 GROUPS . . . . . . ; 1'HIIID~ROOIID(f;!lD:J·.27); 1>1l0~P_2; • rllDDLE tRCUP; It !( LI': 'tHIRD TlitH 00; GIlOJP~l; QUTtuT HIGH; ERD; ~f If GE lfiNIIS-THIBD+l) 'INn DC; G~OijP=); OUTPUT LOli; E~D; ontPUt TOTAL: D~T1 SCCF:!:S: sE'I LOll HrGH; 11£\1=_"_; ••••••• FrND OUT TOTAL "IJ!lBEI'I OF OBS II Sf"l' CON'!'HIIIIIG E!01'H 'JPP!R/LO\lEIl •• : pnoc RAn OIlT"'I'IAIUE nr:SCENDIIIG; VUI HW: UIIKS IIU!lB~IIK: PROC son QA'!l=U,IIKIE: BY !lUIIRU~: DATA SCOIIES2A: SET lUn!E: 'lULU &'1'; IF _11_ EQ 1 'l:HE~ 1I~IIN~II~nll: I'I!TAIR HnUII; lBlUl COIIPAI!t(A) S 01-0tx; 'U1J1SF!B lRUl ISUEIT) Xl-X&t; DO OV2F: SUEKE!; A-D: Y-D; ISAVE~CC!lPA~; IF COIIPlI!:f EO SlVEKEY THER CQI'IPUI[=l: ELSE COIIP1RE=0; ERD: H _._ lQ 1 Till!:" IfTOT-NEW; ftE'IAH IITOT, UftAt IIII'!'{S) Otll-QB&I. DO OYER COIIPlBE; S=A: !II!1'~O; IftI'I=COl'lPAR!; Ell I) , PROC SORT; BI GIIOOP: PROC IIE~IIS IIDPllltn' SUII; BI GROUP: VAB l,;lll-QIl&X; OOTPUT OUT=sorU:!I 5!lIl"Qlll-QQ&X; 'lllI1CRe HIU; 'UF COl EO I 'TIIEII BO; DATA SCOREsJ; IF _!f_ LE 1 TIIEII IIERGE SCORI:SU{KEEP«IITOT) SCORES (Kt!P"tHlRDI ; IF _H_.~O 1 T~ER DO; lI'1'O'l'AL=1I10T: NUIIOBS=&lIl'S: ~E'I'nll IITOT"L IIUI!CI!S: EMD: SET snUB; URAY CULT(P) CULT1-eUUI:I: ARRlY cnll(el eIlHll-CI!IlIl:l; ARillY IAB{II) HB1-IABt!:; lRRAY XlAtl) (lC'-tlCtli:: DO OVEI'I U!; L"'~; • HD AHI! n"IlKS '!'1l0~ HIGII GIIOUP AIID XU APE SCOFES FIlC'! LOW GtlOUP; UB=1.1G{IH); END; DO OVEIi. XA1: II"'L; II=L; P=L; O=L; CUL1'''((XA8.11AI/BtOTALI*IDO; C!II~= (UB-XAA)/fnOtAL/2) ;TIlIllt="t01ALI2; END; D~OP P Q II L :UB1-XAB£[ Q01-QQ&X; DATA SeOI!ES4: SET SCORESJ: TI'!Ul lOT; FHE PRHT aUOER=OEXHD; H' _"_ EO 1 'tEEII DO; nt 1 ~J9 'UESE UOElES WEBE 8ASED 011 '!HE OPPER UD LOII!:P 27'1: OF'I U9 'Tr.E SCORE OIS1BrEUTIOIf. HERE EACII 27J GBOUP INCLUOI"O'I 111)'1 THIlln ' PER<;otlS. ~EFPREIiCF: R. L. EREL , ES5E~TT _L5 OF EDUCA-'/ iI1J9 'T!OlllL U:1SURflll':li'!', 1979.'1// iil2J ':tHDEX OF DIPFIC'JLTY' a90 'I~DFX OF DISCRIftIIIA'!IOII'11 iI17 'THIS Ilion IS TH!'.: PP.CPOP'IION OF THE COIIBl!I'EO UPPFll' 0175 'Tns IIDEX ESTI~ATl!S :I'!l!1I U'ILITY ':'0 tITSCElIIIlU'Ir.'1 1iI7 'A~j} LOWEll 27'.1: GROUPS VHICH GOt tHl' UE't CORPEC'I.' ii7S 'BETII::EII Tilt UPPIlE A~D LellER 21% GFOO:>S. THE'/ a7 ''I'HE LOIIE. THE IND.El:, TilE HAROlR 'l:IIE ITn. IIU/lln' a75 'HIGIIEIl THE !IIDE!, T~E EET'IEfi 'III:!' DISCl'IIlIrHTICII.'1 ii7 'VAlUBS: O. 100.' l75 'UII/IIAX VALUES: -1.00, 1.00. 'II ii5 57·'·' al71 57.'.'11"6 'ITEI! INI)EI'~27 'I!EII r1lD~X'ii48 '!tEll IIIDEX' iil7q 'IT!II IRDEl' iil95 'ITl!1! UDU' al1; 'r'l'E! I!!D!l'll: D!L1I'1'E: EIID: 1PIIU CHI'I(O) CIlIII1-CIiIIIU; VAIIS= &K ; AllEAY CUL1'IP) (UU1-CUL1&l; P-1; tl-l; n, "l'R5Tl-6: DO Cl't_l 'f0 ]; PUT ~PIlSTl I' 1. '5 CUL'J 3. iI; I f P EO f.X THEil GD'l'O REII; P"'HI; FI'IsTl=FI'ISTlt2t; lit; "Ell: PHSTl~7't; 1)0 1,;~=1 TO 3; If Q Lf &X tHE" DO: IF Cit EQ 1 '!'II~II DO; PUT iil16 Q 3_ +~ CRIll 5.2 I: ~O.'; IF 0 EO UHL{I:I+l) 'I'HEN GOTO xs: nSE GO'!O X7; ENIl; If' CI( liE J '!'H~!i PUT U~S'I2 Q J, +5 CBTII 5.2 it: 0=0+ 1: "!"RST2~FIIS'!2f21; IF 0 EO UUL{I:X.l) THEN GOTO Ie; ERD; EIir: 18: H~ORR; f1'rHO: PUT .<;~ QUn"TJONAl TH:~ AUIYS!.': UDFltE5'1/: R"!TIIRN: InD: ~IIENO NOEl: uon PII9C SORT DATA-TOTH: n eIlCH: IF _N_ P.Q 1 TUEll CUL S't~PUTf'lI'll!ftI.QtI); "!!III): ~E>I!}; IF _R_ EO J UD SOBTITt=' , Tl!£N SUBTI'!'L='SUE'IIST )'; If II' EO 3 THEN CUL 5lllPU'I('SUBTI7LJ'.S[)BTITL): ~nD; UF-,fEvlt. (I:G4 EQ ql ""lIn fDO; liDO 1.,,1 lITO EX; ~!P $EVAL{&I LE &1) ~THEN ':I:DO. IF _"_ EO II 1'IIEN CALL SY~PU'rI'V'IINI:I.Qr,II; ':tUD: nllD: IF _"_ EO II AIID SUBTTTL",' , THP.~ slBTI'IL='SI111'lES1' q'; IF _li_ EO 4 THEN CHL SY~PUTI·SU8'ITnq'.SU~'IITL); UIID: 'l'IF ~EVAL II:G5 tQ 51 O:O:THU l::DO; ~DO I:1 ~TO I:X; HF '!lETH(EI I.E &I) 'THEil '11)0: IF _,,_ EQ 5 THEil CALL SHPUT('U'II~I:I.o~r): UNO; UIIO: IF II EO 5 UD SUBTITLe:' , TIlEIl SO!l'l'ITL"'SDBHST 5': l ' =1( EC 5 THE" CALL SY~I'UT['SU8'Il'tL5'.sUBTrTLJ: UIID; "IJ~~D PRIIT; 'IPB~T nATA SEll SET SB2: ~~AC!lO CflEClI"l; '1DO S=l 'nO I:l; lUF 'STR(GlO2ts) liE 9 !THEIl UlO; QI:S lEII~: ~EIID: ~~E1I0 CatC!':l; 'I'IllellO CHfCK2: :ll:DO 5=1 "TO &1: 'Uf IIS'IRlt&I&S) Nf: 9 ",flU "DO; C'5 'If:HD, ,,:e\'l'D; ':KUD C}!EC!':2; 1I!1~CIIO CHEC!':): QI:S 'Ino: nNO: 'II.EIID CHECK3; "DO 5=1 'ITO &1; 'l:IF 'liSTil(tEiI:S) liE 9 'lTF,rII 'l:DO: tts l~IID; UNIl: 'I1I1CaO CH£CK4; o,;DO s"l %TO I:X; '1IF tSTli 1f-&itS) liE 9 'lI:TRU "DO: '1l1EWD CHECK4; "!lACTlo CHECKS: 1.00 S .. 1 ITO f:I: 'l:IF 'lisTR(!;&UtS) liE '3 'ITREN 1DO: ol:S !i:ENO: ~[IID: IIIP.WD CRECK5: 'JEIID; 'IIIEJD DOSUflTS; JOOSUBTS U1cnc sOBT; f!l" tSI!T III 9 'lI1'HEIl ftC; nF &G1 EQ 1 "TIIF.II 'DO: Sl1BTEST ICHECt1 "tSllI!TITL1D; !l!ND; :UP I:G2 EO 2 'ITHEN 100; S08TEs! "CRFC~2 ~tSUI!T!"L2"; UNO; 'UP I:G3 lQ J "'I'HE" 'DO; SUI'ITEST ~CIIICKJ Mr;SUI!TITL3": 5l'EIID: 'Uf' I:GU EO II "Til EN $00: S~aTesT "Cal':Cl~ fttsu8TI'fL4t1; UIID; 'UP &GS to 5 'l:iHEII '100: SOBT~ST 'ICRfCXS ~(;SU8Tr'I'L5"; 7.EIID: ~EHD: lllEMD S08'!; • no OF SUBTEST GEIIEIlATIOII: D~n AULlsI!;; !NFUE ReSD"," EII0"l'l1l , IIIPOT il UI'IE $CKJ.II20. it21 !'!Dna Sl_ i22 UY $Cf!lR2. <llq IE1R SCRAl'Il. iil26 10 SCHARIO. iJ6 (SP1-SP6) (H.) itll2 SEl $1. itll) GUD~ $1. au (tl'-O&XI {St.}; "ITI!: ';CHGOP IF _'1_ EC 1 THEil DO: U!E'" , '; In'" ' : £liD; IP _11_ G~ 2 UlO _R_ l! nVJ,L(tS~TII") 'lHY-N DELETE; 11+1= NOeS~"-2; CALI SY!lrUT('U~5'.1I0I!S); IF _11_ GE 2 AND _,,_ LE tEnLII:SBT~"') 'fREII DELETE: LEIIGTH 1[1-K&1 Mfl1-);"K&I J Il "~IIK 2; URAl CHG $ 01-ttX; DO OVP!': CRG: IF CHG lC '.' 'fHU CRG=' '; Ut; IF _R_ EO 1 TBEII DO; ARRAl I'IEUP!(I) $ 0l-QtJ; 1RllAl sJ.V!K!Y{e) K1-K&X; UlUy NUUPl{IIU!'IK) IIK1-I!':tI: to OHII lTE~Kn: B"'r; II0'!K",r; SHEUY=ITEIIKEI; IIUI'IJ(EY"O; HOf1K£Y=r')''U'KEY; E~D; ilETA!JI 1t1-nl; r.« 604 UCRO T~.US!'EB AIiRAY SAV!IIl':I(!J $ l1-Ji£I: " UO: • PRIlIT lUll DA'U HLE: Ir!'lACRO H'2; UET IO!'l=!O; IP EO 1 THU DO; FILE POliCH; (;,\110$1: 1=1: IP PIN EO ! TUEll (;(lTD l'lHS: If _11_ EO 1 AIIO CARD EO 1 THE~ pn 20.... 0:22 'OO-UCLS-'HS'1SCOIlE VIRTOAL OA11 fIl."!~· ass 23.·.· / i l "tJIlAII" an "tRC" i22 'Tl'ILI: ' "&'1'" liSO 'JOB CREATIO,:' a6u "r,cu:~ in3 "t:CRr n / il fiat"'; PTJ1 iIIl ID $10. ill nrl!: '20. iIIJ' !'IenH , , . an DAY $2. ijl)1I TEAR f2. ,.1fi (SP1-SPfi] (S1.] .. liZ 5EX $1. IIIJ G~"DE " . it; IOC~IU: GOTO SAftICIID; MEIICRO: PDT In l-tIDII i: tOC= UUljUDII + 11; SU'ECflD: PUT iJLOC IT1!'lII1U 1. iI: IP I EO &1 THEN GOTO PUJlTCIIO; IO("10C.': IF LOC EO eo TIIE~ GOTtl PBIM'l'CBO; 1..-1"'; COTO SAIIECRD: PRII'l'C5D: POT ileo ClfID L : II' I !Q t:I '1'11£' DO: fIMIS: rr 6vn EO 1 AIID fIJI EO 1 'tHE' PUT al 32. . . . 135 '£ID OF DA'U' iJlIS 33 t " ' ; IF t"£RL lC 1 UD fIll EC 1 'tHE~ [0: .\Bon 0003: EIIO: If rI!I EQ , 'tHEII nun; 1I1':'tUlIN: UD: CUD,CAr.O*l; 1~1+1; CO'fC NE\lCElD: 1':)10; r"llll) nT2; 1)1'1'2 IF &!:RL EO 1 HIlI DO: Hr.~'t Ollll): HII: 11" PIli 1!:Q 1 111U DELETE; PROC SO?'!' VA'!'A"~HALJ!;IS; BY 1SRTOP't: rAn CO,H!l: 51::1 "IO'TAL(I(!EP=GROllP Q1-Qtll: t I GRO'JP; ';IIACEO FPEQG'!II; ,"00 '1''1'=1 ~'!O tX; OA11 Dr."t'!"; SET CC~lll: IlY CtNrp; PROC PREO: BY GROUP: 'UBI!S O£'tT / O[J'l'''StTT 1I0F.ll:PI'T: H~D: ~~EIIIl P&tOGr.~: "PREQGEN UAtRO SETGEII: "GLOBn 0: '!liDo DD=l :;TO~; DAT~ PREFSDD: SET 'lI:lJO TT= 1 1:'1'0 SO: UP ttl!> EQ 1 "'tHU ~LI!'I' t _ &'l"I': UF f.DD EO 2 !THEII "It'!' 0" ny,ultn ~ SO): ';IF tDO EC 3 !'THEN "U'!' D" nvu (ETT ~ 1001: :::IF GDO EO 1/ nHEN 1:IE~ D ~ :UiAl(tT1' + 150); litO '!;u ~O to &X "TII1!:1I "Do; : 'GCto DONE: 'aIlC: '::E~D: : "EIID: IDOH!':: ~oo; DA't! PREFRlOS; st'!: too H=1 "TO tDD: PIlF.l"&lI UNO:: "EMD: 'll1I!'.:ND SE'tGf!J: DATA HAIIS1I.El: s n AIIAL"lSlS(1I.EEP"'1I111-"U;I); II' _11_ liE 1 'I'HEH OI':LFT~:: Plice lIlUSPOSI' CtJ't:OUTltn (~!':MAI\P=(CCtl=ANSKn] DROP "'_NAIIE_I: VAR Nlll-MK&X: • HERE GtliBl'!"E DA'USETS rOR RAil PRlO COUII'tS: ,"S!'!'GEII DATA PREeS; I f _11_ EO 1 TfEli sn 'IO!U(II:lEP~GROVP THlHD) : R!'I'll!l GROUP TIIIBD;SET PREPRIQS ElD=EOT;TITI!':l;TITLEJ "t1''':T]T1.(1I ITEII AJAIYSIS; TITLEli RAt PREQUlIICY CCUIITS PElI :lUll ('TO'tU GROUP. AJI~ UPPER AIID UlIIER 21'1 OF TB E scalinG DIS'I1IIEDTIOM): '1'1'1'11'7: TItLES: VUS:£:l; LIIII't"'&RR; IIIICHII~·r.IIR~; ARI~Y PIl"!!~nIGH(FH) rU'-FHtRI!; ARPA! fUQ!UD(fll) rlll-P~~EII: ARUY FREOLOl/(n) PL1-PltRR: ARRAl ALLHRIOtx) S 01-Q&I: I t _,,_ EO 1 un DO: COUIITSO!l:O~ O!lJ'tfH"Q; C~ITFII=O: OH'tPL:C: INVAtB:O: nVAl"=(); IfIVu'I=(): DO OYER UEQHIGH, rL"rn, F~-rH; nECHIGI!~O: TNEQftID-O: fRlC'LOW"O: 1':liD: 11"';111"':11'='; U:X"I: OBM:l: SE1 CtJTrEY PCIII'I'=ORN: RI':TATK U!i1l.ET COUM't!;UI! DEI fHl-fHtl>.ll F~l-nt&li fll-nePR CIII'l'H O~I1"f'''' OHTPl: UD; If AlIYAR !Q ' •• THEil AlIVAR"'.: CCUIITSU~:COOIITSU".COU~T; RETUII COO'TSI"'1 IF COUII1'!i1l1l GT t~BS AKD t:EX IT rx "rH5 co: nn~D£l"'1: CtlUIITSUII-O; COUII"!SUK=COON'tS\jHCDUHT ;OIlI'I"F II=~: c ~ITJ'II=O:OftITPI=O: I lin IL:I): IIIV 1l1l=O: III'lLH=O; ;}I) OVER !'~EOHIGS; P!'.=fU: fL=l'H; JIlfQHIGH:O: I'REQ!lID"il: PREOIO'l=O: tllO: seT O'lTU:Y POI~T-DEJ(i Re'l'UII COONTSmr. ,15SIIEY DEXi E~O; rILE PRINT PAGESIZE=58; OPLOW=2''!:1l1PO; If _11_ EO 1 T~III PO'I iJ53 'ToUI lI'li'\HUI (1F CASTS" , "tIl8S· / illS 'IiOI!BU IN UPPE<! UD LOWER 27~ CROUPS" • UPlOW ///: IF GROUP EQ 1 ralll DO: IF AllYl! liE • , AIID IAlLVA~ LT '1' OR ALtn!! G! 11~CHRl THE. 1:C; IlIVllH:IIfYUfI>COUIIT: RE'tAIII OIlITFH INUIK; GO TO i'IIUT!'r: no; IF ALU.l.R NE ' , 'I'HU 1lO; fH="LL'A1I: FRECHIGF."CC'lIN'f; 8110; IF lLLvn fQ ' , THEN CIII'1'J'~=eIlIHH+COUIIT; R!TAlIl Clll~FH IliVAlH; EIID; IF GRODP Ell 2 TIIEII 00; IF ~LLVU u: ' , AND (AlLUE U 'I' ell HUU GT IIKCP.R) THEil 00: nYAL~=IIlVU~+COlJlI'l': RE'!Alll O~I'tF~ IN'HL~,; GO TO l'RInIT: EIIO: IP AliVAR liE • • THF.JI to: Pl'l:HLlU: fRfCillID"caUII't; END: IF lLIVAR EQ • , THEN C!'II'tJ'ft=O~I1PUCOtl~'t: RETUli CIIITFII nyu!!; UO; 11' GROOP tc 3 THIll DO; 11' ALI'''II JE ' • ~lID I~LUU L't '1' OR AllYU GT LIMCBR) 'tHEJI DO; HVAlt=IIIVAlL~COUII'I': lIt'l"AlH or-I'tFt lB.At.l: GO TO PRII't1T; IIID: l ' ALIVAR lit ' , TIIEN Do; Pl=AtLY1oE: flift;;LCII:COllIIT: l1l0: II' ALLYU EQ • , 'tHE~ (jIlIrYL=OIlI'U'I+CG\J~'; ~t'tAl~ Cl'I.ITfL IllHU: !KD: PR.IIITI't, 11' COUIl'l'SUI! I':C SIIBS THtli C(: IP Ll~l't EO 5 THEH 8.\5E:211: IP LUI' EO ~ THU BASE"'281 IP LIIIIT EO 1 TH~II BASE:32: IF UII.I't EQ 2 THEil BASI:"'36: .lNS'l'AII~· ' : PUT iBAS! 'l~E~ 'OEl 3.iI, BAS~2"BASE')O: JASI!SA'~BASI!2; DO PIIEI=1 TO 1I1\:::T: IP l'DEX EO UlSUT 'tHEII nSTAR="': !LSE lISTAR=' '; PO=-l: PUT iBASU.pn ' j ' FDH 1. ' ) ' lJI~TAR !1. I: lIASE2=1I\SE2.8: Ut: 1I0VE:-2; PUT iBASE2"~OYE 'O!'!I'!: IIlVAL:::D'; P1I1 ;) eASE .. 1 •• IS IIttlD UPFEII GfiOUP' ii, 00 1'DlI=1 'f0 IHIT: FH"YDEX; PUf a I!ASESn ~IIOV! PIEQIIIGB 3. a: BASESAY:HASF.SAH8: E~D: PIJT j EA5EZ'.'OVf 0111,,11 3. +5 !NVH~ 3.; EASfSA'=B1SESlf-l1.al1)*e: PUT i BlSE"3 'AliS\ll!II' ii BlSE.,11 'lOll!" GF.CUP',a; DO FufX .. l TO LIH!; f'l=l'DEI; PII't it BASESAV .~OVf: nEOlo~ 3_ iI: IlASlSAV=8AHSAVtIl: UD; l!uf jjI!l5'2~IIG1IE O!'ll'l'l'L J. tS IIVALl J.: AIlIlH 'tOTFII~Q(TOTF) TO'Il-'rOTCIUl ; DC OYf:1! T<J'l:FREQ; fH-'1'O'rF; FL"U: n""FH: TO'!'I'REQ= fREQR IGII typ "EQ!I I~~FREO LCW; CUTO'!= CIII't!'H .. oIII'I'r ..... oll ITll; IlVA I TOT:IIIV HH+ I NV lL~Hn' All; lIID: BAS r.s AV=BlSES.\,-S.tI!HT: PU't leAS!!+14 'TOTAL GRtluP' it; [0 rtn~' ,-C lUI,., IICtTOT'"1I0Vf!-I: TO'l'F-I'DEI; IF fDn Eo lIIII' TEEII DO: Pot iiEAS!SAV .~onCT 'to'l'PREQ II. ,tEAS!SAn5 0"1'1'0': 4. +11 ~VAlTOT II. /: GO 'to EIIDltN: EIID; POl' ii!BlSESAV +1I0nOT,'tOTnEO 4.iI : BA:';ESAY"'5ASJ;:SAV+f': J:;HDlIlI: EIID; tilt: OPTlIJN:'; l'AG[SIZ!"'60: "UCRO SOllSTAT; lIF U:S EO 1 !'!H1':1I fDO; rA'tA sn~'IIJlIIY'; lifT 'fF.!iTrlnT: I'ROC UnVAIIIA'IE MCPRIIIT; nR fIGHT: OtJTPJT 00T=51111.,,,r "EA~=II~R't I\ODE"IICDFT lIeOI1II=~£DR't SKIIIJ(ESS"SKRT IIUflT:tSIS~I(UBT; OATt SlIB~UY2: SF'! SUl'l.~R'; ,n:LI" "tT": PIlE PRIIIT HEAD[R=HDPRT: PUT /////1///// 1i';7 '''!All: ' no 11181' 7.3 / / ilI57 'II:l:D1AlI: 'il70 IIEOR't 7. / / iJ51 'IIaIlE: • ii70 "':ODR't 7. / / a57 'sn!YRess: • a~o SKBT 7.3 / / iS7 'IItllI'!0515: • ,lI10 IIDRT 7_3 //: RSTllRII; HDPRT: PIJT .511 'UOITICIIAl HS't S'fA'IISTICS ' : RETORII: 'HIID: J~fIlD S!lIISTlT; ,"SUftSTAT PEOC SOB'! DlTI="IIC: DY nS'tRsaR'I: DATA nSTRUC't, SET 'tIlO, UIIAl VIIGSP) WR'-~l1U; AIlIIAI n-rUItI,]") [1'-DltX, IF !';IIR F.O q THP.N NAPlF.'_ • ' : nsF. IIlllf'=IIAKf: VARS=&I; AaUt 11I1't(SI OB1-QBtl; ASlUt CCI\UU:tAl S 01-0U: DO OVER COllPAB[; S=A: 1111'1':0: IIIIT"CCIIPA"I; IIID:TRUSHE URn l5Uf(l) Xl-X61; 00 o.ER SlVEUY: A~B; r~fI; ISA\I'E~CCIlPAP.~: 11' CClINRE t(l SAVEKEY THEIl CUPAS!:I: Etsr COIIPlRE=O: EJlO: COIIRECT"'SIJII(Or 01-0tXI; IIDIIIIRG=tx-CCRP!CT: FILE PRHT HEAnER_S'tRC tI~E-LIlCIIT lIJlJsr.~l'J'~tF: I~11 DO OVER COl'lpARE: Y:A: l!' CO"'PARE EO 0 TIIEII te: VRGs=rSHE; J"'I; ~tJBir:,: IF I II! &X THEil I=I~l; Ell!): EIIO; UROIIGS=O; PLAC!=1I3; Ptl't I'> UII~Z 20. 126 10 10. 137 COBIIIC't J. iI; 11' 1I0~VEG EO 0 TIIEI DO; FllT/; R!T!lRII: lIID: DO 1:1 'to 1I011111lG: ,]"=1: VRDIIGS"'UROIIGS+I: IF V!lOMGS E:l 10 OR 1 EO )lDIIVlIG THEIl DO; PO't ilPLACE DEnn 3. ' ( ' ilPucr t ~ niCS 1.'J': If I !Q lIU~VHli "tHU UO: LIIIE5='l!.BS/10: UIICHI'''LT: I f IIRES G'l 11'1' (LUr.SI Tnt .. DO; lIltI!S=t.IMI'S.'; IF Ll' L'l' UNE!i.' THEIl DO: PUT _PH;£_: GOTO 1I!X'tl; EIIO: no: 1'11'1: GO'IO IIEXT!; UO: IF IliiCIiCS EQ 10 TIEl DO; IIROIIGS"O: Pll\Cf=1I3: GOTO UIT1: no: uo: t", 605 PUT aPLACE PEIIIAY 3. ' I ' ilPLlCl"4 IIRes 1. ' I ' iI; ~L~CE~PLACl"9; WUT11 EIIP; I!'!UR': stile: PDT ili5 'IIISTRDCTOR"S LIST O! SCOlIlS lNtl WIIOIIG III'SIIE8S'II 136 • ..... \lOTICE; 'lES7 DAT~ IIAI flOT fE POSTED 01 PUfiLICLf DISS!lIlIlATlO'1 ilJ6 'WITH STDDEIIT IiUES OR FUll I t ~DIIBI!QS (OU STUDI"HT RECORDS petICT)'/1 ilB 'UlfE' i29 'ID' iln 'SCORE' ilB 'ODESTIOII COUIITED IIROIIG {STDDUT AMSVU}. PER IOD c.) YIOICI'!'lS OlllT ow IIYUtf)'/: RI'TURII': O~OP IIRI-IIU:I Cll-0UI: .. HERE WOIJLD BE !liFO SEeTIOI THlT CCULD HI! rILE pUITlD I:P REOUEStED BY OSE!; :lIIACIIO STIJREP; SIF &SREP Ell 1 'THE\I "DO; PIIOC SOIlT DAT"~IIISTIIOCT; DT "SIITOP'!; DATl S'I'OOEIITS; SET nSTROC,.; TITLE tTl Alllln nIT{S) c~I-0atll:: A.Rtut CONPU!IA) J Ql-Q&:l;TRAMSHR _IIUT J.S~VEIYI l'-Xf.X; If tSRU EO 1 'fllEIi no: UIIE=NUIE2: FIlE PRINT: por _PlGE_: PUT 1/ ~S7 'UDlflDOAL GRADf aEPO~T'1 ilIS8 'srUDEIiT lIISWEIlS IN (l.'/ ill9 'PElIIDD I.) lIIDICATES 011 IT DR nUtID.'// il56 'IIU1E: ' IIAIIE 20. / ilS& 'S~ODEII'f :IO.: ' :IO 11). / ~6 'SCORE: • COtlll.!CT 3. 11/: PDT // il7 'STUDEn lIISURS GIUII: • iJ: STlI1'=32: DO OTEII SAY2:I\:El; A" II i 1-D; Z=IHT 111/101; I f (1I/10) EO Z TUEI DO; PDT as'l'AI'IT B J. '(. a SUB1.q ISAYE 1. ' I ' : ST1R'f=J2: IF II EIO tI 'fRU PO'! //: co TC ~GAU; r:1I~: 'c' a SUIIT"" ISAY!: 1. 'J' ~: ~'l'HT_snRT.g: il7 'AHSIltf;S !lARKED I!~CIIG:' iI; l'L_CI-J2, ~O OU:!t CCIIPAII!:; !-A; I f COIIPABE EO 0 THEW 00; ilIIOIIGS=I!ROIIGS+l: Zl=UT(~RONGS/101; IF (IIIlDIiGS/l01 EO n T~EII DO: PUT .PUCl A J.',' ilPL!CE • II IS~1! 1. 'I' POT ilISTART R J_ If' II Ell &1 Til EM PU'!' 1/: "GUll: !MD; FDT IIRO~GS;o<(l; PUCE~J2: GO TO NElT:!!: EII0: PO,. ilPLJl.CE " 3.' tt t PLlCE"" ISJl.U 1. 'J' '; PL1C!':=PLlce.9: IIn'l'2: EIi'D: EIIU: If' tr:y EO 1 THEil DO; por // it7 'AIiSliFl!. U1' '; ITA~O; PLAC2~J2; DO OVEB SAYnEr; !'I'II:IT''''': ZZtINTllTI/10J; IF IIT!'l/10) EQ ZZ TnM DO: NIT IIPLACr; II 3. 'f' tPLACZ:. "SAYEIIEl 1. 'J'; PUCr~J2; GO TO HlTJ: ElIlI: PUT GlPLACE B 3. 'f' .PUCE. II SAVElE! 1. t). iI: PL1CE=PLACE.9: IIElT): !to: Elf 0; UD; "!liD; ';IIEN!! S'fOll!P: "STOUP 606