1/191
mreow
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
Hexadecimal
A base-16 numeral system that uses sixteen distinct symbols: 0-9 and A-F.
Why use hexadecimal?
Hexadecimal allows representation of 16-bit words with only 4 digits, taking less display space, and is quicker to enter.
Hexadecimal in color coding
Colours in web design are often represented in hexadecimal format, where # indicates a colour code, e.g., #FFFFFF for white.
MAC Address
A Media Access Control address is used to uniquely identify devices on a network, formatted as six pairs of hexadecimal digits.
IPv6
Internet Protocol version 6 uses hexadecimal addressing to provide enough unique addresses for every networked device.
Hexadecimal in programming
Hexadecimal simplifies low-level programming by making it easier to reference memory addresses compared to long binary strings.
Error messaging
Hexadecimal error codes are used in embedded systems for compact display on small screens, aiding in troubleshooting.
Conversion from hex to binary
Hexadecimal digits can be easily converted back to binary, facilitating data representation.
Color intensity in hex
The value of hexadecimal numbers represents color intensity in web design, allowing a full spectrum of colors.
Software
A set of programs/instructions written in a programming language performing 1 or more tasks to tell the computer what to do. It allows the computer to function.
Hardware
The physical and peripheral components of a computer.
Firmware
A software permanently stored on the hardware/ROM which contains instructions allowing the hardware to function and communicate with software.
Bootloader
A small piece of firmware containing the instructions to start up the operating system; it loads the OS onto the RAM upon startup.
How do applications access hardware resources?
Through making 'calls' to the OS and the device drivers.
System software
The manager: A variety of programs which are necessary for the computer to function and manages the operation of computer hardware and software.
Application software
The software which the user needs to perform specific tasks using the computer's resources.
Operating system
The platform in which other programs/applications are run on. Also provides the user with a human computer interface.
Utility Software (MMC)
Manages, maintains, and controls the computer's resources. It makes sure everything runs smoothly.
Interrupts
A signal sent from a device or a software to the OS which causes a temporary stop in the current instruction being processed to service the interrupt.
What are interrupts sent through?
Interrupt Request Lines (IRQ)
What are interrupts sent to?
The interrupt handler in the OS to perform the Interrupt Service Routine (ISR)
Examples of Interrupts
High Level Language (HLL)
Programming language written in a language (like English) that humans understand. It is a portable language which can be used on multiple platforms (machine independent).
Low-Level Language (LLL)
Programs written for a specific type of architecture and hardware. It is non-portable and machine dependent.
Advantages and Disadvantages
Assembly language
A low-level language, it uses mnemonics to specifically manipulate hardware. 1 line of assembly language translates to 1 line of machine code.
Difficult to debug
Mnemonics
Directly manipulates hardware
Ex. Bootstrap in ROM
Assembler
Translates assembly language into machine code. Assembly language generally takes up less memory space than high level languages.
Advantages of Assembly language
What is a compiler?
A compiler is a software program that translates source code written in a high-level programming language into machine code that can be executed directly by a computer.
What is an interpreter?
A software program which translates high-level language into machine code line-by-line
Advantages of a compiler
Advantages of an interpreter
Integrated development environment (IDE)
A program which allows users to write, debug, and translate code
Consists of: Prettyprint, Run-time environments, Code editors, Autocomplete and autocorrect, Translators, and Error Diagnostics
Code editors
Used to write and edit program code
Run-time environments
The facility of the IDE which runs programs
Prettyprint
Applying formatting and indentation to make the code easier to read
Error Diagnostics
A list of errors and their line numbers reported after testing
Auto correct
Replaces/corrects any grammatical errors or variable names which have minor typing errors
Autocomplete
Provides a drop down list of variables/possible choices to complete keywords/variables
Translators
Allows the user to run the code using compilers and interpreters
What does the system software do?
Provides a Human Computer interface (HCI)
CPU architecture
Busses
Immediate access store
holds data and instructions when they are loaded from the main memory and waiting to be processed
Current Instruction Register (CIR)
Memory Address Register (MAR)
Memory Data Register (MDR)
Program Counter (PC)
Accumulator
Fetch-decode-execute cycle
System clock
controls the speed at which instructions are processed
Clock speed
dictates how many instructions the CPU can process each second
Issues of increasing clock speed
Cache memory
memory that is used to store recently accessed or frequently accessed data so that the CPU can retrieve it quickly
Advantages of using many cores
faster performance
Disadvantages of using many cores
multiple cores attempt to access or modify the same data at the same time, causing delays due to contention
Embedded systems
Special-purpose software designed and included inside a larger system
Input devices
enable the user to input data and commands into the computer
Examples of input devices
Sensors
Control of street lighting
Output devices
Inkjet vs. laser printer
Inkjet printer:
Laser printer:
LCD vs LED monitors
LCD:
LED:
Primary storage
Secondary storage
Off-line storage
Random Access Memory (RAM)
DRAM vs. SRAM
DRAM:
SRAM:
Read Only Memory (ROM)
Virtual memory
Magnetic storage
Optical storage
moving lasers shone at disk to create and read pits and lands
e.g. - e.g. CD/DVD, Blu-ray disks
Solid-state (flash memory)
Cloud storage
Network Interface Card (NIC)
allows a device to connect to a network
Media Access Control (MAC)
Internet Protocol (IP)
Static vs. dynamic IP
Static IP addresses:
Dynamic IP addresses:
IPv4 vs. IPv6
IPv4:
IPv6:
Router
Binary system
a number system with base 2
Denary system
a number system with base 10
Hexadecimal
a number system with base 16
'A' in hexadecimal system is _ in denary
10
Overflow
error where the number of bits is not enough to hold the solution
Logical shifts
moving a binary value to the left or to the right, emptied bit is 0
Two's complement
method used to present negative values in binary
MSB is replaced from ______ to ______ in two’s complement
128 to -128
Uses of hexadecimal system
ASCII
7-bit code that represents letters, numbers and characters found in a standard keyboard as well as 32 control codes
Unicode
character code that enables most of the languages of the world to be symbolised with a special character identification
How is sound recorded?
Sampling resolution (bit depth)
number of bits per sample
Increasing sampling resolution…
Sampling rate
number of sound samples taken per second in Hz
Increasing sampling rate…
Bitmap images
made of pixels stored in a computer as a series of binary numbers
Colour depth
number of bits representing each colour
8-bit colour depth
each pixel can be one of 256 colours