Digital Systems, Binary, Hexadecimal, ASCII, Storage & Data Representation

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/107

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 6:42 PM on 6/1/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

108 Terms

1
New cards

Why do computers use binary?

Electronic components have two stable states (on/off), making binary the natural choice for digital systems.

2
New cards

How many unique values can n bits represent?

2ⁿ unique values. E.g. 8 bits = 2⁸ = 256 values.

3
New cards

Convert 8-bit binary 01001010 to denary.

74

4
New cards

Convert denary 200 to 8-bit binary.

11001000

5
New cards

What is two's complement used for?

To represent negative numbers in binary.

6
New cards

How do you convert a positive number to two's complement negative?

Flip all bits of the positive binary number, then add 1.

7
New cards

Convert -35 to 8-bit two's complement.

11011101

8
New cards

What is the range of values in 8-bit two's complement?

-128 to +127

9
New cards

Add binary 01110011 + 00101101.

10100000

10
New cards

What is an overflow error?

When the result of a calculation is too large to fit in the allocated number of bits.

11
New cards

What is the effect of an overflow error?

The result wraps around or becomes incorrect, causing unexpected program behaviour.

12
New cards

What does a logical left shift by 1 do to a binary number?

Shifts all bits left by one place, fills the right with 0.

13
New cards

What does a logical right shift by 1 do to a binary number?

Shifts all bits right by one place, fills the left with 0.

14
New cards

What does an arithmetic right shift do?

Shifts all bits right but fills vacated MSB positions with the original sign bit.

15
New cards

How does an arithmetic right shift differ from a logical right shift?

Arithmetic fills vacated bits with the sign bit; logical always fills with 0.

16
New cards

Why does a right shift reduce precision?

Bits shifted off the right end are permanently lost.

17
New cards

Why is hexadecimal used?

It is more compact than binary — each hex digit represents exactly 4 bits.

18
New cards

Convert binary 11101010 to hexadecimal.

EA

19
New cards

Convert binary 00111111 to hexadecimal.

3F

20
New cards

Convert hex 3F to binary.

00111111

21
New cards

Convert hex EA to binary.

11101010

22
New cards

What is 7-bit ASCII?

A character encoding standard that uses 7 bits to represent 128 characters.

23
New cards

What is one limitation of ASCII?

It can only represent 128 characters.

24
New cards

What was created to address ASCII's limitations?

Unicode — a standard that supports over 100,000 characters.

25
New cards

What is the ASCII decimal code for uppercase 'A'?

65

26
New cards

What is the ASCII decimal code for lowercase 'a'?

97

27
New cards

What is the ASCII decimal code for the digit '0'?

48

28
New cards

What is the von Neumann stored program concept?

Both program instructions and data are stored together in the same memory.

29
New cards

What is the role of the clock in the FDE cycle?

It generates regular pulses that synchronise CPU operations.

30
New cards

What is the role of the address bus?

Carries the memory address of the data or instruction the CPU wants to access.

31
New cards

What is the role of the data bus?

Carries actual data and instructions between the CPU, RAM and I/O devices.

32
New cards

What is the role of the control bus?

Carries control signals to coordinate operations between components.

33
New cards

What happens during the fetch stage of the FDE cycle?

The CPU reads the instruction from RAM at the address in the Program Counter.

34
New cards

What happens during the decode stage of the FDE cycle?

The Control Unit interprets the binary instruction to determine what operation is needed.

35
New cards

What happens during the execute stage of the FDE cycle?

The CPU carries out the instruction.

36
New cards

What is primary storage?

Fast memory directly accessible by the CPU.

37
New cards

What is secondary storage?

Non-volatile long-term storage such as HDD, SSD or optical discs.

38
New cards

Why is primary storage needed if secondary storage exists?

RAM is much faster and directly accessible by the CPU.

39
New cards

Why is secondary storage needed if primary storage exists?

RAM is volatile — data is lost when the computer is switched off.

40
New cards

How does a magnetic HDD store data?

Tiny magnetic particles on spinning platters are polarised to represent 0s and 1s.

41
New cards

What is the main advantage of an HDD?

High storage capacity at a low cost per GB.

42
New cards

What is the main disadvantage of an HDD?

It has moving parts, making it slower than an SSD.

43
New cards

How does an optical disc store data?

A laser reads pits and lands on a reflective spinning surface.

44
New cards

What is a strength of optical storage?

Portable, cheap to produce, and good for distributing software or media.

45
New cards

What is a weakness of optical storage?

Low capacity compared to HDD/SSD and slow data transfer speeds.

46
New cards

How does an SSD store data?

Electrical charge is trapped in floating-gate transistors.

47
New cards

What is the main advantage of an SSD?

Much faster read/write speeds than an HDD.

48
New cards

What is the main disadvantage of an SSD?

More expensive per GB than an HDD.

49
New cards

What is magnetic tape storage best suited for?

Large-scale archival backups.

50
New cards

Calculate the number of bits in a 2.5 GB file.

20,000,000,000 bits

51
New cards

What unit is used to measure data storage that equals 1,024 megabytes?

Gigabyte (GB)

52
New cards

What is the role of an operating system?

To manage hardware resources, files, processes, security and the user interface.

53
New cards

What is scheduling in an OS?

The OS decides which process gets CPU time.

54
New cards

What is paging in an OS?

Dividing a process's memory into fixed-size pages.

55
New cards

What is a device driver?

Software that translates generic OS commands into device-specific instructions.

56
New cards

