1. Data representation Flashcards
Define a bit
The basic computing element that is either 0 or 1
Define the binary number system
A number system based on 2 and can only use values 0 and 1
Define an error code
It is an error message generated by the computer
Define a MAC address
It is an address (given in hexadecimal) that uniquely identifies a device on the internet in the form of NN-NN-NN-DD-DD-DD
(NN-NN-NN is the manufacturer code)
(DD-DD-DD is the device code)
Define an IP address
It is an address that uniquely identifies each device connected to a network identifying their location.
Define HTML
It is used to design and write webpages
Define an overflow error
The result of doing a calculation that produces a value that is too big for the computers allocated word size
Define logical shift
An operation that shifts bits to the left or right in a register.
(Any bits shifted out of the register are replaced with zeroes)
Define the two’s complement
A method of representing of negative numbers in binary
(When applied to an 8-bit system, the left most bit is given the value -128
What is an ASCII code
A character set for all the characters on a standard keyboard and control codes.
Define a character set
a list of characters that have been defined by computer hardware and software.
Define an Unicode
a character set which represents all the languages of the world
Define a sampling resolution
the number of bits used to represent sound amplitude in digital sound recording
Define what is bit depth
the number of bits used to represent the smallest unit in a sound file
Define what is color depth
the number of bits used to represent the colours of a pixel
Define sampling rate
the number of sound samples taken per second in digital sound recording
Define bitmap image
an image made up of pixels
Define pixel
the smallest element used to make up an image on a display
Define image resolution
the number of pixels in the X–Y direction of an image,
Define pixelated image
this is the result of zooming into a bitmap image; on zooming out the pixel density can be diminished to such a degree that the actual pixels themselves can be seen
Define pixel density
number of pixels per square inch
Define compression
reduction of the size of a file by removing repeated or redundant pieces of data;
Define bandwidth
the maximum rate of transfer of data across a network, measured in kilobits per second (kbps) or megabits per second (Mbps)
Define lossy file compression
a file compression method in which parts of the original file cannot be recovered during the decompression process
Define lossless file compression
A file compression method that allows the original file to be fully restored during the decompression process, for example, run length encoding (RLE)
Define audio compression
a method used to reduce the size of a sound file using perceptual music shaping
Define MP3
a lossy file compression method used for music files
Define MP4
a lossy file compression method used for multimedia files
Define JPEG
; a form of lossy file compression used with image files which relies on the inability of the human eye to distinguish certain colour changes and hues
Define RLE
a lossless file compression technique used to reduce the size of text and photo files in particular
How do you calculate The file size of an image
image resolution (in pixels) × colour depth (in bits)
How do you calculate The size of a mono sound file
sample rate (in Hz) × sample resolution (in bits) × length of sample (in seconds)
Why is file compression necessary
» to save storage space on devices such as the hard disk drive/solid state drive
» to reduce the time taken to stream a music or video file
» to reduce the time taken to upload, download or transfer a file across a network
» the download/upload process uses up network bandwidth
» reduced file size also reduces costs.
Define a data packet
a small part of a message/data that is transmitted over a network
Define a data packet
a small part of a message/data that is transmitted over a network
What is the building block of all computers and why
What do switches in a computer do and what is another name for themBinary number system, because it is only made up of 0’s and 1’s. Computers contain millions of tiny switches that must be in either the ON or OFF position. These positions can be represented by the binary number system.
1=ON(high)
0=OFF(low)
What do switches in a computer do and what is another name for them
Make use of logic gates and store and process data
Microtransistors
What does binary allow computers to do
Carry out calculations
What is a bit
A basic computing element that is either a 0 or 1, comes from BInary digiT
What is the binary number system
A number system based on 2, and only contains 0’s and 1’s
What is the denary system also called
A base 10 number system
What are the uses of the hexadecimal system
Error codes
Mac address
IPv6 adress
HTML colour codes
What are error codes
They are codes that are usually automatically generated, and refer to the memory location of the error
What does the MAC address stand for
Media Access Control address
What does NIC stand for
Network interface card
What is a MAC address
A number which uniquely identifies a device on a network, it refers to the NIC.
Why are MAC addresses rarely changed
So that a particular device can always be identified no matter where it is
What does the NN-NN-NN in a MAC address identify
What does the DD-DD-DD in a MAC address identify
The number of the manufacturer
The device serial number
What do IP addresses stand for
Internet protocol addresses
What is the difference between an IPv4 and an IPv6
32 vs 128 bit number. IPv6 uses a colon instead of a decimal point
What does HTML colour codes stand for
Hyper text markup language colour codes
Why is the maximum denary value of an 8-bit binary number
255
(2^8-1)
What is it called when there is more than 8 bits generated after calculations and what does it mean
Over flow
The number is too big to be stored in the computer using 8 bits
A bigger register needs to be used
What is an overflow error
The result of carrying out a calculation where the result is too big for the computers word size.
What is hexadecimal
A number system based on 16, goes from 0-9 and then A-F
What is HTML
It is a mark-up (NOT PROGRAMMING) language used when writing and developing web pages
It uses tags<>
Often represents colours of text on screen
What is a logical shift
An operation that shifts buts left/right in a register and replaces shifted bits with 0
Left shift= multiply binary number by 2
Right shift=divide binary number by 2
What is the left most bit reffered to as
The most significant bit
What does ASCII code stand for and what is it
What was it originally used for
American Code for Information Interchange
It is a set of characters for each character on a standard keyboard/control code.
Communication and computer systems
What is a character set
A set of characters that have been defined by computers hardware and software. It is used so that the computer can understand human characters.
What does the standard ASCII code character set consist of and what is it used for
7-bit codes(0-127 in denary/00to 7F in hex)
Represent the letters numbers and characters found on a standard keyboard together with 32 control codes(0-31 denary, 00 to 19 hex)
What does ASCII vs unicode use to represent a character
1 vs 4 bytes
What were the goals of unicode (5)
To have uniform code
Unambiguous code
Reserve part of the code for private use
Universal standard
More efficient coding system
What is unicode
Character set that represents the languages of the world (first 128 are the same as ASCII)
What does the aplitude of a wave specify
The loudness of the sound
What is analouge data
Data that varies continuously
How do computers store sound wave data
They convert it from anolouge to digital using an ADC, sampling the amplitude at regular intervals. The amplitude cannot be precicely measured so approximate values are stored.
How could you get a more accurately sampled sound
By increasing the sampling resolution(bit depth)
What is sampling resolution
Also known as bit depth
The number of bits used to represent sound amplitude in a digital recording
What is bit depth
The number of bits used to represent the smallest unit in a sound file
What is the sampling rate
The number of sound samples taken per second
Measured in hertz where 1 herts means one sample per second
How is sampling used to record a clip (3)
The amplitude is first determined at set time intervals
An approximate representation of the wave is produced
Each sample is then encoded to a series of binary digits
What are the advantages of a higher sample rate/larger resolution
Larger dynamic range
Less sound distortion
Better sound quality
What are the disadvantages of a higher sample rate/larger resolution
Produces larger file size
Takes longer to transmit/download
Requires a greater processing power
What is a bitmap image
An image made up of pixels
What is colour depth
The number of bits used to represent the colours of a pixel
What is an image made up of
A two-dimentional matrix of pixels
What bit depth do modern computers have
24 bit depth
What is image resolution
The number of pixels that make up an image
Explain the drawbacks of high resolution images
They increase file sizes, which impacts how many images can be stored on the eg. Hardrive. It takes longer to download and transfer the images.
what is pixel density
The number of pixels per square inch
How big is a byte
8 bits
How big is a nibble
4 bytes
What is the largest memory size metioned in the textbook
Exabyte
X10^18
What is a more accurate way of measuring memory sizes, and what should be measured using this
IEC memory size system
International electronical commision
RAM and ROM
Why would data need to be compressed
Storage
Time taken to stream
Reduce file size=reduce costs
Reduce time to download/transmit
Reduce bandwidth usage
What is bandwidth
Where maximum rate of data transfer accross a network measured in kbps or mbps
What is lossy file compression
Eg.
A compression process that eliminates unneccesary date and some detail which cannot be recovered during the decompression process
JPG
MP3
MP4
How does lossy file compression affect MP3 (2)
It removes sounds out of the human hearing range
If there are 2 sounds at the same time, one is removed
What is audio compression
A method used to reduce the size ofa sound file using perceptual music shaping
What is the difference between MP3 and MP4 files
MP3 is for music
MP4 allows multimedia storage.
What is the JPEG file reduction process based on
Human eyes dont detect differences in colour as well as they do differences in brightness
By separating pixel colour from brightness, images can be split into 8x8 pixel blocks which allows information to be easily discarded with minimal quality loss
When should lossless file compression be used
When comressing large/complex spreadsheets or downloading a large computer application
What is RLE and what does it do
Run-length encoding
Form of lossless file compression
Reduces size of a string of adjacent,identicsl data
This string is then encoded into 2 values, the first being the number of identical items in the run, the second the code of the data (eg. ASCII)
Only effective if there are long runs of repeated bits
Order and power of storage (bits)
2^1 bits, 2^2 nibbles, 2^3 bytes, 2^10 KB, 2^20 MB, 2^30 GB, 2^40 TB, 2^50PB
Storage for 1 ASCII character
1 byte
Storage for 1 UNICODE character
2 bytes
Hexadecimal base, characters and uses
Base 16, 0-9 then A-F, MAC Addresses/Html colour coding and computer error messages, IPV6 messages
How is data stored on a computer
In binary using 1s and 0s, on or off
What is a bitmap image
Bitmap (raster) images are comprised of small picture elements called pixels. Bitmaps blur when enlarged
What is a vector image
Vector images use mathematical expressions to describe how the image is created and do not blur when enlarged
JPG or JPEG images
JPG or JPEG is a type of bitmap image that has been compressed using lossy compression. When the image is enlarged it appears blurry.
Calculating bitmap file size
pixels down x pixels across x bit depth
divide answer by 8 to give in bytes
divide by 1024 if more than to give in KB
and so on till PB
Sound stored on a computer
Humans hear sound as analogue data that varies over time though computers work with digital data. Computers sample the sound at difference time intervals to best recreate it.
Sound sample rate
The more samples per time interval the better the quality of sound
Sound file size calculation
frequency (sample rate/hertz) x bit depth x length x channels
channels:
stereo is 2
5.1 is 6
7.1 is 8
Lossy compression of sound file
In an MP3 file lossy compression works by removing frequencies humans can’t hear well and/or at all
MIDI files
MIDI files don’t contain music or sounds, they contain a list of commands that instruct a device on what sound to produce, how loud, what frequency and for how long.
Video file storage
MP4 files allow for multimedia, sound and picture
Uses of lossy compression
audio, video, images
Lossless compression uses
text
Binary systems
Computer uses binary. Has transistors which have 1s and 0s which are located in the integrated circuits.
Hexadecimal uses
Memory dumps
Represent colour in HTML
MAC Addresses
URL
Assembly language
IPv6 Addresses
Locations in memory
MAC Address structure composed of
NN-NN-NN-DD-DD-DD
First part is the organisationally unique identifier (OUI) or the manufacturer ID
Next is universally administered address (UAA) serial number
Describe MIDI File
Musical Instrument Digital Interface
Stores a set of notes
Does not store actual sounds
Data in file recorded using digital instruments
Sends file to audio synthesiser to play note
Specifies when each note plays and stops, duration, tempo, instrument type
Individual notes can be edited
Describe JPEG
Joint photographic experts group
Standard format for storing lossy compression image
Maintain decent img quality
File size = pixels * primary Color’s
Describe MP3
Format for digital audio
Actual recording of the sound
Is a lossy compression format
Recorded using microphone
Describe MP4
It can store multimedia
Music, videos, text, photos
Format of lossy compression
Describe Parity Check and its limitations
Method of data transmission
System could use odd or even parity
Odd/Even parity is decided and parity bit is added at the end
When receiver gets data a check is performed
Bits are counted
If incorrect data sent repeatedly till server times out
Limitations:
Transposition error
When bits still add up to odd/even number
Even number of incorrect bits
Describe ARQ
Transmitter sends data in packets
When received it is checked for errors
If no errors, sends an acknowledgment
If no acknowledgment received, it sends it repeatedly
Till server times out
Describe check digit
Data is input with check digit
Calculation performed on inputted data
Calculated digit is then compared to a stores value
If it matches, data entered is correct
If no match, data entered is incorrect
Describe check sum
Transmitter sums up total group of data before transmission
Data is sent along with the sum
Receiver works out sum and compares to stored value from transmitter
Data should match meaning it’s correct
If no match data entered is incorrect
Memory ascending order
Small - Large
Bit
Nibble = 4 bits
Byte = 8 bits
Kilobyte = 1000 bytes
Megabyte = 1000 kilobytes
Gigabyte = 1000 megabytes
Terabyte - 1000 gigabytes
Describe Lossy compression
A compression algorithm used
Data will be lost permanently
Reduce colour depth
Reduce number of pixels
Reduce sample rate
Use perceptual music shaping (removes inaudible sounds)
Describe Lossless compression
Compression algorithm
No data will be removed permanently
For example an RLE algorithm may be used
Repeated patterns are identified and indexed
Sometimes replaced
Describe Bitmap img
Stores position and colour of every pixel
Very detailed images used for photos
Makes them large files
If compression resolution decreased
Uses .bmp file
Describe Vector img
Mathematically constructed image
Uses math formulas to draw shapes and lines
Results in small file size
Uses .svg file
Good for cartoons unaffected by pixelation
Why is Lossy better than Lossless
− Lossy decreases the file size more
− Take up less storage space on webserver/users’ computer
− Quicker to upload/download
− May not need to be high quality
− Website will load faster for users
− Less lag/buffering when watching
− Takes up less bandwidth to download/upload
− Uses less data allowance
Why is Lossless better than Lossy
− Image if compressed does not become pixelated
− User has the option retain all original data
− Can restore the compressed image into original
− Also reduces file size to an extent
uses of binary system (3)
ASCII value
unicode value
instruction
memory measurements from smallest to largest (5)
1KB
1MB
1GB
1TB
1PB
advantages of using hexadecimal (5)
easier to understand
easier to debug
shorter so takes up less space
faster to enter than binary
conversion to binary is easier than from denary
uses of hexadecimal numbers (3)
MAC address
HTML colours
error messages
problems with shifting bits (3)
may run out of places at the end of the register
end bit may be lost
may result in loss of precision
what does HTML stand for
hyper text markup language
structure of HTML
structure used for layout
in HTML doc, presentation and structure often kept separate
HTML tag used for structure
URL (composed of 3 parts)
protocol
filename
webserver name
presentation of HTML
presentation used for colour/style
in HTML doc, presentation and structure often kept separate
CSS linked to the HTML used for presentation
what does MAC address stand for
Media access code
explain what is meant by a MAC address (6)
hardware address
unique num associated w device
LAA
UAA
first 6/8 digit = manufacturer code
last 6/8 digit = serial num of device
What is the denary system?
Number system based on the number 10
What is the binary system?
Number system based on the number 2
What is the hexadecimal system?
Number system based on the number 6
Used for memory dumps, HTML, MAC addresses, web addresses and assembly code/machine code
How do you convert from binary to denary?
Add the powers above the binary number, add up the binary numbers where the 1s appear
How do you convert from denary to binary?
Under powers, add 1s from right to left if it can add to the number
How do you convert from memory sizes?
add / divide by 1024
How do you convert from binary to hexadecimal?
convert each group of 4 binary digits to a hex value
How do you convert hexadecimal numbers to binary?
convert each letter/number into 4-bit binary
How do you convert hexadecimal numbers to denary?
Remember the place values and then multiply the hex number by this
How do you convert denary numbers into hexadecimal numbers?
convert from denary to binary to hexadecimal
How is hexadecimal used for memory dumps?
allows the contents of the memory to be seen by the writer when developing new software
enabling errors to be detected
also used in diagnostics when a computer malfunction (hex used as it is easier to use than a long string of binary values)
What is HTML used for?
hypertext markup language used for when writing and developing web pages (uses tags)
What is MAC addresses used for?
to uniquely identify a device on the internet (can be UAA or LAA)
first 6 digits for manufacturer code
How is hexadecimal used for web addresses?
ASCII codes can replace the URL (which are hex values)
How is hexadecimal used for assembly code / machine code?
makes it easier, faster and less error-prone in writing the code in binary
What are the Number Systems and their Bases?
Binary, Base 2
Denary, Base 10
Hexademical, Base 16
What is Binary?
Binary is a base 2 number system, having the digits 0 and 1 - which represent true and false, as well as voltage levels.
What is a bit?
A bit is the fundamental unit, 0 or 1.
What is the hierarchy of units in binary?
Bit → 1/0
Nibble → 4 Bits
Byte → 8 Bits.
Kibibytes → 1024 Bytes
Mebibyte → 1024 Kibibytes
Gibibyte → 1024 Mebibytes
Tebibyte → 1024 Gibibytes
Pebibyte → 1024 Tebibytes
What are the titles for the most left bit and the most right bit?
Most Left → Most Significant Bit
Most Right → Least Significant Bit
What is Signed Binary?
Signed Binary are binary values of positive and negative, containing 2 variables of Sign and Magnitude.
Signed binary has a Sign Bit, which is the MSB, at 1 it is negative, and at 0 it is positive.
It cannot be used to processing zeroes, because zero cannot be positive or negative.
What are the possible textual representations?
ASCII
Unicode
What is ASCII?
ASCII contains characters encoded with character sets → codes assigned to a character.
Originally only 7 bits long, but extended to 8 to contain 256 characters.
What is Unicode?
Unicode was created due to ASCII’s inability to represent all possible characters.
ASCII is a subset of Unicode, Unicode uses 16 bits, having codes for 120 000 characters.
What are encoding tables?
Character codes are sequential, so it is in ascending order. To find the code for another character, simply add to where a previous one is.
What is a pixel?
The smallest distinguishable feature.
How are images represented in binary?
Bitmaps, images are stored as an array of individual pixels.
How do you calculate an image’s size?
Pixel Width x Height
What is the resolution of an image?
It is the detail that an image holds, aka pixels per inch.
How is an image converted from analogue to digital?
A grid is placed over the image
An average colour is found for each pixel and assigned a binary value
Each pixel is represented by multiple bits, one combination a shade
The number of bits in a pixel is called the colour/bit depth.
What affects an image’s size?
Increasing Resolution; Increasing Colour Depth
Size = Pixel Size x Colour Depth (in bits)
What is Metadata?
It is data about data, for example it allows the image to be displayed properly as well as other unneeded data:
File name; format; colour depth; resolution; camera details
What is the difference between analogue and digital data?
Analogue signals are continuous, represented by waves.
Digital data is discrete, falling between defined ranges and taking only certain values.
Computers require digital data, as it cannot read analogue signals.
What is a sampling frequency?
It is the number of samples obtained over second, measured in hertz. The greater the sampling frequency, the better quality but the larger file.
How is sound digitized?
Several samples should be taken at regular intervals, with a binary value given to each reading
What is a sample size?
It is the bit depth
What is the bit rate?
It is the number of bits used per second
Bit rate = Sampling Frequency x Sample Size
How is a sound file size calculated?
It is the Sampling Frequency x Sample Size x Time
What is Compression and the Two Types of it?
Compression is the reduction of file size without losing important information.
Lossy
Lossless
What is Lossy Compression?
Lossy compression is a means of compression in which data is removed and lost forever. Some quality can be lost.
E.g JPEG, MP3, MP4
What is Lossless Compression?
No data is removed here - it is maintained, but it is rearranged, for example using Run Length Encoding.
Repeated data is replaced with frequency
The more data the more the file can be compressed
Can be restored fully
What is Encryption?
It is the process of making data secret so only authorised viewers can decrypt and read the data.
It doesn’t prevent interception, it simply stops it from being understood.
What is the simplest process of Encryption?
Plaintext → Ciphertext → Message Sent → Message Received → Message Decrypted
Why is Encription Required?
It is needed to protect data, especially important ones
Bank information, government details, identity information
What are the uses of hexadecimal
Memory dumps (B 5 A 4 1 A F C)
Html color code (#FF 00 00 - red)
Mac address (00-1C-B3-4F-25-FE)
Web address
Assembly language
Error messages
Locations in memory
Reasons for using hexadecimal
Easier for humans to read/ write/understand
Easier to remember for humans
easier to debug
Fewer errors made
Shorter way to represent data
takes up less space on screen
Reasons to use binary
Computer uses logic circuits
These can only process 1s and 0s
Describe html presentation
formatting/style
Separate file/CSS used
E.g background color
Color applied to text
Font style
Describe html structure
Layout of webpage
Uses tags to define it
Eg where paragraph is placed
Where images is placed
How many GiB in a TiB?
1024 GiB
How many MiB in a GiB?
1024 MiB
What are the uses of hexadecimal?
Colour values in photo editing software
MAC addresses
IPv6 addresses
Unicode
What is an overflow error?
A computer or a device has a predefined limit that it can represent or store (e.g. 32 bits).
Once a values falls outside this limit, an overflow error occurs
How to convert using a Two’s Complement Signed Integer?
Flip the bits and add 1
What is a character set?
Consists of all the letters, numbers and special characters that can be recognised by a computer system.
How many characters/bits does the ASCII character set use?
128 characters / 7 bits
How many characters/bits does the Extended ASCII character set use?
256 characters / 8 bits
How many characters/bits does the Unicode character set use?
65,356 characters / 16 bits
What is sample rate measured in?
Frequency in Hertz
What is the sample rate?
How often the height is recorded (x-axis)
What is the sample resolution?
The accuracy to which the height is recorded (y-axis)
What is sample resolution “measured” in?
Bit depth
How to calculate file size of a sound file in bytes?
(Sample rate x Sample frequency x Length) / 8
What is the colour depth of an image?
The number of bits required to represent the number of colours in the image
What is the image resolution of an image?
The number of pixels in the image (i.e. the area of the image ~ b x h)
What is the image resolution of an image?
The number of pixels in the image (i.e. the area of the image ~ b x h)
What is metadata?
The information that allows us to recreate the image on the screen
How to calculate the file size of an image file in bytes?
(Image resolution x Colour depth) /8
What file formats use Lossy compression?
JPG, MP3, MPG
What are the advantages of Lossy compression?
Biggest reduction in file size
Least transmission time
Reduces Internet traffic and collisions
What are the disadvantages of Lossy compression?
Detail is permanently lost by reducing the colour depth, resolution or rate
When would Lossy compression be used?
Music streaming
Online images and video
Image libraries on devices or in the cloud
What file formats use Lossless compression?
TIF, PDF, GIF, PNG, ZIP
What are the advantages of Lossless compression?
Original quality is preserved / no information or data is lost
What are the disadvantages of Lossless compression?
Less significant reduction in file size
When would Lossless compression be used?
Text documents
Electronic books
High resolution documents
What is binary?
Series of 1’s and 0’s that represent values or characters
Values are stored in base-2 (denary is in base-10)
One binary digit is called a ‘bit’
8 bits make up one ‘byte’
The maximum size of the integer able to be stored depends on the number of bits used - e.g. the largest number stored by 8 bits is 255
Describe the use of binary in computer registers
A register is a location where data that the processor is using can be stored
Processors have internal registers that data can be transferred between
The register itself is a group of binary cells, where data is stored as a series of 1’s and 0’s.
What is binary-coded decimal and where is it used?
A system of writing numerals where each digit is represented by a 4-bit binary sequence
Has the advantage that there is no limit to the size of the number: to add another digit, you just need to add a new 4-bit sequence
Used in barcodes and arithmetic where every digit has to be retained in a result
What is hexadecimal?
Series of the numbers 1-9 and letters A-F that represent values or characters
Values are stored in base-16
Why is hexadecimal used to represent numbers?
Each hexadecimal digit represents 4 binary digits, so it is shorter to read
Easier for programmers to read as more characters are used (not just 1’s and 0’s)
Very large numbers can be stored in a smaller amount of space
List some current uses of hexadecimal numbers in computing
defining colours in Hypertext Markup Language (HTML)
Media Access Control (MAC) addresses
assembly languages and machine code
debugging
What do computers use binary to do?
To represent data, such as numbers, text, sound and graphics
To program instructions
What is 4 bits known as?
A nibble
What is 8 bits known as?
A byte
(Exam-style question)
Explain one reason why all instructions and data used by a computer are represented in binary. (3)
A processor consists of billions of transistors, each having just two states, on/off
The on/off states of a transistor represent the binary digits 1/0
(Exam-style question)
Describe a ‘bit’. (2)
A bit is short for binary digit, the smallest unit of data in a computer
A bit has a single binary value, either 0 or 1
(Exam-style question)
Give one reason why a computer doesn’t need to know what a binary pattern represents. (1)
The microprocessor hardware only operates on bits, so it has no concept of type or representation
(Exam-style question)
Write an arithmetic expression to show that 256 different colours can be represented in 8 bits. (1)
2⁸ = 256 colours
What can denary numbers also be called?
Decimal numbers
(Exam-style question)
Explain one reason why the denary number 256 cannot be represented in an 8-bit binary pattern. (2)
The number would be represented in binary as 100000000
You would need 9 bits to store it