jan mocks dk Flashcards
network layer
encapsulates IP packets into frames
maps IP to MAC
specifies requirements of hardware to be used
delivers packets to network
defining pointer data type
TYPE Tmonth = ^STRING
random file
records stored in any available position
location found using a hashing algorithm on the key field
TCP/IP +
+ break processes down into manageable self contained modules
+ easier to develop + make software/ hardware compatible
application layer
- what user sees
- contains programs that exchange data
- send files to transport
HTTP
- user types URL
- HTTP requests from application to transport
- transport creates packet which is sent to destination ports
- DNS server looks up IP
- sends transport acknowledgement
- communication established between web server and browser
circuit switchinge eg
PSTN
packet switching eg
VoIP
massively parallel computers
- large number of processors connected
- simultaneously performing a set of coordinated computations
- network infrastructure
- communicate by sending messages
features of SISD and SIMD vs MISD and MIMD
- if SI - sequential processing - can use pipelining
- if MI - each processor is independent
- all except SISD - can be used as parallel computers
Describe how the layers of the TCP/IP protocol stack interact with each other
- Each layer can only accept input from the next higher layer or the next lower layer
- There is an interface between the adjacent layers which is the only interaction between layers
- Data is added to the headers as the frames/packets pass through the layers
- User interaction takes place at the highest/Application layer of the stack through protocols associated with that layer
of the stack - Direct access to hardware takes place at the lowest/Link layer of the stack.
set
- user-defined composite data type
- … which includes a list of unordered elements
- Set theory operations, such as intersection and union, can be applied to these elements
- A set data type includes the type of data/data type it uses as part of its definition
- All the elements are of the same data type.
PSUEDOCODE of set
TYPE SymbolSet = SET OF CHAR
DEFINE Operators (‘+’, ‘–’, ‘*’, ‘/’, ‘^’) : SymbolSet
segmentation
- space is broken into varying sized blocks called segments
- Each segment has a name and size.
- During execution segments from logical / virtual memory are loaded into physical memory.
- The address is specified by the user
- Segments are numbered
- … and this number is used as an index in the segment map table.
- A segment map table maps logical / virtual addresses to physical addresses
disk thrashing
- when virtual memory is being used.
- As the main memory fills up, more and more pages need to be swapped in and out of virtual memory.
- This swapping leads to a very high rate of hard disk access / excessive disk head movements.
- takes a long time
- Eventually, more time is spent swapping pages than processing data thrash point, which can cause the program to
freeze or not run.