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

Why was turbo pascal programming named after the french mathematician blaise pascal?

Pascal programming was invented by Niklaus E. Wirth, a Swiss computer scientist in 1968. It was named in honour of Blaise Pascal (1623-1662) because he invented the first automatic adding machine.

What is the input alphabet of pascal?

I assume you want to ask what is the command from people to type in a input.

First of all you need a VAR (variable), variables can be defined as:

1. Boolean (True or False)

2. integer (have limit)

3. real (accept decimal places)

4. char (ONE character)

5. string (sentence)

then you need the READLN(var),

such as the variable is N then you need readln(n);

Hope I can solve your question.

What are enumerated data types in pascal?

Pascal has 4 primitive data types: integer; boolean; char and; real. These 4 provide the basic building blocks for more complex types.

What do you mean by procedure?

A procedure is a specified series of actions or operations which have to be executed in the same manner in order to always obtain the same result under the same circumstances (for example, emergency procedures). Less precisely speaking, this word can indicate a sequence of activities, tasks, steps, decisions, calculations and processes, that when undertaken in the sequence laid down produces the described result, product or outcome. A procedure usually induces a change. It is in the scientific method. So it is in Particular!

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 are the uses of trees in programming?

In programming, trees are used to represent hierarchical data structures, such as file systems and organizational structures. They facilitate efficient searching, insertion, and deletion operations, particularly in binary search trees and balanced trees like AVL or Red-Black trees. Trees also enable the implementation of various algorithms, such as those for parsing expressions in compilers and managing databases. Additionally, trees are employed in data compression techniques, such as Huffman coding, to optimize storage and retrieval.

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.