Compsci Lock In Sesh

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 201

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

202 Terms

1

What does the FDE cycle stand for?

fetch decode execute cycle

New cards
2

What happens in the fetch stage of the FDE cycle?

An instruction is fetched from memory.

New cards
3

What happens in the decode stage of the FDE cycle?

The instruction is decoded.

New cards
4

What happens in the execute stage of the FDE cycle?

The decoded instruction is executed so that the CPU performs it continuously

the PC is incremented

the instruction is transferred to the MDR

the address of the next instruction to be fetched is placed in the MAR.

New cards
5

What are the 4 registers?

MAR, MDR, PC and ACC./Memory address register, memory data register, program counter, accumulator

New cards
6

What does MAR stand for?

Memory Address Register

New cards
7

What does MDR stand for?

Memory Data Register

New cards
8

What does ACC stand for?

Accumulator

New cards
9

What does PC stand for?

Program Counter

New cards
10

What does the MAR do?

Stores the address of the next instruction to be accessed.

New cards
11

What does the MDR do?

Stores the data to be brought / sent from the main memory.

New cards
12

What does the ACC do?

Stores the results of arithmetic operations.

New cards
13

What does the PC do?

Stores the address of the next instruction to be accessed and gets incremented every FDE cycle.

New cards
14

What are the 3 CPU components?

Cache, CU, ALU.

New cards
15

What does CU stand for?

Control Unit

New cards
16

What does ALU stand for?

Arithmetic Logic Unit

New cards
17

What does cache do?

Store frequently used instructions.

New cards
18

What does the the CU do?

Controls inputs / outputs of data to and from the CPU, controls the timing of signals sent within the CPU and it controls the flow of data within the CPU.

New cards
19

What does the ALU do?

Carries out arithmetic calculations and logic operations.

New cards
20

What is clock speed?

The number FDE cycles carried out per second.

New cards
21

What is clock speed measured in?

Hertz usually Giga hertz, where giga means 1 billion.

New cards
22

Why does having more cache increase the performance of a CPU?

More cache reduces the need for the CPU to go to the RAM, cache is faster than RAM so this makes the CPU run faster.

New cards
23

What is cache?

Primary memory, built onto the CPU.

New cards
24

What does having multiple cores allow for?

Parallel processing.

New cards
25

What is parallel processing?

When each processor executes a separate instruction at the same time, each processor (core) can run a different program at the same time, parallel processing enables multitasking.

New cards
26

What are the advantages of having multiple cores?

It will, most of the time, increase performance.

New cards
27

What are the disadvantages of having multiple cores?

Some software can't be split between multiple cores so the performance won't increase.

New cards
28

What is embedded system?

A computer system that is built onto another device, has limited functions and is not a general purpose computer.

New cards
29

What are the advantages of an embedded system?

Cheaper than a general purpose computer, tend to require less power.

New cards
30

What are the disadvantages of a general purpose computer?

Has limited functions.

New cards
31

Give 2 examples of embedded systems.

Washing machines and ovens.

New cards
32

What is primary storage?

Storage that is directly connected to the CPU, it is needed because the CPU can't directly communicate with the CPU and it is usually faster than secondary storage.

New cards
33

What does RAM stand for?

Random access memory?

New cards
34

What does RAM do?

Stores currently running programs.

New cards
35

What does ROM stand for?

Read only memory

New cards
36

What does ROM do?

Stores the BIOS

New cards
37

What is virtual memory?

The usage of secondary storage as RAM once RAM is full

New cards
38

What is secondary storage?

Non volatile memory needed to store data permanently

New cards
39

What are the 3 types of secondary storage?

Optical, magnetic and solid state

New cards
40

What are the key characteristics of optical storage?

Portable, robust, cheap, very slow

New cards
41

What are the key characteristics of magnetic storage?

Relatively cheap, large capacity, not durable, not portable

New cards
42

What are the key characteristics of solid state storage?

Very expensive, very fast, portable, durable

New cards
43

What are the 6 characteristics to consider when buying secondary storage?

Capacity, cost, speed, portability, reliability, durability.

New cards
44

What is 1 bit?

A single 1 or 0

New cards
45

What is a nibble?

4 bits

New cards
46

What is 1 byte?

8 bits

New cards
47

What is 1 kilobyte?

1000 bytes

New cards
48

What is 1 megabyte?

1000 kilobytes

New cards
49

What is 1 gigabyte?

1000 megabytes

New cards
50

What is 1 terabyte?

1000 gigabytes

