answersLogoWhite

0

Program data can be stored in the program's data segment, on the stack or on the heap. Constants, static variables and global variables are always stored in the program's data segment. Local variables are always stored on the stack. Dynamic variables are always stored on the heap.

User data is typically stored in files, but those files could exist literally anywhere, such as a local hard-disk drive, a file-server or "the cloud". However, data must be brought into working memory in order to operate upon it. Small amounts of data can be allocated within the data segment via static variables but generally you will use the heap. If the data is too large to fit into working memory all at once, use one or more temporary files on one or more local hard-disk drives and pull in what you need as and when you need it.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

Where is data stored in a database?

data is saved by storing


What are the methods in collect data?

There are five different methods in collecting data. The methods in data collect are registration, questionnaires, interviews, direct observations, and reporting.


Are database and a word-processing program the same?

No, they are very different. A database is for storing and manipulating data. A word processor allows you to type text and design documents like letters.


What are the uses of CPU?

Proccessing, mostly every program is run using it.


what are quantitative methods of gathering data?

Qualitative approaches aim to address the 'how' and 'why' of a program and tend to use unstructured methods of data collection to fully explore the topic. Quantitative approaches address the 'what' of the program. They use a systematic standardised approach and employ methods such as surveys.


What is the purpose of excel?

Excel is an electronic spreadsheet program that can be used for storing, organizing and manipulating numbers and data. It's an amazingly flexible program to find answers to logic based questions. It is a program that can compile lots of data into graphs and tables.


What are the different methods in gathering data?

There are many different methods for gathering data depending upon the industry and the objective. Some of the methods include direct Interviewing, indirect or questionnaire, registration method, and experimental method.


What is fragmentation and its significance?

Fragmentation is when a single file's data becomes distributed across a hard drive, taking longer to read it. Fragmentation generally only occurs in Microsoft's technique(s) of storing data, since Apple and Linux both use different methods.


Data gathering methods?

Different ways to gather data include:SurveyTelemarketingWeb searchHistorical analysis


Why do you have data base?

Database is used for storing data that are related. We need database in every field for storing data.


Can you give the name of two methods of storing data other than a floppy disc?

You could use a USB, or a memory card such as an SD card.


What are the different data access methods?

Random Access & Sequential Access