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 8 of 9.
Shridhar said:
1 decade ago
Why pascal is the one?
We have C++ for structured pgm.
We have C++ for structured pgm.
Aman gupta said:
1 decade ago
Please tell me direct answer why pascal is more suited to a structured program with out comparing with C language.
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.
Susmitha said:
1 decade ago
Pascal is structured programing.
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.
Anurag said:
1 decade ago
Why?, please tell me exact answer.
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 }
Mani said:
1 decade ago
Pascal is a 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.
Raj said:
1 decade ago
PASCAL is sturucture Programming Language.
Sukhvinder said:
1 decade ago
The clock interrupt handle on a computer requires 2 msec per clock tick. The clock runs at 60Hz. What percent is devoted to the clock ?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers