answersLogoWhite

0


Best Answer

A string allows you to manipulate texts. For example, you might ask the user to type his name, then greet him "Hello, John Doe" (or whatever he typed in). Or you might keep track of names of players, in a computer game.

An example of where a single character might be used is to accept an option from the user - just let him type "y" for yes, or "n" for no.

Numbers are used in all sorts of calculations. Real numbers allow decimals.

While real numbers by themselves might, in theory, seem to satisfy all needs, special types for integers are also used for the following advantages: greater speed, less storage space, greater precision (with real numbers, small errors can accumulate, due to the translation between binary and decimal).

A string allows you to manipulate texts. For example, you might ask the user to type his name, then greet him "Hello, John Doe" (or whatever he typed in). Or you might keep track of names of players, in a computer game.

An example of where a single character might be used is to accept an option from the user - just let him type "y" for yes, or "n" for no.

Numbers are used in all sorts of calculations. Real numbers allow decimals.

While real numbers by themselves might, in theory, seem to satisfy all needs, special types for integers are also used for the following advantages: greater speed, less storage space, greater precision (with real numbers, small errors can accumulate, due to the translation between binary and decimal).

A string allows you to manipulate texts. For example, you might ask the user to type his name, then greet him "Hello, John Doe" (or whatever he typed in). Or you might keep track of names of players, in a computer game.

An example of where a single character might be used is to accept an option from the user - just let him type "y" for yes, or "n" for no.

Numbers are used in all sorts of calculations. Real numbers allow decimals.

While real numbers by themselves might, in theory, seem to satisfy all needs, special types for integers are also used for the following advantages: greater speed, less storage space, greater precision (with real numbers, small errors can accumulate, due to the translation between binary and decimal).

A string allows you to manipulate texts. For example, you might ask the user to type his name, then greet him "Hello, John Doe" (or whatever he typed in). Or you might keep track of names of players, in a computer game.

An example of where a single character might be used is to accept an option from the user - just let him type "y" for yes, or "n" for no.

Numbers are used in all sorts of calculations. Real numbers allow decimals.

While real numbers by themselves might, in theory, seem to satisfy all needs, special types for integers are also used for the following advantages: greater speed, less storage space, greater precision (with real numbers, small errors can accumulate, due to the translation between binary and decimal).

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

A string allows you to manipulate texts. For example, you might ask the user to type his name, then greet him "Hello, John Doe" (or whatever he typed in). Or you might keep track of names of players, in a computer game.

An example of where a single character might be used is to accept an option from the user - just let him type "y" for yes, or "n" for no.

Numbers are used in all sorts of calculations. Real numbers allow decimals.

While real numbers by themselves might, in theory, seem to satisfy all needs, special types for integers are also used for the following advantages: greater speed, less storage space, greater precision (with real numbers, small errors can accumulate, due to the translation between binary and decimal).

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are benefits of havng different data types in pascal programming can you please give me some examples like what are the benefits of having a integer data type real string character etc?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the different examples in computer application in science?

Programming and design are examples in computer application in science.


Where can a person find Dish Network programming online?

One can find dish networking programming online from many different websites. Some examples of these websites include Dish, Infinity Dish, and USDish.


Provide two programming examples in which?

Apple and pear.


What are the examples of an accounting software?

QuickBooks by Intuit, Sage venture bookkeeping programming and custom bookkeeping programming.


What are some of the different types of software programming languages?

High level languages Mid Level Languages Low level languages High level languages: cobol, fortran etc Mid level languages: C, C++ Low level languages: assembly language


What are the examples of object oriented programming environments?

Java, C++


What are literary DEVICES how are they different from literary ELEMENTS and give some examples like character development?

i do not really know


What are examples of objected programming language?

C++C#EiffelJavaSmalltalkVisual Basic


What are examples of programming languages?

C, C++ and java are a couple. There are still many other programming language.


Examples on structures of C programming?

'struct tm' (time.h) and 'FILE' (stdio.h)


Examples of Low-Level Programming Language?

Machine code & Assembly language.


What are the examples of middle level programming language?

binary language