Pascal with internet primitives for pedagogy

  • Authors:
  • Paul M. Mullins

  • Affiliations:
  • Department of Mathematical and Computer Sciences, Youngstown State University, Youngstown, OH

  • Venue:
  • ACM SIGCSE Bulletin
  • Year:
  • 1991

Quantified Score

Hi-index 0.00

Visualization

Abstract

An extension to standard Pascal which includes the kind of Internet primitives necessary to support meaningful programming projects for a networks course is described. The new language, Pascal with Internet Primitives (PIP), is a simple modification of the standard Pascal language providing interprocess communication library routines. The PIP use requests and uses networked services which are presented as Pascal-style files. Primitives calls are handled transparently by a compiler preprocessor and an extended run-time environment. This simple file-based extension allows the student to immediately write pedagogically useful programs using pre-planned Internet facilities. More complex assignments, such as the development of network servers, protocols, et cetera, are possible with increased awareness of primitive function calls. Increased awareness can come about gradually as a part of the course and occurs within the syntactically familiar setting of Pascal. This approach allows presentation of programming essentials as meaningful excursions, rather than as a separate topic. Design, implementation, and use of the system are described.