4.6 Fundamentals of computer systems Flashcards
What is a computer?
A machine that processes data by following instructions
What is application software?
Application software is designed to perform tasks that a user wants to complete, such as playing a game, writing a letter, or sending an email.
What is system software?
System software controls the hardware of a computer system.
What is a library?
A collection of prewritten instructions that can be repurposed for use in other programs
Describe at least 3 roles of an operating system
Hiding the complexity of hardware from the user
Provides a platform for applications for run on
User Interfaces
Processor scheduling — determining the order in which processes will be executed, which allows for multi-tasking
Handling interrupts — dealing with requests that disrupt the processor’s work
Memory management — recording how memory in the computer is divided and identified so that memory is allocated efficiently between processes that are running
Secondary storage management — tracking where files and programs are stored and which parts are available for storage, and managing files and folders based on user permissions
Input/output device management — ensuring efficient communication with devices and managing functionality issues
What is a low-level language?
Low-level languages use the specific instruction set of a processor.
What is machine code?
Binary instructions written directly to the processor (the only language that can do so)
What does each low-level instruction consist of?
Each low-level instruction consists of two parts: an opcode and an operand.
OPCODE,OPERAND
eg.
001100 0010110100
What is an opcode?
An opcode is the part of the instruction that specifies which operation the processor should perform.
What is an operand?
The operand contains a value, or set of values, relevant to the opcode. The operand can be an actual piece of data, or it can be a reference to the memory location of the data for the opcode to act on.
What is the addressing mode?
The addressing mode specifies the way in which the operand will be interpreted
What does the opcode consist of?to
The opcode consists of the instruction to perform and the addressing mode.
How do you work out the number of addressing modes from the bits allocated ?
2^bits allocated
eg. 2 bits, 2^2 = 4
What is an assembly language?
A language that uses mnemonics that represent the binary equivalent machine code
What is a high-level language?
High-level languages use command words and Syntax that reflect everyday language. They are designed to allow humans to interact with a computer system with no technical knowledge of the hardware.