







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








Stored program concept von Neumann wanted to make a computer that was easy and quick to reprogram so that it can carry out a variety of tasks Computer architecture Refers to the structure of a computer system - the hardware components it has and how they work together to execute programs von Neumann architecture - CPU A processing unit to decode and execute program instructions fetched from memory one at a time von Neumann architecture - main memory A memory unit into which program instructions and data are loaded prior to being processed von Neumann architecture - input and output Input and output mechanisms to input programs and data and output the results of processing
Key facts about main memory
Magnetic, optical, solid state Magnetic storage EXAMPLES = hard disk drives & magnetic tape drives (used in int/ext hard drives, tape drives) A HDD contains a stack of circular, metal platters that spin at high speed. Both surfaces of each platter are coated with a substance that can be magnetised.Each platter has its own read-write head. TO WRITE DATA: An electromagnet in the read-write head magnetises the surface of the platter to one of two polarities : north-south or south-north. These represent 1 or 0 respectively. Data is stored on a series of concentric tracks, subdivided into sectors TO READ DATA: The read-write head detects the magnetic state of the platter ADVANTAGES:
An embedded system is a small computer on a chip, that performs a dedicated task within a bigger system. Most embedded systems work in real-time - they must respond immediately to an external event or request Features of embedded systems
How it works : scans the damaged file, extracts as much data from it as possible and stores it in a new, usable file Disk defragmentation software Purpose : to speed up access to files stored on a magnetic hard drive (Solid-state drives get just as fragmented as magnetic hard drives but because they have no moving parts, it doesn't affect the data access speed) How it works : It rearranges individual file blocks for each file so that they are stored in contiguous (adjoining) blocks on the disk Why fragmentation occurs When a file is saved to the hard drive, it gets split up into blocks. Ideally, all blocks belonging to one file are saved in adjoining sectors on the disk. As files are changed, blocks have to be saved wherever there is free space. Fragmentation slows down read operations, because more disk accesses are needed to retrieve all the blocks of a single file Backup software Purpose : to keep a copy of files so that if a file gets lost or damaged, the most recent backup can be restored How it works : Backup copies of files are made at regular intervals and stored on a separate device in a different location to the live working environment - possibly in the cloud Anti-malware software Purpose : To protect computer systems from damage caused by malware, such as viruses, worms, and spyware How it works : Some types of anti-malware software use a database of malware signatures (the patterns associated with a known piece of malware). If the anti-malware detects a file that has a pattern that matches a known signature, it deletes or quarantines it Some use heuristic analysis to detect suspicious behaviour Robust software Code that can handle unexpected actions without crashing or producing incorrect output and is free from vulnerabilities that could be exploited by criminals.
Things programmers can do to make their programs robust
strengths: