What is the difference between physical , main , secondary , Primary memory? [closed] - operating-system

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am learning Operating System but these words really confused me , i tried to search on the internet but couldnt find the exact difference between them?? can anybody help me out and clear my confusion??

Primary storage (also main memory and physical memory) are generally used interchangeably to refer to the memory that is attached directly to the processor.
Secondary storage is storage that is not directly connected to the CPU. The most common case of secondary storage is the hard disk.
You say searched on the internet without finding an explanation, however wikipedia seems to have a lot to say about computer storage http://en.wikipedia.org/wiki/Computer_data_storage

Related

DigitalOcean managed Postgres out of memory [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 days ago.
Improve this question
I am using managed Postgres from DigitalOcean. I have the cheapest instance, with 1 CPU, 1GB RAM and 10 GB space. I have a small database (aprox 25 tables), so the resources should be enough. I am using Postgres version number 15.
However, even when not using the database (not querying or inserting), the disk usage continues to go up. I suspect that the logging might be an issue.. from their API I've set the temp_log_size property to a small size, still no success.
Does anybody know what I can do? I don't think that it is possible to access the configuration file directly. Thanks a lot.

What is difference between disk imaging and copy? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
In digital forensics, analyst do disk imaging to collect information before analysis. Then why they don't use 'copy'? What is difference between disk imaging and copy?
So this is more of a language question than a programming question. A disk image is a computer file that represents the contents of a physical volume (usually). So when analysts create a disk image they are, in fact, copying data from the disk to a file.
So to creating a disk image is probably a type of copying, but they could also copy individual files. Copying could be seen as a technique, where a disk image could be seen as a type of file that is a copy of a physical drive.

Is a Data Stream a Sequence of Memory Addresses like an Array? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I've read a lot of books and articles mentioning data streams, which I've used mostly in Java, and none of them really mention exactly what a data stream is under the hood. Is it data aligned in memory consecutively as bytes?
Bonus question: What about a socket? How is it represented in memory exactly and how is it connected to a hardware input/output?
A Java stream is an abstraction: just something that you can read from or write to. It is usually backed by an external resource such as a file or a socket. For gory details of each stream, and there are dozens, see the source code. The only two streams that really accord with your description 'sequence of memory addresses' are ByteArrayInputStream and ByteArrayOutputStream.
A socket is an endpoint of a communication. Internally it is a data structure in the kernel, and it is 'connected' to a network protocol stack which in turn is connected to one or more network interface cards (NICs).

Are EEPROMs one time programmable? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I want to erase only some part of locations to be modified in my application. Does the EEPROM supports these featrue? or they ar one time programmable?
From Wikipedia:
[EEPROM] is a type of non-volatile memory used in computers and other electronic devices to store small amounts of data that must be saved when power is removed, e.g., calibration tables or device configuration. Most components (such as RTC) uses them to store their configuration (do an interrupt everyday at eight, for instance).
You may indeed reprogram it (to set the alarm for example). The difficulty of it depends on the device and the support available for it, of which you give no information whatsoever.

how does youtube know that you uploaded the same video? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
do they store the hashes of the videos and then compare them? how do they know that you had already uploaded that video? there are plenty of videos on you tube that have the same file name and file size.
They likely do hashes. But since Google acquired YouTube, there's a lot more intelligence in their code. Google and others have been working on creating "digital fingerprints" for media like movies, where defining characteristics become part of the same result even if the file is mildly tampered with. Because this is an ongoing race between (loosely speaking) "pirates" and "the Powers That Be," there's research ongoing on both sides of the fence, and the algorithms involved are likely to be kept as industry secrets.
(a good excuse for me to only give you this vague, hand-waving explanation instead of some useful facts).