New cards
51

What is 1 petabyte?

1000 terabytes

New cards
52

What is 10110010 in denary?

178

New cards
53

What is hexadecimal?

A number system using base 16 that represents 0 through 15 with digits 0 through 9 and letters A through F

New cards
54

What is a binary left shift?

Moving all the digits in the binary number to the left, and adding a 0 to the least significant bit

New cards
55

What is a binary right shift?

Moving all the digits of the binary number to the right

New cards
56

What is an arithmetic left shift?

Moving all the digits of the binary number to the left, preserving the most significant bit and replacing the least significant bit with 0

New cards
57

What is an arithmetic right shift?

Moving all the digits of the binary number to the right, preserving the most significant bit

New cards
58

Perform an arithmetic left shift on: 1101 1001

1011 0010

New cards
59

Perform an arithmetic right shift on: 0110 1011

0011 0101

New cards
60

What does ASCII stand for?

American Standard Code for Information Interchange

New cards
61

How many bits does ASCII use?

It has 8 bits but only uses 7 bits.

New cards
62

How many bits does extended ASCII use?

8 bits.

New cards
63

How many bits does Unicode use?

32 bits.

New cards
64

What does ASCII represent?

The main characters in English.

New cards
65

What does extended ASCII represent?

All characters in the English language.

New cards
66

What does Unicode represent?

Every character in various languages around the world.

New cards
67

What is a bitmap?

An image made up of pixels, each pixel has a unique binary code that represents its colour.

New cards
68

What is colour depth?

The number of bits per pixel.

New cards
69

What is PPI?

The number of pixels per inch.

New cards
70

What is sampling?

Analogue (real world) sound must be sampled and stored in binary, the amplitude of the waveform is sampled/measured, this amplitude is converted into binary.

New cards
71

What is sample rate?

The number of samples taken per second

New cards
72

What is bit depth?

The number of bits per sample taken.

New cards
73

What is metadata?

Data about the image file / properties of the file.

New cards
74

Give 2 example of metadata.

Colour depth and resolution.

New cards
75

How does colour depth affect file size and quality?

Both file size and quality increase.

New cards
76

How does sample rate affect file size and quality?

Both file size and quality increase.

New cards
77

How does bit depth affect file size and quality?

Both file size and quality increase.

New cards
78

Why is compression needed?

To reduce file size, for faster upload / download speeds, and because it takes up less space on the secondary storage.

New cards
79

What is lossy compression?

Data is permanently lost, it reduces the file size, quality is reduced and it uses an algorithm to remove unnecessary data.

New cards
80

What is lossless compression?

Data is temporarily lost, but comes back when the file is decompressed.

New cards
81

What does it mean if memory is volatile?

When power is lost, data is lost.

New cards
82

What does it mean if memory is non-volatile?

When power is lost, data is not lost.

New cards
83

you can do this! respond with “ok”

ok

New cards
84

1+0 = 1

New cards
85

1+1 = 10

New cards
86

1+1+1 = 11

New cards
87

Perform a binary shift of 2 to the left on this binary number 00110101.

New cards
88

Add these 2 binary numbers. 00110101 + 10011011

New cards
89

What does LAN stand for?

Local Area Network

New cards
90

What does WAN stand for?

Wide Area Network

New cards
91

What is a LAN?

Covers small geographical area and hardware is owned by the organisation.

New cards
92

What is a WAN?

A network that has a large geographical area and is owned by a telecommunications company.

New cards
93

What factors affect network performance?

Distance from router (wireless), walls inbetween router and device (wireless), amount of data being transferred, number of users and available bandwidth.

New cards
94

What is a client?

A computer that relies on other computers (servers) to provide and manage data.

New cards
95

What is peer to peer?

All devices have equal status, their is no central server, easy to maintain, cheap to setup. There is no dependence on ones node, if one device fails only the data on that device will become inaccessible. The network will still operate without that node.

New cards
96

What does WAP stand for?

Wireless access point.

New cards
97

What is a router?

Connects the network to the internet.

New cards
98

How does a router connect a network to the internet?

Sends packets to a destination, receives packets from the internet, forwards packets to other computers on the internet, connects (different) networks together, has a public IP address for the LAN, designates private IP address to network nodes.

New cards
99

What does a switch do?

Connects devices together, receives data packets, sends packets (only to their destination), creates a list of devices connected to it as it receives signals and uses MAC addresses of the devices connected to it.

New cards
100

What does NIC stand for?

Network Interface Card

New cards
robot