answersLogoWhite

0

Delphi and Pascal Programming

Pascal was first released in 1970, it is an influential imperative and procedural programming language. It was created by Niklaus Wirth. The language is influenced by the ALGOL programming language.

57 Questions

What do you mean by Direct file organization?

A relatively small project that is similar to past effort might be best accomplished using the?

How do you use if and for in pascal together?

That depends.

This is an example

IF var=1 then begin

for var=1 to 5 do

writeln(var);

end {of then}

else writeln(var);

What are the basic components of a program?

The main 2 components of any program in general are...

1> Program code (any programming language)

2> Data (numbers/text/graphics)

The programming language uses code to manipulate:

store/calculate/interrogate/display the data.

The data could, in fact, be located anywhere...

-inside of the program's own 'internal' structure such as:

data statements/array structure/variables list/-etc.

-or else, inside of an 'external' database file:

(.txt)/(.dat)/(.csv)/-etc.

What is MUWebControl Class?

MUWebControl Class is an element of a Microsoft Web security process. It should not be removed from the hard drive but an anti-virus scan can be ran if it is suspected that it is not an authentic file.

How do you download pascal program?

You can download demo's or free versions of Pascal from several places:

FreePascal: http://freepascal.org

Embarcadero Delphi: http://embarcadero.com/products/delphi

RemObjects Oxygene (Pascal for .NET): http://www.remobjects.com/oxygene/

Embarcadero Prism (Same as Oxygene): http://embarcadero.com/products/embarcadero-prism-xe2

What are the similarities and differences between procedures and functions in pascal programming language?

Procedures and functions are exactly the same in Pascal, the only difference is that a function must return a value to its caller while a procedure does not. A procedure is essentially the same as a function returning void in C. We use procedures and functions to avoid writing duplicate or repeated sections of code and thus reduce maintenance costs. With well-named procedures and functions our code also becomes self-documenting, making the code much easier to read (and maintain).

Why c and java arrays are start with zero and pascal arrays are start with one?

It's a difference in mentality; some believe 0 is the begin, and is thus the only logical choice, and some think the opposite.

The time complexity of the sequential search algorithm is?

O(N) where N is the number of elements in the array you are searching.So it has linear complexity.

What is purpose of pascal?

The Pascal language is used just like any other programming language. In the 70's and 80's, Pascal and Basic were the most common languages taught for beginning programming classes.

Pascal is the foundation of the popular Delphi programming language as well as part of the Oxygene language for .NET.

Pascal language is easier to read and is not case sensitive, which can add to difficulty in learning programming. It's also easier to debug.

What are effect of logical errors?

The program doesn't work properly, e.g. generates invalid output.