Unit 4 Computer Systems Flashcards
Binary logic - AND Gate
- If both inputs are 1 (True) then the output is 1 (True)
- Otherwise the output is 0 (False)
Binary logic - OR Gate
- If either input is 1 (True) then the output is 1 (True)
- Otherwise the output is 0 (False)
Binary logic - NOT Gate
- If the input is 1 (True) then the output is 0 (False)
- If the input is 0 (False) then the output is 1 (True)
Binary logic - XOR Gate
- If just one input is 1 (True) then the output is 1 (True)
- Otherwise the output is 0 (False)
What does a dot symbol placed at the end of any logic gate mean?
Acts as both the gate and a NOT gate combined.
Explain the definition of hardware.
The physical components that make up a computer system.
Explain the definition of software.
- Software is the non-physical programs that are stored by and run on a computer system
- Software makes use of physical hardware components and devices as the way of: taking inputs from users, outputting information to users, storing information
What is an operating system?
A group of programs that is essential for managing the computer’s resources. They are responsible for managing: processor(s), memory, input/output devices, applications, security
Explain the term multi-tasking.
Where an operating system manages many tasks happening at the same time
What are interrupts?
- Signals sent to the CPU by external devices to indicate an event that needs immediate attention
- They tell the CPU to suspend its current activities and execute appropriate instructions
What is the difference between hardware and software interrupts and give examples?
- Hardware interrupts are generated by hardware devices e.g. printer run out of paper
- Software interrupts are generated by programs e.g. a divide by zero error will cause an error message to be displayed
Describe the process of memory management.
- To run a program, a computer must copy the program from storage into main memory
- Data used by the program is copied into main memory
- The operating system keeps a record of where each program and its data is located
- The operating system will make sure not to overwrite existing programs and data
Give some examples of peripheral devices.
Mice, keyboard, printers, displays, digital cameras, and graphics tablets
What is a device driver?
- A program that controls peripheral devices.
- Each device communicates with the OS via its own driver
Explain the process of operating system application management.
- The operating system (OS) provides graphical user interface (GUI) features such as windows, maximize, minimize, resize
- When an application is opened the OS will copy the program into RAM and allocate an area of RAM for the program to use
- When an application is closed the operating system will make sure that it is removed from RAM
- The operating system may also be responsible for installing and updating applications
What security features do operating systems often contain?
- User management with usernames and passwords
- Access rights to files, programs and services
- Encryption of hard drives and removable media
- Memory protection : prevention of programs being able to view or overwrite other programs stored in the RAM
- Security updates are automatically downloaded and installed
What is utility software?
Small programs that perform extra functionality and housekeeping tasks that keep computers running efficiently
What is encryption software?
Used to encode text so that it cannot be understood without knowing the key to decode it
How do you know if a connection to a website is encrypted?
Web browsers usually show a padlock for sites that are using HTTPS (Hypertext Transfer Protocol Secure)
Describe 4 uses of encryption software utilities.
- Encrypt entire hard disks so that the data cannot be understood if the computer is stolen
- Encrypt files and folders on a portable disk such as USB removable storage
- Encrypt communication with websites
- Encrypt data in an organisation’s database, especially sensitive data such as passwords
What is disk defragmentation?
- When you save a large file it may not fit on the disk in consecutive memory locations
- The file is referred to as ‘fragmented’
- Defragmenting the hard disk reorganises files so they are stored together
Types of memory and storage that are used in computer systems
- CPU registers
- Cache
- RAM
- ROM
- Secondary storage
Function of the clock
Controls the timing of the processor. It switches between 0 and 1 several million times per second and synchronises all CPU operations
What is a high level programming language?
A language that is closer to natural language, such as speaking English
What is a low level programming language?
A programming language that is close to the language that machines understand
What is RAM often referred to as?
Main memory, primary memory, primary storage
Why is RAM called Random Access Memory?
The name comes from the ability of the CPU to access any part of the memory in the same amount of time
What does RAM normally store at any one time?
- The operating system (or part currently in use)
- The software currently in use
- The data which the software is using
Properties of RAM
- It can be read from and written to
- Access to RAM is much faster than a hard drive
- RAM is volatile, loses data if the power is off
What is the difference between storage and memory?
- Storage permanently keeps the data that is currently being used, so if the computer were to turn off data in storage is not lost.
- Memory stores data currently being used temporarily as it is volatile, so if the computer turned off, data stored in memory would be lost forever.
Function of a compiler
Translates a high-level language into machine code
Function of an interpreter
Another type of program that translates a high-level language into machine code
Function of an assembler
Translates assembly code to machine code
What is the purpose of the CPU?
To fetch and execute instructions stored in memory
Describe Von Neumann architecture.
- Program instructions and the data the programs are using are both stored in the same memory
- The CPU accesses both instructions and data from the same RAM
What are the two major components of the CPU, and what is the purpose of each?
Arithmetic-Logic Unit (ALU) - carries out arithmetic and logic instructions
Control Unit - coordinates the CPU activities
Function of registers
A special fast memory location in the CPU. Stores small amounts of data, results of calculations, and instructions that the CPU is operating on