5 what is meant by syntax rules of a programming

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: A procedure is a subprogram that performs an action but returns no value, while a function is a subprogram that returns a single value. 18. Subprograms may be intrinsic or programmer-written. Intrinsic subprograms (commonly referred to as built-in-functions) are those provided with the language so that the programmer need only call them in a program to have them automatically invoked. On the other hand, programmer-written subprograms are written and used as and when they are needed. 19. A standard programming language is often extended to support features needed by a specific user group. However, since the extended features (additional statements) are not supported in the original standard language, a language processor is needed that translates the additional statements (extensions to the standard language) into a sequence of statements of the standard language before the program can be successfully compiled by the standard language compiler. Such a language processor is known as a.preprocessor. 20. Command statements are used to instruct a computer to do some job. A scripting language is a programming language that allows programmers to integrate several such commands into a single command so that the programmer need not type all the commands every time he/she needs to perform the intended task. A program written in a scripting language is commonly referred to as a script. 21. Fourth-generation languages (4GLs) are very high-level programming languages that use English-like instructions. They require the programmer to specify only "what" to do, not "how" to do it. Most of the procedure portion (steps to carry out the intended task) of a fourth-generation language program is generated automatically by the language processor of the 4GL. 22. A procedural language (such as COBOL, FORTRAN, BASIC) is one that requires the programmer to spell out the steps in processing procedures needed to achieve a desired result. On the other hand, a non procedural language (such...
View Full Document

This document was uploaded on 04/07/2014.

Ask a homework question - tutors are online