• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/33

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

33 Cards in this Set

  • Front
  • Back

What is a computer network?

A computer network is an interconnected collection of autonomous computers which are able to exchange information. It may include devices such as printers, faxes, etc.

What does LAN stand for? and give a description?

Local Area Network – Covers a small geographic area and connects devices in a single building or group of buildings

What does WAN stand for? and give a description?

Covers a larger area such as a city /municipal
region, country, or the world

what is a network topology? and give some examples?

A way of organising the physical connections


Examples:


> Star


> Ring


> Bus


> Fully Connected

What is a Star Topology? advantages and disadvantages?

devices communicate through a central device.


Advantage: focal point for responsibility


Disadvantage: failure of central device takes down network.


What is a Ring Topology? advantages and disadvantages?

device are connected in a ring, either unidirectional or bidirectional.


Advantages:


> no central coordination


> bidirectional rings need 2 failures to take down the network


Disadvantages:


> unidirectional rings will fail if any device is fails


> more time relaying messages


> all stations between sender and reciever are involved in sending the messages

What is Bus Topology? advantages and disadvantages?

devices communication through a single bus.


Advantages:


> easy to add or remove a device


Disadvantages:


> needs collision detection


> high collision rate may reduce data rate

What is a Fully Connected Topology?

Every device is connected to every other device.

What is Combined Topology?

The de facto situation - combining multiple network topologies in one network.

What is a protocol?

An agreement about how to do something
– A set of rules governing the exchange or transmission of data electronically between devices.
– This enables computers and software built by different people to be able to communicate in the same language

how many layers are there in the OSI model? And What are they?

7


Physical


Data Link


Network


Transport


Session


Presentation


Application


What does the Physical Layer do?

it handles the movement of bits to from one hop to the next via the transmission medium.


signal and encoding of the bits.



Unit: bits

What does the Data Link layer do?

Hop to Hop communication


it breaks messages up in to frames and send them hop to hop using the Physical Layer.


> Flow control between two adjacent network nodes.
> Error control - deals with damaged, lost, and
duplicate frames



Units: frames

what does the Network Layer do?

Host to Host communication


The network layer is responsible for the delivery of individual packets from the source host to the destination host.


> Determines routes from source to destination.
> Send messages hop by hop to the destination.
> Control of congestion


> Address mapping
> Interconnection of heterogeneous networks



Units: packets

what does the Transport Layer do?

Process to Process Communication


> Ensures pieces all arrive correctly at receiver and reassembles them into the original order.
> Flow control between source and destination.


> Connection management



Units: Segments

What does the Session Layer do?

The session layer provides the mechanism for opening, closing and managing a session between end-user application processes.


> used for syncronisation


> authentification

What does the Presentation Layer do?

The presentation layer is responsible for translation, compression, and encryption

What does the Application Layer do?

The application layer is responsible for providing services to the user.

How many layers are there in the TCP/IP model? and what are they?

4


Application


Transport


Network


Host to Network Layer

Why have medium access control?

– Shared transmission medium
– Multiple stations access the medium

what is Random Access Protocols?


– There is no scheduled time for a station to transmit
– Stations compete with one another to access the medium

what is the Pure Aloha System?

> Each station transmits when it has a frame to transmit.
> When the receiver receives a frame, it sends an acknowledgment to the sender.
> If the sender receives an acknowledgment, it knows its data has been received. Otherwise the sender assumes
a collision and retransmits.
> If a collision occurs, each collided sender waits a random time before retransmission.

What is Slotted Aloha Protocol?

> Divide time into intervals (slots) of T units each.
> Each station sends only at the beginning of a slot.

What does CSMA stand for and how does it work?

Carrier Sense Multiple Access



If a station has a frame to send:
– It first check the status of the medium.
– If there is no activity, transmit; otherwise, wait.

what is Medium Sensing Methods Non-persistent method?

Sense the medium if its not idle wait a random time and sense again.

what is Medium Sensing Methods persistent method?

> If the medium is not idle, continuously sense the medium.

what is p-Persistent CSMA?

sendPacket = function (frame, p) {


if (medium.idle) {


medium.send(frame);


} else {


tryToSend = function() {


if(Math.random() <= p) {


medium.send(frame);


} else {


medium.once('TimeSlot', sendPacket);


};


medium.once('idle', tryToSend);


}

CSMA/CD. what is the CD and what does it do?

CD stands for Collision Detection.


> While transmitting we listen for collisions. If a collision is detected a transmission is stop and a short jamming signal is sent.


> While transmitting if we recieve a jamming signal we stop transmitting



After a collision, it waits a random amount of time according to the Binary Exponential Backoff algorithm and then attempt the whole process again.


how does the Binary Exponential Backoff Algorithm work?

If a station's frame collides for the first time, wait 0 or 1 time
slot (randomly chosen)
– If it collides a second time, wait 0, 1, 2, or 3 slots (randomly
chosen)
– After a third collision, wait from 0 to 7 slots.
– After n collisions, wait from 0 to 2n-1 slots if n <= 10. If n >
10, wait from 0 to 1024 (2^10) slots
– After 16 collisions, give up and report an error.

With the Binary Exponential Backoff Algorithm how many collisions do we wait till be give up?

16 collision

Why is a frame size that is too big a problem and why is a frame size that is too small be a problem in CSMA/CD?

Too Big -> one station could monopolise the medium


Too Small -> collisions may not be detected

what is contention?

contention is the media access method (random access)


-> first come first served


What is IEEE802.3 standard, Ethernet minimum frame size?

512 bits