.asp is the default extension for Active Server Pages (ASP) although some developers will change the default extension in an effort to add an additional security level. Although there is no clear standard for include files, using .INC is common but you must make sure that .INC files are not executed nor displayed.
Paradox for Windows has two primary file types: source files and delivered files:
Source Files Source files in Paradox are binary but can can be opened in later versions of Paradox and even in earlier versions if you don't use any new features.
.FSL = Form
.RSL = Report
.SSL = Script
.LSL = Library
Since Paradox source files do not compile to an EXE, Paradox developers tend to use a startup form or script to start the application.
The following are practice certification questions with answers highlighted. These questions were prepared by Mike Prestwood and are intended to stress an important aspect of this KB post. All our practice questions are intended to prepare you generally for passing any certification test as well as prepare you for professional work.
Note: Delphi 2009 changed the project file to acommadatte new features. When you open a project file from a previous version, it will be upgraded. In addition to .bdsproj, D2009 also uses a .dproj project file.
It is customary to group related classes into a single .pas unit file.
Delphi 1-7:
Because all classes in a unit are friendly (see each other's private
members), some developers like to put each class in it's own unit and
reserve putting multiple classes in the same unit until they wish to
implement friendly classes.
Delphi 2005+: New strict keyword allows you to indicate friendly.
Delphi Prism: The Strict keyword was introduced from the beginning (Delphi.Net�preview that shipped with D7).
Delphi Prism common source code file extensions include:
.SLN - Solution File. Contains solution specific information such as links to the projects within this solution.
.Oxygene - Project File. Contains project specific information but this is not the Delphi-like project file Delphi developers are used to. This is the VS.Net project file.
Program.pas - This is the Delphi-like .dpr project-equivalent file and contains the Main method which is the entry point for the executable. All .NET projects except for DLLs needs one.
.pas - Delphi Prism source file (same extension as Delphi for Win32).
.Designer.pas - Prism form file (a text resource file).
The customary primary source file extension for Java code is ".java" which could contain anywhere from a single class to the entire source code.
Other important files:
.JAR - Java archive file (compressed code file). Archive that contains multiple Java files and is compressed using .ZIP compression; stores Java classes and metadata and may be digitally signed; runs as a program if the Java Runtime Environment (JRE) is installed on the computer.
.CLASS - compiled source code which are platform-independent. If a source file has more than one class, each class is compiled into a separate .class file. These .class files can be loaded by any Java Virtual Machine (JVM).
.plis the traditonal default extension for Perl although some developers will change the default extension in an effort to add an additional security level and .cgi is still popular as a Perl associated extension as well as .plex and .aspl.
.phpis the default extension for PHP although some developers will change the default extension in an effort to add an additional security level. If your code is tied to a particular version of PHP then some developers at the major PHP version number to the extension as in .php3, .php4, .php5, etc.
.phtml is also sometimes used especially for files that contain both HTML and Perl code.