CSC/ECE 517 Fall 2010/ch1 1e vs: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
----
CSC/ECE 517 Fall 2010/ch1 1e vs
CSC/ECE 517 Fall 2010/ch1 1e vs
----
----
Line 6: Line 5:


=What is a Block-Structured Language?=
=What is a Block-Structured Language?=
   A block
   A block is a section of code which is grouped together and consists of one or more declarations and statements.
A block structured programming languages is a class of high level programming languages that allows the creation of blocks and includes the nested blocks as components where nesting could be extended to any depth. Block structured languages have a syntax such that the structures are enclosed within the bracketed keywords like if....fi in ALGOL language.

Revision as of 00:20, 30 August 2011

CSC/ECE 517 Fall 2010/ch1 1e vs


Introduction

  This article compares and contrast block-structured languages and Object Oriented languages and also focuses on the advantages of Object-Oriented languages over the Block-structured languages. It also emphasizes on the usage of block structures in Object-Oriented programming.

What is a Block-Structured Language?

  A block is a section of code which is grouped together and consists of one or more declarations and statements. 

A block structured programming languages is a class of high level programming languages that allows the creation of blocks and includes the nested blocks as components where nesting could be extended to any depth. Block structured languages have a syntax such that the structures are enclosed within the bracketed keywords like if....fi in ALGOL language.