medusa% pl
Welcome to SWI-Prolog (Version 3.2.9)
Copyright (c) 1993-1999 University of Amsterdam.  All rights reserved.

For help, use ?- help(Topic). or ?- apropos(Word).

?- consult(spring03).
spring03 compiled, 0.01 sec, 10,820 bytes.

Yes
?- spr03_print_simple(_).
cs2213-001      1900-mw         maltrud
cs2213-002      930-tr          maltrud
cs2413-001      1000-mwf        maynard
cs2513-001      1200-mwf        key
cs2733-001      1300-mwf        wagner
cs3233-001      1230-tr         tian
cs3343-001      1530-tr         kwek
cs3723-001      1200-mwf        wagner
cs3733-001      1230-tr         srobbins
cs3743-001      1900-tr         staff
cs3773-001      1730-tr         lo
cs4313-001      1400-mw         bylander
cs4363-001      1000-mwf        wagner
cs4383-001      1300-mwf        maynard
cs4753-001      1730-mw         yum
cs4913-000      arranged        staff
cs4953-001      930-tr          srobbins
cs4993-000      arranged        staff

No
?- spr03_print(_). 

CS 2213-001 Advanced Programming      MW  0700-0815pm  Mike Maltrud    
CS 2213-002 Advanced Programming      TR  0930-1045am  Mike Maltrud    
CS 2413-001 Systems Programming       MWF 1000-1050am  Hugh Maynard    
CS 2513-001 Computer Organization I   MWF 1200-1250pm  Cathy Key       
CS 2733-001 Computer Organization II  MWF 0100-0150pm  Neal Wagner     
CS 3233-001 Discrete Math Structures  TR  1230-0145pm  Qi Tian         
CS 3343-001 Analysis of Algorithms    TR  0330-0445pm  Steven Kwek     
CS 3723-001 Programming Languages     MWF 1200-1250pm  Neal Wagner     
CS 3743-001 Database Management       TR  0700-0815pm  CS Staff        
CS 3773-001 Software Engineering      TR  0530-0645pm  Chia-Tien Dan Lo
CS 4313-001 Automata and Formal Lang  MW  0200-0315pm  Tom Bylander    
CS 4363-001 Cryptography              MWF 1000-1050am  Neal Wagner     
CS 4383-001 Computer Graphics         MWF 0100-0150pm  Hugh Maynard    
CS 4753-001 Computer Architecture     MW  0530-0645pm  Ki Hwan Yum     
CS 4913-000 Independent Study             ARRANGED     CS Staff        
CS 4993-000 Honors Research               ARRANGED     CS Staff     

No
?- spr03_faculty_print(_). (Output cleaned up a bit, spaces, newlines)
Courses arranged by faculty

Tom Bylander      CS 4313-001, 0200-0315pm MW  (Automata and Formal Lang)

Cathy Key         CS 2513-001, 1200-1250pm MWF (Computer Organization I )

Steven Kwek       CS 3343-001, 0330-0445pm TR  (Analysis of Algorithms  )

Chia-Tien Dan Lo  CS 3773-001, 0530-0645pm TR  (Software Engineering    )

Mike Maltrud      CS 2213-001, 0700-0815pm MW  (Advanced Programming    )
                  CS 2213-002, 0930-1045am TR  (Advanced Programming    )

Hugh Maynard      CS 2413-001, 1000-1050am MWF (Systems Programming     )
                  CS 4383-001, 0100-0150pm MWF (Computer Graphics       )

Qi Tian           CS 3233-001, 1230-0145pm TR  (Discrete Math Structures)

Neal Wagner       CS 2733-001, 0100-0150pm MWF (Computer Organization II)
                  CS 3723-001, 1200-1250pm MWF (Programming Languages   )
                  CS 4363-001, 1000-1050am MWF (Cryptography            )

Ki Hwan Yum       CS 4753-001, 0530-0645pm MW  (Computer Architecture   )

CS Staff          CS 3743-001, 0700-0815pm TR  (Database Management     )
                  CS 4913-000, ARRANGED        (Independent Study       )
                  CS 4993-000, ARRANGED        (Honors Research         )
?- halt.