Why are device drivers needed?

To allow the OS to communicate with a peripheral.

57
New cards

What is a GUI?

Graphical User Interface — uses visual elements like windows, icons and a pointer. Intuitive and easy for general users.

58
New cards

What is a CLI?

Command Line Interface — the user types text commands. Harder to learn but more powerful for scripting and remote administration.

59
New cards

What is the purpose of authentication in an OS?

To verify a user's identity (e.g. via password or biometrics) before granting access to the system.

60
New cards

What are file permissions in an OS?

Rules controlling what an authenticated user can do with files — e.g. read, write or execute access.

61
New cards

What does defragmentation software do?

Reorganises fragmented files on an HDD so data is stored contiguously, improving read/write speed.

62
New cards

What does backup software do?

Creates copies of data so it can be restored after deletion, hardware failure or a cyberattack.

63
New cards

What does encryption software do?

Scrambles data so it can only be read by someone with the correct decryption key.

64
New cards

What is a virus?

Malware that attaches to legitimate files and replicates when the file is run, spreading to other files and systems.

65
New cards

What is a trojan?

Malware disguised as legitimate software. Once installed it creates backdoors or steals data. It does not self-replicate.

66
New cards

What is ransomware?

Malware that encrypts the victim's files and demands payment for the decryption key.

67
New cards

What is spyware?

Malware that secretly monitors user activity and sends information such as keystrokes or passwords to an attacker.

68
New cards

What is a worm?

Malware that self-replicates and spreads across networks without needing to attach itself to a file.

69
New cards

How does anti-malware software work?

It detects, quarantines and removes malware using signature databases and heuristic analysis of suspicious behaviour.

70
New cards

Why is out-of-date anti-malware a risk?

New malware strains won't be in an outdated signature database, so they won't be detected or blocked.

71
New cards

Why is unpatched software a security risk?

Known vulnerabilities are publicly listed. Attackers exploit systems that haven't applied the patch fixing those weaknesses.

72
New cards

What is phishing?

A social engineering attack using fake emails or websites to trick users into revealing passwords or financial details.

73
New cards

What is spear phishing?

A targeted phishing attack aimed at a specific individual or organisation, using personalised details to appear more convincing.

74
New cards

What is pretexting?

A social engineering tactic where an attacker creates a fabricated scenario to manipulate someone into giving information or access.

75
New cards

What is shoulder surfing?

Physically watching someone enter a password or PIN to steal their credentials.

76
New cards

What is baiting?

Leaving infected USB drives or media in public places, hoping someone will plug them in and install the malware.

77
New cards

What is ethical hacking?

Authorised simulated attacks on a system carried out to find vulnerabilities before malicious attackers do.

78
New cards

What is penetration testing?

A method of testing a system's security by simulating real attacks to identify and report weaknesses.

79
New cards

How does a firewall protect a network?

It monitors and filters incoming and outgoing traffic based on predefined rules, blocking unauthorised connections.

80
New cards

What is a physical security measure?

Controls like locks, key cards, CCTV and security guards that prevent unauthorised physical access to hardware.

81
New cards

What is an acceptable use policy?

A document stating the rules for how employees may use IT systems, reducing the risk of misuse.

82
New cards

Why are regular backups important for security?

They allow data to be restored after ransomware, accidental deletion or hardware failure, minimising data loss.

83
New cards

What is an audit trail?

A log of all actions performed on a system, used to detect suspicious activity and investigate security incidents.

84
New cards

Why is code review important for security?

Other developers can identify vulnerabilities such as SQL injection risks or backdoors that the original developer missed.

85
New cards

Why are computers connected in a network?

To share resources such as files, printers and internet access, communicate, and enable collaborative working.

86
New cards

What is a LAN?

Local Area Network — covers a small geographical area like a building or campus, typically owned by one organisation.

87
New cards

What is a WAN?

Wide Area Network — spans large distances such as cities or countries. The internet is the largest WAN.

88
New cards

Why are network protocols needed?

They define agreed rules for how data is formatted, transmitted and received, allowing different devices to communicate.

89
New cards

What is an IP address used for?

To uniquely identify a device on a network so data can be correctly routed to its destination.

90
New cards

What is a property of copper cable?

Carries electrical signals, relatively cheap to install, but susceptible to interference and limited bandwidth over long distances.

91
New cards

What is a property of fibre optic cable?

Carries data as light pulses, giving very high bandwidth, low signal loss over long distances, and no electrical interference.

92
New cards

What is Wi-Fi?

Wireless networking using radio waves with a typical range of up to ~100m. High bandwidth but signal weakens through walls.

93
New cards

What is Bluetooth?

Short-range wireless technology (~10m) for connecting personal devices such as headphones or keyboards.

94
New cards

What is Zigbee?

A low-power, low-data-rate wireless protocol designed for short-range IoT devices such as smart home sensors.

95
New cards

What is NFC?

Near Field Communication — operates over just a few centimetres. Used for contactless payments and device pairing.

96
New cards

What is bandwidth?

The maximum amount of data that can be transmitted per second, measured in bits per second (bps).

97
New cards

What is latency?

The time delay between data being sent and it being received, measured in milliseconds.

98
New cards

Calculate the transmission time for a 400 Mb file at 40 Mbps.

10 seconds.

99
New cards

Calculate the transmission time for a 50 MB file at 40 Mbps.

10 seconds.

100
New cards

What is a bus topology?

All devices connect to a single shared cable (backbone). Cheap but if the backbone fails the whole network goes down.