Block 3 Part 1 - Data on your Computer Flashcards
Memory - Hard Disk
In a computer system, storage devices are categorized into two main types:
- _________________
- _________________
- Primary
- Secondary
Memory - Hard Disk
What is primary storage used for, and give an example.
Used for temporary data storage during active tasks.
RAM
Memory - Hard Disk
What is secondary storage used for, and give two examples.
Used for long-term storage of data even when the power is off.
Hard disk, external drives, solid state drives
Memory - Hard Disk
What is a Hard Disk (HD)?
A hard disk, or hard drive, is a data storage device used in computers to store and retrieve digital information. It consists of one or more r________ d_______ coated with m__________ material, and data is stored on these disks in a digital format. Hard disks provide n___-v________ storage, meaning the data is retained even when the power is turned off.
rotating disks
magnetic
non-volatile
Memory - Hard Disk
True or false?
It is safe to open the casing of a HD.
False
Hard disks are sealed in a clean environment to minimise dust entering the casing.
Even a particle of dust could cause it to crash!
Memory - Hard Disk
What are the circular disks inside the HD called?
platters
Memory - Hard Disk
Platters rotate on a central s________
spindle
Memory - Hard Disk
Platters are covered on both sides with a metal that can be magnetised in tiny areas to represent z______ and o_______.
zeros and ones
Memory - Hard Disk
Each platter has a h_____ that can pass over every part of the disk as it is spinning.
This h____ is able to detect and c_______ the magnetic areas, and so can read and write the zeros and ones
head
head
change
Memory - Hard Disk
Most hard disks now rotate at 7200 revolutions per minute, and of course each point on the disk has this same rotational speed.
Does a spot on the outside of the platter move faster than one closer to the middle?
Yes
A spot on the outside of the platter will move further in one revolution than one on the inside, as it has to rotate through a circle with a greater radius in the same time – so it moves faster.
Memory - Hard Disk
The __________ ____________ manages the data on the hard drive.
Operating system
Memory - Hard Disk
How is data organised?
data is stored in files
Memory - Hard Disk
The operating system runs something called a f_____ s________.
The f________ s________ dictates how data is w________ to – and r_________ from – a disk, and also records the l__________ of the file stored on the disk.
file system
file system
written to and recovered from
location
Memory - Hard Disk
As there are lots of different operating systems, each with its own kind of file system, do you need a different kind of disk drive for each?
No
We can prepare almost any hard disk drive to work with any operating system and its file system.
Memory - Hard Disk
How do we prepare a hard disk drive to work with any operating system and its file system?
We ‘format’ it.
The process is called formatting.
Memory - Hard Disk
The most important thing that happens when a disk is formatted is that at least one area of the disk must be loaded with the operating system’s f_____ s________ in readiness for it to store data.
file system
Memory - Hard Disk
The areas of a disk are called p__________.
partitions
Memory - Hard Disk
True or false?
You need at least one partition on the drive, and if you have more than one partition, the formatting process will cause them to be displayed as separate drives by your operating system
True
E.g. C drive, E drive …
Memory - Hard Disk
True or false?
Formatting procedures do not check the physical structure of the disk for errors, this is down to the engineer.
False
Formatting procedures may indeed check the physical structure of the disk for errors, recording their location so that data is not written to these locations
Memory - Hard Disk
How is the space organised on the hard drive, once it is formatted (1)?
All hard disks are formed of a series of t________ – sometimes called r_______ – that can contain data.
tracks
rings
Memory - Hard Disk
How is the space organised on the hard drive, once it is formatted (2)?
A disk track is too l______ to manage the data effectively as a single storage unit. (An individual disk track can store more than a megabyte of data.
It would be very i___________ for storing small files, so, as part of the formatting process, tracks are divided into several numbered, e_______ divisions known as s__________.
large
inefficient
equal
sectors
Memory - Hard Disk
The sectors are a___-shaped pieces of a track. Almost all file systems create sectors that can hold _____ bytes of data.
arc
512
Memory - Hard Disk
The sectors are grouped together in c______.
So a cluster is a larger u____ of m_______ whose size depends on the particular file system being used.
A cluster always consists of one or more c____________ sectors, but typically there are 4 or 8 (or some other power of 2) sectors in a cluster.
clusters
unit of memory
consecutive sectors
Memory - Hard Disk
True or false?
When a file is written to the hard disk, it always takes up a whole number of clusters.”
True
Memory - Hard Disk
True or False
A sector is the second smallest physical storage unit on the disk
False
It is the smallest.
Memory - Hard Disk
Given that a sector is 512 bytes in size, how many bytes of storage are there in a cluster composed of 4 sectors?
2048 bytes
Memory - Hard Disk
Once a file has been written to one or more clusters, how does the operating system know where to find the file again?
It searches the F______ A______ T________.(FAT)
It is the area of the hard disk that is used as an index of every cluster on the disk and records whether a cluster is being used or not.
File Allocation Table
Memory - Hard Disk
The space that is available for files to be written to is referred to as u__________ s_________ on the disk, and of course this is always a whole number of clusters’ worth of bytes
unallocated space
Memory - Deleting data from an HD
When a file is deleted, the operating system doesn’t erase the file; it simply makes the clusters that the file occupies available for r________________. So the data is still there until it is o______________.
reallocation
overwritten
Memory - Deleting data from an HD
Once the clusters have been prepared for reallocation, we say that the file has been ‘dereferenced’.
Why?
Because there is no longer any reference to it in the file allocation table (FAT)
Memory - Deleting data from an HD
Even when the cluster has been overwritten there may still be part of the old file left behind.
Answer the following questions to reveal how this happens.
- Why is the physical size of a file almost always bigger than it’s actual size (logical size) when it is saved?
- What do we call the remaining space in the cluster?
- What happens if the newly allocated file does not occupy the whole of the cluster or clusters?
- This leftover data, which is called l_______ data or a_______ data, can provide investigators with clues as to what was originally stored in the whole cluster, which may in turn provide leads for other enquiries.
- Because a file has to be saved in a discrete number of clusters (i.e. whole number) The file size may only be 1280 bytes, but in order to be stored in a discrete number of clusters (a cluster being made up of sectors, with each sector containing 512 bytes) In a system where a cluster contains 4 sectors, a file of size 1280, would not use up all of the space. There would be 768 bytes remaining.
- slack space
- The data in the slack space is not overwritten.
- latent or ambient data
Memory - Deleting data from an HD
There are only three ways to permanently delete data from a hard disk. They are:
- O_______________
- D_______________
- P_________ d__________
- Overwriting
- Degaussing
- Physical destruction
Fragmentation (1)
If your operating system tries to save a file that cannot be stored in a single cluster, the file system breaks up the file in cluster-sized chunks and tries to save them in c_______ clusters.
contiguous
Fragmentation (2)
If contiguous clusters are not available, the file is f______________, which means that the remaining clusters are written elsewhere on the same disk.
fragmented
Fragmentation (3)
True or false?
Fragmentation can slow down system performance.
True
Fragmentation (4)
Why does fragmentation slow down system performance?
Because the file system must direct the heads to several different areas of the disk to find all the data in the file you want to read.