Cs Flashcards

(35 cards)

1
Q

Using 8 bits of binary: What is the smallest (denary) number you can store?

A

0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Using 8 bits of binary: What is the largest (denary) number you can store?

A

255

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Using 8 bits of binary: How many individual values can we have?

A

256

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do we convert binary to denary?

A

First write down the values of each digit above.
Then figure out which ones are on/ have that value
In this 10110010 is 128+32+16+2 so you add them making it 178

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do we convert Hex to binary?

A

You first split a hex code such as 7A into 7 and A and split the 8 bits of the 8 bit binary into 2 4 bits.
Then you figure it out so 7 is 0111 and A is 10 so it will be 1010
Then you put them together making 01111010

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do we convert denary to hex?

A

For a number such as 167. Convert it to binary by figuring seeing if it divides into each number so it divides into 128 so it is
10000000, 39 does not divide into 64. 32 does so it is,10100000, 7 doesn’t get divided by 16 and doesn’t get divided by 8 but does by 4 then 3 then 2 then 1 so it is,10100111
Then split them into 2 4bits and figure out the value in hex with A=10 B=11 C=12 D=13 E=14 F=15
A7

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is meant by the term “character set”

A

A way that the computer uses a preset way of converting data into something it can understand

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

ASCII vs UNICODE

A

ASCII and UNICODE are 2 different ways of interpreting data into characters however we mostly use unicode todays because it has more characters such as emojis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Abstraction

A

Specifically thinking of a certain task whilst ignoring other items to focus on the task

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Decomposition

A

Decomposition is breaking down tasks into even simpler tasks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Sequence

A

The specific order of logical steps to conduct a specific task

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Selection

A

Using information given to pick a path in the code and ignoring another part of the code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Iteration

A

When you repeat a task again and again until a certain factor is true/false and/or a certain amount of times it has happened

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

When drawing a flowchart how do you always start and end the algorithm?

A

The terminator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What connects the objects in a flowchart?

A

Arrows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Other than a decision, how many arrows come out of objects?

17
Q

What are the titles of the two arrows that come out of a decision?

A

Yes/no or true/false though try to use yes/no

18
Q

variable

A

A named storage location that can hold bits of data

19
Q

What data type would be a students name

20
Q

What data type would be the value of pi to 5 dp.

21
Q

What data type would be the input of a light switch

22
Q

What data type would be the number of pens owned?

23
Q

Primary storage

A

Storage that is used for information that needs to be used quickly so can be retrieved quickly by the CPU

24
Q

Secondary Storage

A

Storage that is used for long term storing and is not volatile like primary storage

25
RAM
Random Access Memory, It is where information is stored to be used soon however the data can be destroyed if the CPU is turned off.
26
ROM
Read Only Memory, memory that is stored to be permanently there but it can’t be changed
27
Magnetic storage
A storage method that requires drivers to read the data. It is stored on rigid rapidly rotating platters.
28
Solid state storage
Storage that is done onto items such as flash memory chips allowing them to be taken from one computer to another privately.
29
Optical storage
Data that is stored on a disc and can be written and read using a laser
30
CU
The “brain” of the CPU. It is used to orchestrate the processes inside the CPU.(Stands for Control Unit)
31
ALU
It performs the arithmetic and logic operations
32
Accumulator
It is a type of register that is used to immediately store arithmetic and logic data made by the ALU.
33
Registers
There are several registers in every core of a CPU. It is used to store data and instructions
34
Clock
The clock coordinates all the computer components and synchronises calculations
35
Buses
They are key for transferring data, instructions and control signals with there being 3 main types of address, data, and control.