1. What happens to the volatile memory when the power is lost? –RAM is deleted
2. What are the possible values for a bit? –States 1 or 0
Task 2:
1. What is the highest number that can be stored in a byte? – 8 bytes as 11111111 or 255 in decimal.
2. 0x12 is an example of what type of number? – Hexadecimal
Task 3:
5. 11001000
6. Binary
8. C8
9. 0xC8
12. 7
13. 01100100
14. 0110 0100
16. 7
17. 110
18. 0110
19. First set of nibble is equivalent to the binary of 7
Task 4:
1. What is an instruction? – A sequence of bits understood by the processor to signal a certain action
2. What type of instruction is used to execute different code based on a condition? -Jumps
3. What term refers to a small memory area in a processor? – Register
4. Can code developed for an ARM processor run on an x86 processor? –Yes
Task 5:
1. Where are local variables stored? – Call stack/Program memory
2. Where are other program data stored? – Heap
3. Which Frame is at the top of the stack? - Frame of Moose
Task 6:
1. Rank the areas of memory from highest speed to lowest? – Processors registers, Processors cache and RAM and hard drives.
2. Can programmers control what data is put in the processor cache? – No
Task 7:
1. With preemptive multitasking, what entity decides which process should run? – Device Driver
Task 8:
1. Why is virtual memory addresses used for applications? – So it can have its own address space on the memory.
2. What is meant by swapping? – Taking a whole or piece of memory and store it completely on a device.