computer science

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/130

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

131 Terms

1
New cards

why is binary used by computers?

digital circuits have two states → on (1) + off (0)

2
New cards

state the uses of binary

numbers, text, sound, graphics

3
New cards

what does the acronym MSB represent?

most significant bit

4
New cards

in terms of sign-magnitude & two’s-complement, what do the circuits 0 and 1 indicate?

0 = positive

1 = negative

5
New cards

define overflow

when result > max bits

6
New cards

define arithmetic shift right

same as logical yet the sign bit is kept for signed values

7
New cards

state reasons as of why hexadecimal is better use than binary

easier to read (1 hex = 4 binary digits)

8
New cards

what does the acronym ASCII represent?

American Standard Code for Information Intercharge

9
New cards

define extended ASCII

supports over 1 million characters (up to 32 bits) → includes (emojis, global scripts)

10
New cards

define bitmap

image made by pixels, each stored in binary

higher resolution = more detail, larger file size

11
New cards

define color depth + state an example

number of bits per pixel

eg; 1-bit = 2 colors

12
New cards

explain sound representation

sound = analogue → needs to be digitised as computers only understand binary

digitising sound = sampling → measuring the amplitude of a sound wave at regular intervals

13
New cards

what’s the sample rate measured in? + state an example

hertz (Hz)

eg; 44,000 Hz → 44,000 samples per second

14
New cards

how does a higher sample rate impact sound?

smoother + more accurate sound

15
New cards

what happens if the sampling frequency is low?

lower quality sound & loss of detail

16
New cards

what happens if the sampling frequency is high?

better sound quality & larger file size

17
New cards

what does sample resolution refer to in sound?

number of bits used to store each sample

18
New cards

what impact does low resolution have on images/sound?

fewer colors / sound levels → poorer quality

19
New cards

what limits the quality & precision of digital data?

number of bits available to store it

20
New cards

state the importance of compression

  • reduces file size

  • speeds up downloads/uploads

  • saves storage space

21
New cards

differentiate between lossless & lossy compression

lossless → no data lost

lossy → data is lost

22
New cards

state example files of both lossless & lossy compression

lossless → ZIP, PNG

lossy → JPEG, MP3, MP4

23
New cards

what are both lossless & lossy compression good for?

lossless → best for text, code, archives

lossy → photos, audio, videos

24
New cards

state the function of run-length encoding (RLE) + state an example

replaces sequences of repeated data with a count + value

eg; AAAABBBCCDAA → 4A3BC1D2A

25
New cards

state the function of encryption

scrambles data, enabling only authorized people to read it

26
New cards

what’s encryption used to protect?

  • personal data

  • financial information

  • confidential files

27
New cards

what happens if no encryption is available?

data sent over the internet can be intercepted/read by unauthorized access

28
New cards

explain the pigpen cipher

a symbol-based substitution cipher where each letter is replaced with a symbol based on a grid

29
New cards

what is the caesar cipher?

a substitution cipher that shifts letters a fixed number of positions in the alphabet

30
New cards

explain the vigenere cipher

polyalphabetic; uses a keyboard to shift each letter differently

31
New cards

explain the rail fence cipher

transposition cipher changing the order of letters

32
New cards

define the input-process-output model

simple model used to describe how computers/systems work

33
New cards

explain the input-process-output model

input → data from user/environment

process → instructions carried out

output → result shown to user

storage → data saved to memory/files

34
New cards

state the different computational models

sequential, parallel, multi-agent

35
New cards

explain what happens in the sequential model

(1) tasks are carried out one after another

(2) each process must complete before the next begins

36
New cards

explain what happens in the parallel model

tasks are carried out at the same time on multiple processors/cores

used for speeding up large tasks

37
New cards

explain what happens in multi-agent model

(1) a system made of multiple independent agents interacting

(2) each agent follows simple rules, but their combined behavior creates complex results

38
New cards

state all hardware components

CPU, main memory, secondary storage, input/output devices

39
New cards

state the function of the CPU

executes instructions

40
New cards

state the function of the main memory

temporarily stores data & programs in use

41
New cards

state the function of the secondary storage

permanently stores files & programs

42
New cards

differentiate between the functions of input & output devices

input devices → send data to computer

output devices → shows results to user

43
New cards

how do the hardware components work together?

CPU + RAM → output

files → loaded from secondary storage → RAM → CPU processes → output

44
New cards

differentiate between RAM & ROM

RAM → volatile, holds data/programs in use

ROM → non-volatile, stores startup instructions

45
New cards

state the function of cache

volatile, very fast memory near CPU; stores frequent instructions

46
New cards

state the function of the virtual memory

volatile, hard drive space used when RAM is full

47
New cards

what’s a stored program?

program where instructions are stored in memory & fetched one at a time for execution

48
New cards

what does the Von Neumann Architecture state?

data/programs share the same memory/buses

49
New cards

explain the fetch-decode-execute cycle

fetch → instructions from memory

decode → in control unit

execute → in ALU

50
New cards

state all CPU components

CU, ALU, registers, clock, buses

51
New cards

state the function of the CU (control unit)

manages instructions & data flow

52
New cards

state the function of the ALU

performs calculations & logic

53
New cards

state the function of the registers

small storage for immediate data

54
New cards

state the function of the clock

controls timing of instructions

55
New cards

state the three different types of buses

address bus → memory location

data bus → actual data

control bus → control signals

56
New cards

state the factors affecting the CPU performance

  • clock speed

  • cores

  • cache size/type

57
New cards

how does the clock speed impact the CPU performance?

more cycles per second = faster

58
New cards

how do the cores impact the CPU performance?

more cores = more instructions processed at once

59
New cards

how does the cache size/speed impact the CPU performance?

cache size → bigger cache = faster access to frequent data

cache speed → L1 (fastest , smallest) → L2 → L3 (slower , larger)

60
New cards

state the different types of physical data storage

magnetic, optical, solid state

61
New cards

state the features & an example of the magnetic storage type

features → moving parts, large capacity, cheap

eg; hard disk drive (HDD)

62
New cards

state the features & an example of the optical storage type

features → laser reads pits/lands

eg; CD, DVD, Blu-ray

63
New cards

state the features & an example of the solid state storage type

features → no moving parts, fast, durable

eg; SSD, USB flash drive

64
New cards

state the function of the cloud storage + provide features

saves data on remote servers via the internet

features → accessible anywhere, scalable storage, requires internet

65
New cards

state some contemporary examples

USB sticks, external SSD’s, cloud platforms

66
New cards

define embedded systems + provide examples

computers built into another device to control it

eg; washing machines, microwaves

67
New cards

state the features of embedded systems

  • designed for specific tasks

  • small & low power

68
New cards

state the function of logic gates

used in circuits/programs to make decisions

69
New cards

state & describe the basic logic gates

AND → true only if both inputs are true

OR → true if either input is true

NOT → reverses input (true → false, false → true)

70
New cards

state the use of writing logic statments from problems

AND → when both conditions must be true

OR → when either condition is ok

NOT → to reverse a condition

71
New cards

define operating systems (OS)

softwares that manage computer hardware & software, acting as bridges between the user & hardware

72
New cards

state the main functions of operating systems

file/process/hardware management & user interface

73
New cards

define utility software

software performing specific maintenance tasks to maintain a system’s efficiency/security

74
New cards

state the key utilities of utility software

  • file conversion

  • compression

  • defragmentation

  • backup

  • antimalware

75
New cards

state the different types of anti-malware

antivirus → blocks viruses

anti-spyware → detects spying programs

76
New cards

define simulation + provide examples

imitates real-world processes for testing without risk or cost

used to test safely, reduce cost, predict outcomes
eg; flight simulators, business models

77
New cards

differentiate between system & application software

system software → controls/runs the computer (eg; drivers)

application software → helps users do tasks (eg; games)

78
New cards

differentiate between high & low-level languages

high-level language → code close to human language (java)

low-level language → closer to machine code (assembly)

79
New cards

state the features + uses of both high & low-level languages

high-level languages →

features → easier to learn, portable

used for → general software development

low-level languages →

features → fast, hardware-specific

used for → embedded systems

80
New cards

state the importance of translators

high-level languages/assembly must be translated since computers only understand machine code

81
New cards

state the different types of translators

assembler, compiler, interpreter

82
New cards

explain the assembler

converts each assembly instruction to binary

used for → assembly into machine code

pros → fast, direct hardware control

cons → non-portable, harder to debug

83
New cards

explain the compiler

translates all code at once before running

used for → high-level into machine code

pros → fast execution

cons → takes time to compile

84
New cards

explain the interpreter

translates line-by-line at runtime

used for → high-level languages

pros → easy to test

cons → slower execution

85
New cards

state the purpose of connecting computers in a network

  • share resources

  • communication

  • centralized management

  • easier backups & file access

86
New cards

differentiate between LAN, WAN & PAN

LAN (local area network) → cover small areas (homes, schools)

WAN (wide area network) → covers large areas (internet, banking networks)

PAN (personal area network) → very small areas (phones, laptops)

87
New cards

different between client-servers & peer-to-peer models

client-servers → servers that provide services requested by clients

peer-to-peer → devices share data directly, equal roles

88
New cards

differentiate between the pros & cons of both wired & wireless connectivity

wired (ethernet) → fast, stable, secure yet less portable

wireless (Wi-Fi) → flexible yet slow

89
New cards

what are network speeds measured in?

bits per second (bps)

90
New cards

state the common measurement units

mbps = megabits/sec (1 million bps)

gbps = gigabits/sec (1 billion bps)

91
New cards

define protocols

rules for communication between devices

92
New cards

state all the different types of protocols

  • ethernet

  • Wi-Fi

  • TCP/IP

  • HTTP

  • HTTPS

  • FTP

  • POP3

  • IMAP

  • SMTP

93
New cards

differentiate between ethernet & Wi-Fi

ethernet → wired data transfer

Wi-Fi → wireless data transfer

94
New cards

state the purpose of the TCP/IP

sends/routes all data over internet

95
New cards

state the purpose of HTTP/HTTPS

access web pages (HTTPS = securer version)

96
New cards

state the purpose of FTP

transfers files between computers

97
New cards

state the purpose of POP3

downloads emails, deletes from servers

98
New cards

state the purpose of IMAP

reads emails, keeps on servers

99
New cards

state the purpose of SMTP

sends emails to servers

100
New cards

what’s included with the data sent in packets?

  • data

  • destination address

  • error-checking bits