Computor Systems Flashcards
Boolean expressions
Until. Response = N OR response = n
Response = N or N are the expression - used to control loops and if statements
Boolean variables
Boolean expressions can be given any letter of your choice. The letter is now the Boolean variable
Ie
UNTIL. X OR Y
Three main Boolean terms
Not
And
Or
Logic gates are
A symbol assigned to each Boolean term
Truth tables
Show all possible outcomes of output based on whether input is 0 or 1 ( off or on )
Logic circuits
Diagram or circuit of lots of interlinking logic gates
Hardware
Any physical component of the computer
Software
Any program that runs on the computer
2 main categories of software are
Systems software & Application Software
System software description and examples
Programs that are needed to enable the function of the computer are classified under System Software.
Operating System, Utility Software, etc
Application Software description and examples
Aka APPS
Any program that enables a user to perform a task is classified under this category.
Word, Excel etc
OS ( operating system) description and examples
Manages the computers resources; manages applications
Processor, memory, input/output, security etc
Processor management
What is is managed by?
How is it managed?
Example
OS manages processors. In a multi tasking system such as windows, many tasks may be running at the same time. In reality the OS assigns a tiny amount of time to each task in turn.
Eg; person typing document pauses to think, OS will give a new task to the processor
Memory management description and example
When a program is running it must be in the computers main memory & the OS will many where in memory it must go.
When you start a program the OS allocates the program adequate blocks of free space and allocates memory for any data file you may open.
Application management description and example
Application programs need the OS to function. When you install an application program the OS will run a program to install it.
What is the API? Why is it used?
The OS system interacts with applications through the Application Program Interface. The OS needs to communicate with the applications about the execution of modules, saving or deleting data etc
management of input and output devices description and example
A function of the OS is to control I/O devices. When a user gives an instruction to print a document, the I/O management function takes over & controls the sending of data to be printed from memory to the device driver.
What is a device driver
Link to HP printers
Each I/O device had a small program that acts as an interface between the device and the computer which is called the device driver
A HP printer would need a different device driver for a Mac and for a PC
Security management description and example
Many functions to protect device from outside threats or attacks eg
User passwords so files can’t be accessed
Automatic downloads of updates so loopholes are quickly patched
Encryption of files
Embedded systems description and example
Many devices at home use microprocessors or CPUs (embedded systems) to control their functions. They may not need an OS as their tasks are generally simple and repeated
Differences of embedded systems to non embedded systems
System is held in non volatile memory eg ROM or EPROM and rarely if ever changed during the lifetime of the device
Some can not be changed after manufacture unsustainable to attach peripherals
Advantages of embedded systems
Makes device easier to use Increases reliability Enhances usability Some connect to WiFi so can record programmes Accurate metre bills
Utility software description
Most OS include this even though it’s not essential as it makes it easier for the user Security utilities ie encryption Disk organisational utilities Data Compression utilities File back up utilities
Encryption software description
Uses an algorithm and key to transform plaintext into ciphertext. Would be necessary to know both the key and algorithm to break it.