Computer Science Theory

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

1/35

encourage image

There's no tags or description

Looks like no tags are added yet.

36 Terms

1
New cards

The Binary number system

A base-2 number system using only 0 and 1 to represent data.

2
New cards

01011000 in decimal

Equal to 88 (64 + 16 + 8).

3
New cards

37 in binary

Equal to 00100101 (32 + 4 + 1).

4
New cards

Binary addition rules

0+0=0, 0+1=1, 1+0=1, 1+1=0 (carry 1), 1+1+1=1 (carry 1).

5
New cards

Binary addition method

Start from the right; if sum exceeds 1, carry 1 to the left.

6
New cards

Binary shifts

Left shift multiplies by 2; right shift divides by 2.

7
New cards

Overflow error

Occurs when a calculation result is too large for allocated bits.

8
New cards

Hexadecimal

A base-16 number system using digits 0-9 and letters A-F.

9
New cards

Why Hexadecimal is used

Shorter, easier for humans to read, and reduces transcription errors.

10
New cards

Binary to hexadecimal conversion

Split into 4-bit nibbles, convert to decimal, and use hex letters over 9.

11
New cards

Where Hexadecimal is used

HTML colour codes, MAC addresses, and memory addresses/error codes.

12
New cards

Logic gates

Electronic components taking inputs to produce a single output using simple rules.

13
New cards

AND Gate

Outputs 1 only if both inputs are 1.

14
New cards

OR Gate

Outputs 1 if either or both inputs are 1.

15
New cards

NOT Gate

Reverses a single input (1 becomes 0, 0 becomes 1).

16
New cards

Truth tables

Grids showing all possible inputs and their resulting outputs.

17
New cards

Compression

Making a file smaller to save storage and speed up network transfer.

18
New cards

Run Length Encoding (RLE)

Lossless compression replacing repeated data sequences with a value and count.

19
New cards

Huffman Coding

Lossless compression giving shorter binary codes to frequently appearing characters.

20
New cards

Lossy compression

Permanently removing less noticeable data so the original cannot be fully restored.

21
New cards

Lossless compression

Reducing file size without losing any original data.

22
New cards

Network

A number of connected devices that can communicate.

23
New cards

LAN (Local Area Network)

A network covering a single site, like a school.

24
New cards

WAN (Wide Area Network)

A network connecting different geographical locations, like a supermarket chain.

25
New cards

PAN (Personal Area Network)

A small short-range network connecting devices around a single person.

26
New cards

Stand alone

A single computer not connected to a network.

27
New cards

Advantages of networks

Sharing resources, easier maintenance, and hotdesking.

28
New cards

Wi-Fi

Connecting devices wirelessly to a network using radio waves.

29
New cards

Bluetooth

Wireless connection over short distances using radio waves for nearby devices.

30
New cards

Ethernet Cables

Copper wires connecting devices within a LAN.

31
New cards

Client

A device on a network requesting resources from a server.

32
New cards

Server

A device on a network providing a service, like a file server.

33
New cards

Switch

Sends data directly between devices within a network.

34
New cards

Router

Hardware responsible for transmitting data between different network types.

35
New cards

Network Interface Card (NIC)

Internal hardware allowing a device to connect to a network.

36
New cards

Wireless Access Point (WAP)

Transmits Wi-Fi signals allowing cable-free network connection.