Computer Science - Computer Fundamentals - Discussion
Discussion Forum : Computer Fundamentals - Section 1 (Q.No. 1)
1.
Which of the following languages is more suited to a structured program?
Discussion:
83 comments Page 1 of 9.
Suryakant said:
1 decade ago
PL/I ("Programming Language One", pronounced pee-el-wun) is a procedural, imperative computer programming language designed for scientific, engineering, business and systems programming applications. It has been used by various academic, commercial and industrial organizations since it was introduced in the 1960s, and continues to be actively used as of 2011
Fortran (previously FORTRAN) is a general-purpose, imperative programming language that is especially suited to numeric computation and scientific computing. Originally developed by IBM at their campus in south San Jose, California in the 1950s for scientific and engineering applications, Fortran came to dominate this area of programming early on and has been in continual use for over half a century in computationally intensive areas such as numerical weather prediction, finite element analysis, computational fluid dynamics, computational physics and computational chemistry. It is one of the most popular languages in the area of high-performance computing and is the language used for programs that benchmark and rank the world's fastest supercomputers.
BASIC is a family of general-purpose, high-level programming languages whose design philosophy emphasizes ease of use; the name is an acronym from Beginner's All-purpose Symbolic Instruction Code.
Pascal is an influential imperative and procedural programming language, designed in 1968"1969 and published in 1970 by Niklaus Wirth as a small and efficient language intended to encourage good programming practices using structured programming and data structuring.
But Fortran (the name is a blend derived from The IBM Mathematical Formula Translating System) encompasses a lineage of versions, each of which evolved to add extensions to the language while usually retaining compatibility with previous versions. Successive versions have added support for structured programming and processing of character-based data (FORTRAN 77), array programming, modular programming and generic programming (Fortran 90), high performance Fortran (Fortran 95), object-oriented programming (Fortran 2003) and concurrent programming (Fortran 2008).
Fortran (previously FORTRAN) is a general-purpose, imperative programming language that is especially suited to numeric computation and scientific computing. Originally developed by IBM at their campus in south San Jose, California in the 1950s for scientific and engineering applications, Fortran came to dominate this area of programming early on and has been in continual use for over half a century in computationally intensive areas such as numerical weather prediction, finite element analysis, computational fluid dynamics, computational physics and computational chemistry. It is one of the most popular languages in the area of high-performance computing and is the language used for programs that benchmark and rank the world's fastest supercomputers.
BASIC is a family of general-purpose, high-level programming languages whose design philosophy emphasizes ease of use; the name is an acronym from Beginner's All-purpose Symbolic Instruction Code.
Pascal is an influential imperative and procedural programming language, designed in 1968"1969 and published in 1970 by Niklaus Wirth as a small and efficient language intended to encourage good programming practices using structured programming and data structuring.
But Fortran (the name is a blend derived from The IBM Mathematical Formula Translating System) encompasses a lineage of versions, each of which evolved to add extensions to the language while usually retaining compatibility with previous versions. Successive versions have added support for structured programming and processing of character-based data (FORTRAN 77), array programming, modular programming and generic programming (Fortran 90), high performance Fortran (Fortran 95), object-oriented programming (Fortran 2003) and concurrent programming (Fortran 2008).
(1)
Mani said:
1 decade ago
Pascal has and, or, and mod where C uses &&, ||, and %.
c is case sensitive but pascal is not.
Pascal has:
if cond then stmt else stmt
while cond do stmt
repeat stmt until cond
for id := expr to expr do stmt and for id := expr downto expr do stmt
case expr of expr : stmt; ... expr : stmt; else: stmt; end
C has:
if (cond) stmt else stmt
while (cond) stmt
do stmt while (cond)
for (expr; cond; expr) stmt
switch (expr) { case expr : stmt; ... case expr : stmt; default: stmt }
c is case sensitive but pascal is not.
Pascal has:
if cond then stmt else stmt
while cond do stmt
repeat stmt until cond
for id := expr to expr do stmt and for id := expr downto expr do stmt
case expr of expr : stmt; ... expr : stmt; else: stmt; end
C has:
if (cond) stmt else stmt
while (cond) stmt
do stmt while (cond)
for (expr; cond; expr) stmt
switch (expr) { case expr : stmt; ... case expr : stmt; default: stmt }
Basudeb said:
2 years ago
PASCAL is generally considered more suited for structured programming compared to the others listed. It was designed specifically to encourage good programming practices, emphasizing structured programming techniques like using subroutines, functions, and control structures such as loops and conditionals.
While other languages like FORTRAN and BASIC have evolved to support structured programming, PASCAL was created with structured programming principles in mind from the outset.
While other languages like FORTRAN and BASIC have evolved to support structured programming, PASCAL was created with structured programming principles in mind from the outset.
(11)
IQRA said:
3 months ago
Some of the languages initially used for structured programming include: ALGOL, Pascal, PL/I, Ada and RPL.
Both high- and low-level programming languages use non-structured programming.
Some languages commonly cited as being non-structured include JOSS, FOCAL, TELCOMP, assembly languages, MS-DOS batch files, and early versions of BASIC, Fortran, COBOL, and MUMPS.
Both high- and low-level programming languages use non-structured programming.
Some languages commonly cited as being non-structured include JOSS, FOCAL, TELCOMP, assembly languages, MS-DOS batch files, and early versions of BASIC, Fortran, COBOL, and MUMPS.
(6)
Rambo said:
2 years ago
Pascal is well-suited for structured programming because it enforces clear control flow structures, uses block organization, avoids unstructured jumps like goto, promotes structured data types, emphasizes code clarity, and supports procedures/functions for modularization.
These features make Pascal's code more readable, maintainable, and reliable.
These features make Pascal's code more readable, maintainable, and reliable.
(7)
YADAV said:
2 years ago
PASCAL languages is more suited to a structured program. Pascal is an imperative and procedural programming language, which Niklaus Wirth designed in 1968–69 and published in 1970, as a small, efficient language intended to encourage good programming practices using structured programming and data structuring.
(9)
Jagadeesh.dusagama said:
1 decade ago
Pascal is an influential imperative and procedural programming language, designed in 1968-1969 and published in 1970 by Niklaus Wirth as a small and efficient language intended to encourage good programming practices using structured programming and data structuring.
R.K.SIR said:
1 decade ago
Pascal is more suited to a structured program, because Pascal was designed (in 1970 by Nicklaus) to force programmers for a structured programming style. Pascal has successors, Modula and Oberon, which add module and access to system resources.
Dinesh K. Jain said:
1 decade ago
Pascal is more suited to a structured program, because Pascal was designed (in 1970 by Nicklaus) to force programmers for a structured programming style. Pascal has successors, Modula and Oberon, which add module and access to system resources.
Omokpo Celestine Nigeria said:
8 years ago
What's structured programming language and why?
A structured programming language is one that captures a task's logic in a smooth fashion similar to natural reasoning and creates a program with a structure that pursues ease of understanding.
A structured programming language is one that captures a task's logic in a smooth fashion similar to natural reasoning and creates a program with a structure that pursues ease of understanding.
(3)
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers