31268 Study Guide - Final Guide: Resource Contention, Multi-Core Processor, Multiprocessing
Web Systems Summary 3
Video 06 - Process mgmt:
What is a program vs. process ? What are the types of concurrent processing?
● A program is a file. A process is a programming running.
● Multiprogramming - e.g. idos 3 ooperatie ; Multitaskig - all O/S
preeptie ; Multithreadig - most modern O/S ; Multiprocessing - multicore CPV
The arious states of a proess:
● Create - load program into memory
● Wait for program to be run in CPV
● O/S runs program as process
● Process until resource is gotten
● Waits again until O/S restarts process
● When finish, O/S stops process
What is an interrupt? What is used to manage these interrupts?
● An interrupt stops a process. E.g. ctrl + alt + del, moving mouse, runtime error,
waiting for loading. Interrupts are managed by interrupt handles.
What is resource contention and what are some solutions?
● Resource contention: 2 processes want to alter the same resource at the same time
● “olutios: deadlok → seaphore or lok files
What is the difference between physical, virtual and logical memory?
● Physical memory - e.g. 8GB RAM
What is the difference between physical addresses and virtual addressing?
● Logical block - smallest unit of data to transfer
Comp Sci - Binary, Decimal, Hex:
What are the to eory types ad hat’s the differee etee the?
● ROM (read only memory) and RAM (random access memory)
What is the fetch execute cycle?
● Feth → Deode → Read Meor → Eeute REPEAT
What are some of the more common character encodings?
● Old: ASCII, ISO - 8859
● Current: Unicode, UTF - 8, UTF - 16
How is data represented within communities? Binary, Decimal, Hexadecimal Conversions :
find more resources at oneclass.com
find more resources at oneclass.com
Document Summary
Multiprogramming - e. g. (cid:449)i(cid:374)do(cid:449)s 3 (cid:862)(cid:272)ooperati(cid:448)e(cid:863) ; multitaski(cid:374)g - all o/s (cid:862)pree(cid:373)pti(cid:448)e(cid:863) ; multithreadi(cid:374)g - most modern o/s ; multiprocessing - multicore cpv. Wait for program to be run in cpv. E. g. ctrl + alt + del, moving mouse, runtime error, waiting for loading. Resource contention: 2 processes want to alter the same resource at the same time. Olutio(cid:374)s: deadlo(cid:272)k se(cid:373)aphore or lo(cid:272)k files. Logical block - smallest unit of data to transfer. Fet(cid:272)h de(cid:272)ode read me(cid:373)or(cid:455) e(cid:454)e(cid:272)ute (cid:894)repeat(cid:895) Current: unicode, utf - 8, utf - 16. Refer to this website for sum and conversion practice: http://ryanstutorials. net/binary-tutorial/ Xor = exclusive or (result is only true if only one answer can be true) And > or (similar to math multiply over add) Not(x) or not(y) = not (x and y) Not(x) and not(y) = not(x or y) Rom (read only memory) and ram (random access memory) Modem: converts between analog signals and digital signals in dialup access.