Network Class 12_Notes
Network Class 12_Notes
9.
Races ={100:'Varnika',200:'Jugal', 400:'Kushal',800:'Minisha'}
def PUSH(Stk,N):
Stk.append(N)
def POP(Stk):
if Stk!=[]:
return Stk.pop()
else:
return None
stack1=[]
for i in Races:
if i>=200:
PUSH(stack1,Races[i])
while True:
if stack1!=[]:
print(POP(stack1),end=" ")
else:
break
10.
Product={"TV":10000, "MOBILE":4500, "PC":12500, "FURNITURE":5500}
stack=[]
def PRODPUSH(stack, P):
for k in Product:
if P[k]<6000:
stack.append(k)
PRODPUSH(stack, Product)
print(stack)
Case Based Questions – 5 Marks
1. (i). a colour.insert(len(colour),n)
(ii). a push(colour,c[i])
(iii).a colour==[]
(iv). b colour.pop()
(v). b pop(colour)
2. i) course_dict[course] = fee
ii) course_dict[key]
iii) append(key)
iv) len(STACK)
v) STACK.pop()
INTERNET
The Internet is a collection of computers connected by network cables or through
satellite links. Rather than connecting every computer on the Internet with every
other computer, individual computers in an organization are normally connected
in a local area network (LAN). One node on this local area network is physically
connected to the Internet. So, the Internet is a network of networks.
PROTOCOL
99
Switching Techniques
Packet switching is the transfer of small pieces of data across various networks.
These data chunks or “packets” allow for faster, more efficient data transfer.
Often, when a user sends a file across a network, it gets transferred in smaller
data packets, not in one piece.
Case Study 1
Kiran has started a business all over India and he wants to establish a network among its offices and
branches. Help him to choose various communication media as per requirement.
Head Office: Ahmedabad, Gujarat, 10 Computers
Branch 1: Delhi, 50 Computers
Branch 2: Mumbai, 100 Computers
Branch 3: Kolkata, 100 Computers
1) Kiran wants high speed network in Branch 1, Delhi. Which cable he has to used to provide
maximum speed among computers. (1 Marks)
2) Kiran has low budget in Branch 2, Mumbai. Which cable he has to use to keep low cost network
establishment. (1 Marks)
3) Kiran does not know about guided or unguided media. Kindly help him to classify the below
media into Guided and Unguided media. (2 Marks)
a. Fiber Optic
b. Radio wave
c. Co-axial
d. Microwave
4) Kiran wants to connect Head office with all branches. Which communication media he has to
used to connect head office with all branches. (1 Marks)
Case Study 2
Jinesh is studying in one of the popular Hardware and Networking institute. He already learned
Network Topology, Types of Network and Communication media. He has just started to learn about
protocol. Kindly help him to learn protocols with below question answers.
1) Which protocol is used to send or receive emails? (1 Marks)
2) Which protocol is used to surf the web? (1 Marks)
3) Which protocol is used to surf the web securely? (1 Marks)
4) Which protocol is used to send or receive the files? (1 Marks)
101
5) Expand the POP protocol. (1 Marks)
Summary:
A system of interconnected computers and computerized peripherals such as
printers is called computer network. This interconnection among computers facilitates
information sharing among them. Computers may connect to each other by either
wired or wireless media. To connect we require protocols, Switching technology,
communication media and structure of computer network. We can use computer
network in Resource sharing such as printers and storage devices, Information
sharing by using Web or Internet and Interaction with other users using dynamic web
page.
Answers :
Case Study 1
1) Fiber Optic Cable
2) Co-axial cable or Twisted Pair Cable
3)
a. Guided Media
i. Fiber Optic
ii. Co-axial
b. Unguided Media
i. Radio Wave
ii. Micro Wave
4) Satellite Link
Case Study 2
1) IMAP, POP 4) FTP
2) HTTP 5) Post Office Protocol
3) HTTPS
1. How many type of transmission media are there? List the types.
Ans: Two types: Wired and Wireless.
2. List wired media.
Ans: Twisted Pair, Coaxial, Fibre Optics cable.
3. List Wireless Media.
Ans: Bluetooth, Infrared, Wi-Fi, Radio waves, Satellite Link.
102
4. What is the maximum distance to which twisted pair cable can send data?
Ans: 100m
5. What is the maximum distance to which co-axial cable can send data?
Ans: 500m
6. The network type connected through Bluetooth is __________
Ans: PAN
7. Satellite link is the example of which type of network?
Ans: WAN
8. KVKV co. has established a network which spreads in Jaipur city. Which type of
network KVKV co. has established among LAN/MAN/WAN?
Ans: MAN.
9. ISRO (India) wants to establish a direct connection with NASA (US) and ESA
(Europe). Which connection media can be used?
Ans: Satellite link or Fibre optics.
10. Wired media is also known as,
Ans: Guided media, Physical media, Conducted media.
11. Which connector is used to plug the twisted pair cable with device?
Ans: RJ45 connector
12. What is bandwidth of cat-6 twisted pair cable?
Ans: 1 Gbps.
2 marks questions
1. Write two features of LAN
- Can spread in a room or small area.
- Established with twisted pair cable or wi-fi.
2. Write the two features of PAN.
- Established with USB cable, Bluetooth or infrared.
- Very small area upto few feet.
- Ad-hoc network. Devices can join and leave anytime.
- Less secure.
3. Write any two advantages of co-axial cable.
- High bandwidth.
- Can be used for upto 500 mtr distance.
4.What is RJ 45 connector?
• Used with twisted pair cable
• Full form is Registered Jack
• Plugin to network devices
• Primarily for LANs
5. Write features of Tree topology.
• No cycle
• Connection to all PCs
• Either direct or through other PCs
• Can say, it is a group of stars
• A fault breakdowns the network
6. Write features of Mesh topology.
• Connected in many to many concept.
• Fastest connection topology
• Very costly
• Lots of cable required
• Robust network
• High speed
7. What is peer to peer network?
• Only two devices
103
• Can have separate wires
• Easiest
• More secure than others
8. What is Ethernet Card?
• A hardware for connecting nodes
• Transmit data to network from computer
• Receive data from network to computer
• Can connect one cable or more
9. What is repeater?
• Repeater is a network device used to boost the signal.
• Used to boost the signals to send for long distance.
• Also known as signal booster.
• Its task is to amplify the signal.
10. Explain networking Hub.
• A Hub is a networking device that allows you to connect multiple PCs to a single
network.
• It is used to connect segments of a LAN.
• A hub stores various ports, so when a packet arrives at one port, it is copied to
various other ports.
• Hub works as a common connection point for devices in a network.
3 mark questions.
NETWORK PROTOCOLS
The OSI Reference Model
The Open Systems Interconnection (OSI) reference model was developed by
the International Standards Organisation (ISO) as a model for computer
communications architectures, various protocols were standardized by this model. the
Communication process is divided under this model within seven layers.
VoIP
VOIP: Voice over Internet Protocol (Voice over IP, VoIP and IP telephony) is a
group of technologies for the delivery of voice communications and multimedia
sessions over Internet. The terms Internet telephony, broadband telephony, and
broadband phone service specifically refer to the provisioning of communications
services (voice, fax, SMS, voice-messaging) over the public Internet, rather than
via the public switched telephone network (PSTN). This method of making phone
calls is much cheaper than convectional way because the service of
Telecommunication Company is not used.
WLL (Wireless Local Loop): Wireless local loop (WLL), is the use of a wireless communications link for
delivering telephone service (POTS) or Internet access (broadband) to telecommunications
109
customers. This system is based on radio networks which provide services like telephone in
remote areas. Different types of wireless local loop include Broadband Wireless Access, Radio in
the Loop, Fixed Radio Access and Fixed Wireless Access. Microwave frequencies are used to
provide wireless broadband connection. The local loop can be referred as "last mile" of the
telecom network which resides between Central office (CO) and user's location.
➢ 1G technology was used in the first mobile phones. 1G used analog radio signals.
1G was introduced in 1980s
➢ 2G technology was introduced in 1992. 2G technology used a digital format and
introduced text messaging. 2G also introduced data services for mobiles, starting
with SMS.
➢ 3G technology has introduced more efficient ways of carrying data, making it
possible to have faster web- services, live chat, fast downloading, video
conferencing etc. over mobile phones. Today we are living in the world of 3G.
➢ 4G technology unlike previous generations of mobile technology, 4G mobile
technology will be used for internet access on computers also, and it will be totally
wireless. 4G will provide internet access, high quality streaming video and
"anytime, anywhere" voice and data transmission at a much faster speed than
3G. The "anytime, anywhere" feature of 4G is also referred to as "MAGIC" (Mobile
multimedia; Anytime/anywhere; Global mobility support; Integrated wireless
solution; Customized personal services).
5G technology - It can provide higher speed, lower latency and greater
capacity than 4G LTE networks. It is one of the fastest, most robust
technologies the world has ever seen.
In healthcare, 5G technology and Wi-Fi 6 connectivity will enable patients
to be monitored via connected devices that constantly deliver data on key
health indicators, such as heart rate and blood pressure. I
110
WWW (World Wide Web): WWW is a network of web servers. It can be defined as a hypertext
information retrieval system on the Internet. It is the universe of the information available on the
internet. All the web pages on WWW use HTTP for making hypertext jumps.
HTML (Hypertext Markup Language) XML (eXtensible Markup
➢ HTML is a markup language to create Language)
and design webcontent. ➢ XML is a markup language that is
➢ It is used to display the data in self- descriptive.
formattedmanner. ➢ It is used to carry, store or
➢ It has a variety of predefined tags exchange data.
and attributes for defining the layout ➢ It does not have predefined tags. It
and structure of the web document. is possible to define new tags in
➢ HTML is not casesensitive XML. It allows the programmer to
➢ A HTML document has the extension use customized tags.
.htmor ➢ XML is case sensitive.
.html. ➢ A HTML document has the
➢ HTML documents have a head extension .xml
andbody. ➢
<html> ➢ XML documents form a tree
<head>……………… structure.
</head> <root>
<body>……………… <child>
</body> <subchild>.....
</html> </subchild>
</child>
</root>
Domain Names: Every computer on the network has a unique numeric address assigned to it which is a
combination of four numbers from 0-255 separated by a dot. For example, 59.177.134.72 since it is
practically impossible for a person to remember the IP addresses. A system has been developed which
assigns domain names to web servers and maintains a database of these names and corresponding IP
addresses on DNS (Domain Name Service) server.
Examples of some domain names are cbse.nic.in, indianrailway.gov.in etc. A domain
name usually has more than one part for example, in the domain name
www.cbse.nic.in
➢ in is the primary domain name
➢ nic is the sub-domain of in
➢ cbse is the sub-domain of nic
➢ www indicates the server is on world wide web.
111
pages, text documents, graphics, downloadable files, services or programs.
Every network resource on the web has a unique URL in the following format:
Protocol: // domain name /path / file name
Each server has a unique IP address and domain name. In order to access a webpage, the user writes
the URL of the site on the address bar of the browser. The machine on which the browser is running
sends a request to the IP address of the machine running the web server for that page. Once the
web server receives that request, it sends the page content back to the IP address of the computer
asking for it. The web browser then translates that content into all of the text, pictures, links,
videos, etc. A single web server may support multiple websites or a single website may be hosted
on several linked servers.
Web hosting: Web hosting is the process of uploading/saving the web content
on a web server to make it available on WWW. In case an individual or a
company wants to make its website available on the internet, it should be
hosted on a web server.
Web page: Web page is an electronic document designed using HTML. It displays information in textual or
graphical form. It may also contain downloadable data files, audio files or video files. Traversal from one
webpage to another web page is possible through hyperlinks. A web page can be classified into two types:
112
Static web page: A web page which Dynamic web page: An interactive web
displays same kind of information page is a dynamic webpage. A dynamic
whenever a user visits it is known as web page uses scripting languages to
a static web page. A static web page display changing content on the web
generally has .htm or .html as page. Such a page generally has .php,
extension .asp or .jspas extension.
SUMMARY
Question Bank
1 Mark Questions
Q1 Mr. Ramesh is not able to identify the Domain Name in the given URL. Identify and
write it for him.
Q2 Expand following –
(i) HTTPS
(ii) TDMA
Q3 Name any two most popularly used search engines.
Q4 Given below two addresses
(i) 59.177.134.72
(ii) http://www.ccc.nic.in/welcome.htm
Identify which one of the above is an IP address and which one is a URL?
Q5 Mr. Mahesh wants to prevent unauthorised access to/from his company’s local
area network. Write the name of system (software/hardware), which he should install.
Q6. Write any one disadvantages of VoIP.
Q7 Write the full form of following –
1. GSM 2. GPRS
Q8. What is Error-404?
Q9. Name an open source web browser.
Q 10. Name any two common web browser.
Q 11 What is a protocol? Which protocol is used to search information from Internet
using an Internet browser?
114
2 Mark Questions
Q1 Expand following –
(i) XML
(ii) GSM
Q2 What is an IP address , explain with example ?
Q3 Write a short note on WWW.
Q4 Ramesh is a class 12 computer science student.
He is confused between ‘web’ and ‘internet’. As a friend of Ramesh, explain her the
difference between web and internet.
Q5 Write short note on VoIP.
Q6 Write two advantages of VoIP.
Q7. Write a short note on web hosting.
Q8 Define browser.
Q9. What is DNS?
Q10 What is work of SMTP explain.
Q 11 What is work of TCP / IP explain .
Q12 What is Telnet expain . ?
Q 13 write full form of following –
(i) PPP
(ii) FTP
(iii) POP
(iv) WLL
3 Mark Questions
Q 1 Identify the domain name, protocol, sub-domain from the following domain.
https://www.csiplearninghub.com/class-11-ch-1/mcq
Q 2 . Suresh is running a business. He has studied till class 10. He wants to launch a
website for his business. He is confused between static and dynamic web page. As a
website developer, help him to understand the difference between static and dynamic
web page.
Q 3. Define the following terms :
1. Website
2. Webpage
3. Web server
Q4. Write the steps to host a website.
Q5 – Write note on 1G , 2G , 3G of mobile technologies.
Q6 – Write note on 4G , 5G of mobile technologies.
Q7 Write differences between HTML and XML ?
Q8 Explain working of SMTP ?
Q9 Explain working of TCP / IP ?
Q10 What do you mean by domain name explain with example .
Q 11 Explain PPP ( Point to Point) Protocol .
Case 1: Web server is a special computer system running on HTTP through web
pages. The web page is a medium to carry data from one computer system to another.
The working of the webserver starts from the client or user. The client sends their
request through the web browser to the webserver. Web server takes this request,
processes it and then sends back processed data to the client. The server gathers all of
our web page information and sends it to the user, which we see on our computer
115
system in the form of a web page. When the client sends a request for processing to
the web server, a domain name and IP address are important to the webserver. The
domain name and IP address are used to identify the user on a large network.
1.
1. Web servers are:
1. IP addresses
2. Computer systems
3. Webpages of a site
4. A medium to carry data from one computer to another
2. What does the webserver need to send back information to the user?
1. Home address
2. Domain name
3. IP address
4. Both b and c
3. What is the full form of HTTP?
1. Hypertext Transfer Protocol
2. Hypertext Transfer Procedure
3. Hyperlink Transfer Protocol
4. Hyperlink Transfer Procedure
4. The _____ translates internet domain and host names to IP address
1. Domain name system
2. Routing information protocol
3. Google
4. Network time protocol
5. Computer that requests the resources or data from other computer is called as
____ computer
1. Server
2. Client
3. None of the above
4. a and b
Case 2: In 1989, Tim Berners Lee, a researcher, proposed the idea of World Wide
Web). Tim Berners Lee and his team are credited with inventing Hyper Text Transfer
Protocol (HTTP), HTML and the technology for a web server and a web browser. Using
hyperlinks embedded in hypertext the web developers were able to connect web
pages. They could design attractive webpages containing text, sound and graphics.
This change witnessed a massive expansion of the Internet in the 1990s.
117
4. A web cookie is a small piece of data that is __________
a) sent from a website and stored in user’s web browser while a user is browsing a
website
b) sent from user and stored in the server while a user is browsing a website
c) sent from root server to all servers
d)1.
5. Google Chrome is an good –
1. Web server.
2. Web browser.
3. Web protocol.
4. Subset of website sent from the root server to other root servers
ANSWER KEY
1 Mark Questions
Q1 Mr. Ramesh is not able to identify the Domain Name in the given URL. Identify and
write it for him.
Ans1 Domain in http://www.cbsenic.in/aboutus.htm is “www.cbsenic.in”.
Q2 Expand following –
(iii) HTTPS
(iv) TDMA
Ans2
(i) Hypertext Transfer Protocol Secure (HTTPS)
(ii) Time division multiple access (TDMA)
Q3 Name any two most popularly used search engines.
Ans3 Two most popular search engines are google and grotel.
(url:http://www.google.com and http://grotel.com)
Q4 Given below two addresses
(i) 59.177.134.72
(ii) http://www.ccc.nic.in/welcome.htm
Identify which one of the above is an IP address and which one is a URL?
Ans4 i) IP Address 59.177.134.72
(ii) URL http://www.ccc.nic.in/welcome.htm
Q5 Mr. Mahesh wants to prevent unauthorised access to/from his company’s local area
network. Write the name of system (software/hardware), which he should install.
Ans 5 He should install firewall system to prevent unauthorised access.
118
Q 10. Name any two common web browser.
Ans 10 . Some of the commonly used web browsers are Google Chrome,
Internet Explorer, Mozilla Firefox, Opera, etc.
Q 11 What is a protocol? Which protocol is used to search information from Internet
using an Internet browser? .
Ans 11 . Protocol refers to the rules which are applicable for a network. These
protocols define the standardised format for data packets to be transmitted over the
network, techniques for detecting errors and correcting them etc.
The protocol used to search the information from Internet using browser is HyperText
Transfer Protocol (HTTP).
2 Mark Questions
Q1 Expand following –
(iii) XML
(iv) GSM
Ans1 Answer:
(i) Xtensible Markup Language.
(ii) Global System for Mobile Communication.
Q2 What is an IP address?
Ans2. An Internet Protocol address (IP address) is a numerical unique address of a
device in a network. IP is a datagram-oriented connectionless protocol, therefore each
packet must contain a header with the source IP address, the destination IP address,
and other data in order to be delivered successfully.
119
Q7. Write a short note on web hosting.
Ans 7. Web hosting is a service that allows us to put a website or a web page
onto the Internet, and make it a part of the World Wide Web. Once a website
is created, we need to connect it to the Internet so that users across the globe
can access.
Q8 Define browser.
Ans 8. A browser is a software application that helps us to view the web
page(s). In other words, it helps us to view the data or information that is
retrieved from various web servers on the Internet.
3 Mark Questions
Q 1 Identify the domain name, protocol, sub-domain from the following domain.
https://www.csiplearninghub.com/class-11-ch-1/mcq
Ans 1 . Domain name = www.csiplearninghub.com
Sub Domain Name = www
Protocol = https
120
Q 2 . Suresh is running a business. He has studied till class 10. He wants to launch a
website for his business. He is confused between static and dynamic web page. As a
website developer, help him to understand the difference between static and dynamic
web page.
Ans 2. A static webpage is one whose content always remains static, i.e., does
not change for person to person. A dynamic web page is one in which the
content of the web page can be different for different users. They are more
complex and thus take more time to load than static web pages.
121
5G technology - It can provide higher speed, lower latency and greater capacity than
4G LTE networks. It is one of the fastest, most robust technologies the world has ever
seen.
In healthcare, 5G technology and Wi-Fi 6 connectivity will enable patients to be
monitored via connected devices that constantly deliver data on key health indicators,
such as heart rate and blood pressure.
122
Q10 What do you mean by domain name explain with example .
Ans10 Domain Names: Every computer on the network has a unique numeric address
assigned to it which is a combination of four numbers from 0-255 separated by a dot.
For example, 59.177.134.72 since it is practically impossible for a person to remember
the IP addresses. A system has been developed which assigns domain names to web
servers and maintains a database of these names and corresponding IP addresses on
DNS (Domain Name Service) server.
Case 1
Web servers are:
Ans. 2
What does the webserver need to send back information to the user?
Ans. 4
What is the full form of HTTP?
Ans. 1
The _____ translates internet domain and host names to IP address
Ans. 1
Computer that requests the resources or data from other computer is called as ____
computer
ans. 2
DNS stands for:
Ans. 4
123