Midterm Flashcards

1
Q

How text is stored

A

Computers store and transmit characters. Processords dont know what a character is and instead store each as an integer

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

Converting Binary to Hex

A

Since 16^1 = 2^4, a single hex character can represent a total of 4 bits. You want to convert every 4 bits to a single hexadecimal digit

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

Hex Example: The number 7AC is…

A

(7x256) + (10x16) +(12x1)= 1964

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

Bit

A

Every bit is one binary digit
- either 1 or 0
shorthand for bit is b

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

Byte

A

Byte is a group of 8 bits
- ex 1101 0100
- shorthand for byte is B

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

Characters

A

Each character has a unique value. Characters adn their matching values are a character set

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

Character Sets

A

Includes character sets like ASCII or EBCDIC

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

What is Memory?

A

Memory is essentially an enormous array. Sometimes referred to as storage and stores both running programs and their related data.

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

Memory Addresses

A

Memory is divided into a storage location that can hold 1byte (8 bits). Each can be accessed using an address

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

Address

A

unique value that refers to that specific byte. used to locate the exact byte the processor wants. each address is conceptually the same as an index in arrays

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

CPU

A

The Central Processing Unit is the most complex part of t he computer and is divided into two units
1. Control Logic Unit
2. Execution Unit

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

CLU

A

Control Logic Unit controls the processor. It determines when instructions can be executed and controls internal operations
-fetch & decode instructions
-invisible to running programs

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

EU

A

Execution unit contains the hardware that executes tasks (your programs)

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

ALU

A

Arithmetic Logic Unit is part of the EU and performs all calculationis and comparisons

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

Registers

A

All computations are performed using registers. A register is a location on the processor iteslf that is used to store temporary data.

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

GPR

A

General Purpose Registers dont have specific purpose. They are designed to be used by programs however they are needed

17
Q

IP

A

Instruction Pointer also called the program counter. Keeps track of the address of your running program

18
Q

Status Register

A

contains boolean information about the processors current state

19
Q

IR

A

Instruction Register stores the current instruction being executed

20
Q

Register File

A

All the related registers are grouped into a register file

21
Q

Third Generation Language

A

Languages like java, python and c++

22
Q

Instructions

A

Series of simple tasks that processors can perform

23
Q

Instruction Set

A

Defines all the available instructions

23
Q
A
24
Q
A
24
Q

64-Bit Registers

A

RAX 64
- EAX 32
- AX 16
- AH, AL 8
.
.
.
RDX
RDI
- EDI
- DI
- DIL
RSI
RBP
RSP

R8 64
- R8d 32
- R8w 16
- R8b 8
.
.
.
R15

24
Q
A
25
Q
A
25
Q
A