Thursday 29 January 2015

Basic Pascal Programming Interview Questions and Answers(Part6)

26. Are there any freeware Pascal compilers?
 Ans: Certainly. One of the most recent and active is FPK Pascal, a 32 bit
Turbo Pascal compatible compiler system for DOS and OS/2. Comes with
full Pascal source, and compiles itself. The author intends to extend it
to work under Linux too. Note that currently the documentation is in
German only,

27. Why use the standard version of the language (when other dialects are more widely used)?
 Ans: ISO 7185 standard is the original language as created by N. Wirth, more precisely defined and more secure than the original. The standard makers refrained from making large improvements or extensions to the language. In fact, because Pascal is one of the most carefully designed languages and also one of the most carefully standardized, there is a high degree of ability to determine, unambiguously, if a given program construct is legal according to ISO 7185 rules.
Pascal, almost from the first of its use, was widely extended and changed. One reason for this may be that the language was also very popular in compiler classes, and tended to produce many experimental versions.
The original language, Pascal/1972 or J&W Pascal, has been around since 1972, standardized in 1982, and only minor changes were required to programs to bring them into compliance with it (see below). The basis of the language is still very strong, and the ISO 7185 standard is freely available. Further, there are many books written with the standard in mind.

28. What is IP Pascal?
 Ans: IP is an interplatform Pascal. It supports the following platforms in its current configuration:
1. Windows/95/98/ME/NT/2000/XP.
2. Linux/86.
A port for Mac OS X is under way, and a port for Sun Solaris/Sparc is planned.
IP both provides, and itself is run, on a set of porting modules that allow IP, and its client programs, to run on any of the supported platforms without source change. To move within operating systems on the same machine type, only a relink is required. To move within different CPU based systems, a recompile and link is required.

29. Is there a Borland Pascal Mailing list?
 Ans: No, there is not.

30. What does IP stand for?
 Ans: IP was never coined to be a particular acronym. Present definitions are Internet Pascal, Intellectual Property Pascal, InterPlatform Pascal. The name IP Pascal was chosen to represent the flavor of today's machine and process independent design processes.
As some of you may know, I am heavily involved in the networking industry. Internet Protocol was originally envisioned as a way to "bridge" different networks together. The principle was that one carefully constructed standard would be able to bridge any number of different networks together, and the overhead of a second level protocol would only be incurred once. This is much like saying that designing one standard plug, then designing a series of adapters to that plug from other plug types, can unify incompatible systems.
IP Pascal is definitely designed to do just that.
More Questions & Answers :-
Part1  Part2  Part3  Part4  Part5  Part6  Part7  Part8  Part9

No comments:

Post a Comment