English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

1-code specification
2-program compilation

2006-10-09 05:45:43 · 2 answers · asked by Rami 5 in Computers & Internet Programming & Design

2 answers

First, your definition of Program Specification (from Wikipedia - I couldn't have worded it better).:

A program specification is the definition of what a computer program is expected to do. It can be informal, in which case it can be considered as a blueprint or user manual from a developer point of view, or formal, in which case it has a definite meaning defined in mathematical or programmatic terms. In practice, most successful specifications are written to understand and fine-tune applications that were already well-developed, although safety-critical software systems are often carefully specified prior to application development. Specifications are most important for external interfaces that must remain stable.

Secondly, "program compilation"

A compiler interprets higher level code (code that closely resembles human language) and changes it into usable machine level code for the computer to execute a program. A compiler translates the entire program prior to execution and creates an output file in machine language for the computer to run called an "executable." Compilers most often operate through recognition of patterns present in coding structures called signatures, and are used to define the syntax of a higher-order language. They are extrememly complex and often are the product of a highly specific career path of programming.

good luck -

Rob

2006-10-09 13:09:47 · answer #1 · answered by Rob 3 · 2 0

This is the way a program is created

First the code which u write is called object code.object code is compiled (files are copied from the standard library to your code)
Then this is linked to the header files
then it becomes executable code

2006-10-09 06:34:16 · answer #2 · answered by syedyaseen007 2 · 0 0

fedest.com, questions and answers