0% found this document useful (0 votes)
43 views5 pages

LAN vs MAN Differences and Code Tasks

1. This document contains multiple choice questions about computer networks with one correct answer for each question. 2. It asks the reader to identify the type of network (PAN/LAN/MAN/WAN) that would be formed when transferring pictures between a mobile phone and laptop using Bluetooth. 3. It also asks the reader to write two points of difference between circuit switching and packet switching.

Uploaded by

utsav kakkad
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views5 pages

LAN vs MAN Differences and Code Tasks

1. This document contains multiple choice questions about computer networks with one correct answer for each question. 2. It asks the reader to identify the type of network (PAN/LAN/MAN/WAN) that would be formed when transferring pictures between a mobile phone and laptop using Bluetooth. 3. It also asks the reader to write two points of difference between circuit switching and packet switching.

Uploaded by

utsav kakkad
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

1.

State the difference between LAN and MAN


or
The following code is used to read from the binary file [Link]
and display the string until the letter ’o’ is encountered i.e. it
displays all the text in the file before the letter ‘o’. However, some
portions of the code are blanked out. Fill in the blanks to
complete the code so as to read from the file and do the correct
operations.
import ________
st=””
with open(“[Link]”,_____) as fh:
st=[Link](fh)
lst=_______
print(____) [2]
Questions 2 to 11 are multiple choice questions with one correct
answer [1X10]
2. What is the full form of URL?
a. Universal Resource Locator
b. Uniform Resource Locator
c. Universal Reform Latest
d. None of the above
3. What mode should be used for opening a file for appending data
as well as creating a file if it does not exist in binary format?
a. ab
b. rb+
c. wb
d. wb+
4. What is the use of SMTP?
a. It is used to send and receive emails
b. It is used to translate system mails
c. It is used to conduct simple mail transactions
d. It is used to conduct solid mail transactions
5. In which network topology every node is connected to every
other node?
a. Bus
b. Star
c. Mesh
d. ring
6. In which network topology every node is connected to two other
nodes?
a. Ring
b. Mesh
c. Star
d. bus
7. Which of the following is a collection of independent computers
and other hardware interconnected by communication channels?
a. Computer
b. Network
c. Bluetooth
d. None of the above
8. Two devices are said to be in a network if
a. A process in one device is able to exchange information with a
process in another device
b. Process is running on both devices
c. Processes are running on different devices of the same type
d. None of the above
9. _______ topology uses hubs or switches as a central point of
connection:-
a. Bus
b. Star
c. Mesh
d. Ring
10. In which of the following situations below would you pick
LAN over WLAN?
a. Devices to be linked are mobile devices like laptops and
smartphone over a large geographic regions
b. Connecting devices keep moving from cities to countries
c. Devices to be linked are stationed within a small secluded place
inside a city like a single floor office
d. Expenses to set up a network are limited
11. Which of the following is not a guided medium?
a. Twisted pair cable
b. Coaxial cable
c. Fibre-optic cable
d. Radio waves

12. The government of Delhi has computer networks inside each


of its buildings. It has now interconnected the networks of the
Administration building and of the student center building. The
networks formed are marked with numbers. Mention which types
of networks are these?
PS: the distance between the Student center and Administration
building is 30 km
Or
You are participating in a competition and the past winning
projects and entries are available online. These are available in a
package containing five segmented files where each file size is
about 36MB. You were able to download the whole package in
about 3 minutes. Find the download rate of your network. [3]
13. Write two points of difference between circuit switching and
packet switching
Or
Write a program to open a file [Link] and search for records with
roll numbers 12 or 14. If found, display the records if not display
the appropriate error message. [3]
14. Give an example each of PAN and LAN type of networks
Or
Riya wants to transfer pictures from her mobile phone to her laptop.
She uses Bluetooth technology to connect the two devices. Mention
which type of network (PAN/LAN/MAN/WAN) will be formed in this
case. [2]

Common questions

Powered by AI

A device is considered part of a network if it can exchange information with processes in another device. Communication occurs through transmission channels that connect the devices either wired or wirelessly, allowing data, resources, and information to be shared effectively between connected devices .

A LAN is preferred when the devices to be linked are stationed within a small, confined space, such as a single floor office within a city. This scenario benefits from the stability, security, and higher data transfer rates typical of wired connections, as opposed to WLAN which is useful for mobile devices over large geographical areas .

URL stands for Uniform Resource Locator and is significant as it provides a way to access resources on the internet by specifying their locations. Unlike other network terminologies, URLs are specific to web addresses and are crucial for retrieving information on web servers, setting them apart from other identifiers which might focus on hardware or protocols .

Circuit switching involves establishing a dedicated communication path between two network nodes, ensuring a continuous and consistent data flow, typically used in voice communication like telephony. Packet switching, on the other hand, splits data into packets that are routed over a shared network independently, allowing for dynamic allocation of bandwidth. This is more efficient for data services where the transmission does not need a dedicated path .

In a star topology, the central hub or switch serves as the focal point of the network, which simplifies management and troubleshooting since issues on one connection do not affect others. This centralized control can enhance performance by directing traffic efficiently; however, it also represents a single point of failure, which can disrupt the entire network if the hub fails .

A mesh network topology offers high reliability because each node is interconnected with multiple nodes, providing multiple pathways for data in case of a node failure. However, this redundancy increases the cost because it requires more cables and ports than other topologies, making it less cost-effective for small network setups .

The download rate of a network can be calculated by dividing the total size of the files by the total download time. For instance, if five files each of size 36MB are downloaded in approximately 3 minutes, the total download rate would be calculated as (5 files * 36MB each) / 3 minutes, resulting in 60MB per minute, indicating data transfer efficiency .

SMTP, or Simple Mail Transfer Protocol, facilitates the sending of emails by transferring mail reliably and efficiently, allowing for both sending and receiving of messages. It represents a significant advantage over traditional mail due to its speed, ability to automate mailing processes, and support for attachments, which enhances user experience .

Guided media, such as twisted pair cables, coaxial cables, and fiber-optic cables, use physical pathways to transmit signals, providing typically more reliability and faster transmission speeds. Unguided media, like radio waves, transmit data wirelessly through the air, allowing for flexibility and mobility but often at the expense of stability and speed .

Choosing between a LAN and a MAN depends on the geographic coverage and the required network speed. LANs are suitable for small and localized areas such as within a building, offering higher speeds due to less traffic congestion. MANs, however, are designed to cover larger areas like a city, effectively connecting multiple LANs to cater to businesses requiring links between offices across distances up to 50 km, as seen between student centers and administrative buildings .

You might also like