for finals Flashcards
(35 cards)
What are the functions of computers?
- Data processing
- wide data variety that requires a broader processing - Data storage - long & short term
- Data movement
-I/O = data to/from peripherals connection
- data communication = data from long distance via remote devices. - control - control unit manages computer’s resources & response to instructions
What is the function of Control Unit?
- controls CPU/ computer operation
- response to/ execute instructions
What is the function of ALU?
Performs data processing functions.
What are the structural components of the computer?
- CPU - controls computer operation & performs data processing
- I/O - data transfer between computers and external devices
- Main memory - to store data
- System Interconnection - provides communication of data between computer components
What is direct access?
- involves a shared read & write mechanism
- individual blocks has unique address based on physical location
What is sequential access?
- memory is an organized data unit called records
- accessed is in a specific linear sequence
What is random access
- each memory address has a unique addressing mechanism
- location is randomly selected & directly accessed.
What is memory hierarchy?
- separates computer memory in hierarchy based on response time
- lower access time, higher cost per bits
- greater capacities, lower cost per bits & greater access time
What are the types of addressing modes?
- immediate
- Direct & indirect
- Register
- Register indirect
- Displacement
- Stack
What is immediate addressing mode?
- data is presented in instruction address
What is direct & indirect addressing mode?
- direct = operand’s offset is in the instruction as 8-bit/16-bit displacement element
-indirect = contains the effective address of memory location where the actual data consists.
What is register & register indirect addressing mode?
- register = operands contained in a register set
register indirect = addressing operands are placed in one of the registers eg, BI,BX,SI,DI
What is displacement (auto indexed) addressing mode?
- effective address of operands in register content
- increment = register content is increment after accessing operands
- decrement = register content is decrement before accessing operands
What is stack addressing mode?
- operands at the top of the stack
What is EPROM?
- erasing process = repeatedly (UV)
- cost = expensive than PROM
- update capabilities = multiple
What is EEPROM?
- erasing process = electrically
- cost = most expensive than EPROM
- write operation = written without erasing prior contents
What is Flash Memory?
- functionalities = between EPROM & EEPROM
- cost = between EPROM & EEPROM
- erasing process = single action due to organized microchips.
What is RAID & how many levels are there?
- Redundant Assembly of Independent Disk
- level 0 -6 (7)
What is RAID 0?
- no redundancy
- 2 requirements of high transfer rate
1. high transfer capacities = stays on the path between host device & disk drive
2. I/O request = application to drive disk array effectively - I/O request is the I/O time dominated by seek & latency time
What is RAID 1?
- redundancy via mirroring
- data striping by mapping all the data to 2 separate physical disk with 1 being the mirror disk
- no write penalty
- costly due to double storage
What is RAID 2?
- redundancy via Hamming code
- parallel access
- synchronization of spindles & same head position
- data striping can be as small as a word or byte
- Hamming error correcting code to correct single-bit error & detect double-bit error
What is RAID 3?
- redundancy via bit-interleaved parity
- like RAID 2, synchronization of spindles & same head position
- parallel access, all disks are access at once
- data striping into bits and stored into parity disk
- reduced mode is required to be reconstructed for data retrieval
What is RAID 4?
-redundancy via block-level parity
- independent access, each disk operates independently
- calculate new parity needs to read old user strip & old parity strip
- write penalty = new write requires array management software to update both user strip with the corresponding parity bits
What is RAID 5?
-redundancy via block-level distributed parity
- organized similar to RAID 4
- parity strips are distributed across all disk
- allocation is round-robin scheme
- takes 2 disks fail for data loss