Vous êtes sur la page 1sur 3

Assignment No.

01 (SOLUTION FILE) Total Marks: 20


Semester: SPRING 2010
IT430 E-Commerce Due Date:21/04/2010

Instructions
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:

o Assignment is submitted after due date.


o Submitted assignment does not open or file is corrupt.
o Assignment is copied (From internet/ to from students).

Objective

To integrate the knowledge that you have gained in units already studied in the course. (Lectures 1-6)

Assignment Submission Instructions

You have to submit your assignment in .doc format.

Assignment

Q1: Write down the functionality of Hub, Bridges, Routers, Repeaters and Switches; also write down on which
layers of OSI model these network devices work? [10]

Name Functionality OSI Model Layer


Hub
Bridges
Routers
Repeaters
Switches

Answer 1:

Name Functionality OSI Model Layer


These provide central connection point for a Hubs work at the first or
Hub LAN. They organize cables and relay data Physical layer
signals to all computers.
A Bridge is a combination of hardware and Bridging occurs at the data
Bridges software. It has its own operating system. It link layer of the OSI model,
helps to conserve the bandwidth of a
network. It indicates how many bits can be
transmitted across a network in a given time.
Routers use a combination of hardware and Routers are on the third layer,
Routers software to forward data packets to their the Network layer.
destination on the internet. They are more
efficient and sophisticated than bridges and
switches
Repeaters regenerate signals. A repeater . Repeaters work only at the
Repeaters would amplify the entire electric signal it physical layer of the OSI
receives. However, it has no capabilities of network model.
directing network traffic

A switch is also a combination of hardware Switches operate at the Data


Switches and software having its own operating Link or second layer. Switches
system. Like bridges, the switches are also are "intelligent" hubs.
used to increase the bandwidth of a network.
However, in case of a switch, a network is
virtually divided into small segments called
Virtual LANs or VLANs.

Q2: Perform the conversions

(a) 110 Decimal to Binary (2)


(b) 10011000 Binary to Decimal (2)
(c) 11011100 Binary to Decimal (2)
(d) 11111100 Binary to Decimal (2)
(e) 3009 Decimal to Binary (2)

[Note: Show the stepwise procedure of all conversion. 0.5 marks are awarded if only answer is written.]

* For part e, first convert it to decimal and then convert decimal to binary.

Answer 2:

(a) 110

2 110
2 55 – 0
2 27 – 1
Answer: 1101110
2 13 – 1
2 6–1
2 3–0
1-1

(b) 10011000

= (27*1) + (26*0) + (25*0) + (24*1) + (23*1) + (22*0) + (21*0) + (20*0)


= 128 + 0 + 0 + 16 + 8 + 0 + 0 + 0
= 152
(c) 11011100

= (27*1) + (26*1) + (25*0) + (24*1) + (23*1) + (22*1) + (21*0) + (20*0)


= 128 + 64 + 0 + 16 + 8 + 4 + 0 + 0
= 220

(d) 11111100

= (27*1) + (26*1) + (25*1) + (24*1) + (23*1) + (22*1) + (21*0) + (20*0)


= 128 + 64 + 32 + 16 + 8 + 4 + 0 + 0
= 252

(e) 3009

2 3009
2 1504 - 1
2 752 – 0
2 376 – 0
2 188 – 0
Answer: 101111000001
2 94 – 0
2 47 - 0
2 23 – 1
2 11 – 1
2 5–1
2 2–1
1-0

Deadline:
Your assignment must be uploaded on or before 21/04/2010.

Vous aimerez peut-être aussi