UNIT 5 Final CN
UNIT 5 Final CN
TECH
COMPUTER SCIENCE ENGINEERING
MCA/ BCA/ Polytechnic CS/ B.Sc. IT/CS
(AKTU, Lucknow)
Dr. A.P.J. Abdul Kalam Technical University
University, Uttar Pradesh
By Vishal Dhiman
Que 1.1. Write a short note on file transfer protocol.
AKTU 2013-14, Marks 2.5
AKTU 2015-16, 2017-18; Marks 05
Answer
1. FTP transmits the files from one host to another host .
2. FTP (File Transfer Protocol) is the simplest and most secure way to exchange files
over the internet. The most common use for FTP is to download files from the
internet.
3. FTP creates both a control and a data connection in order to transfer files.
4. Within an active FTP session, the control connection is established from the client
to the server, with the data connection established from the server to the client.
Que 1.2. How does FTP work? Differentiate between passive and active FTP.
AKTU 2016-17, Marks 10
Answer
Working of FTP:
1. The client FTP application opens a control connection to the server on destination
port 21, and specifies a source port as the source to which the FTP server should
respond (using TCP).
2. The FTP server responds on port 21.
3. The FTP server and client negotiate the data transfer parameters.
4. The FTP server opens a second connection on port 20 to the
original client.
5. The client responds on the data port, completing a TCP connection
6. Data transfer begins.
7. The server indicates the end of the data transfer.
8. Client closes the connection once the data is received.
9. The data connection is closed.
10. The FTP connection is closed.
Control
Connection
Difference between passive and active FTP:
S.No. Passive FTP Active FTP
1. Passive FTP does not provide security Active FTP provides more security to
to the FTP server. the FTP server.
2. Passive FTP does not have connection Active FTP may cause problems
issues from firewalls. because of firewalls
3. In passive FTP, the command channel In active FTP, client establishes the
and the data channel are established command channel and the server
by the client. establishes the data channel
4. Passive mode is used as a default Active mode is not used as a default
mode of a browser. mode of a browser.
Command and
control port
Data Port
Que 1.3. Write a short note on:
i. MIME
ii. TFTP
AKTU 2013-14, Marks 05
Answer
MIME:
1. The Multipurpose Internet Mail Extension (MIME) protocol was developed to
define a method of moving multimedia files through existing email gateways.
2. It offers a simple standardized way to represent and encode a wide variety of
media types, including audio and video for transmission via internet mail.
3. MIME, use to overcome from SMTP Limitations
SMTP – no audio , no video , no big size of data
TFTP:
1. The TFTP stand for Trivial File Transfer Protocol.
2. Mainly use for transfer files within a Local area network.
3. It makes UDP (User Datagram Protocol) connections.
4. Not use to transfer the files over the internet (through LAN Cable).
5. Its default port number is 69.
6. It is connectionless and speed fast.
7. It is not secure and It has no acknowledgement policy.
Que 1.4. Write a short note on DNS in the internet.
AKTU 2013-14, 2015-16, 2017-18; Marks 05
Answer
1. DNS Stands for “Domain Name System or Service”.
2. It is an automatic process that converts the Domain name to its corresponding IP
address (Number).
3. So That web browser can understand which web page you want to access on the
internet.
4. Example – Mobile Contact
www.ABC .com
Que 1.5. Explain about email architecture and services.
AKTU 2013-14, Marks 10
OR
Write a short note on electronic mail.
AKTU 2015-16, Marks 05
Answer
1. E-mail stands for Electronic mail.
2. E-mail is a private communication between two parties who have an account on
the internet.
3. It is an electronic message sent from the computer to another Computer.
4. Email messages are conveyed through email servers, It uses multiple protocols
within the TCP/IP.
5. For Example – SMTP, POP.
Answer
1. The Simple Network Management Protocol (SNMP) is a framework for managing
devices in an internet using the TCP/IP protocol suite.
2. It provides a set of fundamental operations for monitoring and maintaining an
internet. SNMP uses the concept of manager and agent.
3. A manager is a host that controls and monitors a set of agents, usually routers.
4. The protocol is designed at the application level so that it can monitor devices
made by different manufacturers and installed on different physical networks.
5. SNMP frees management tasks from both the physical characteristics of the
managed devices and the underlying networking technology.
6. It can be used in a heterogeneous internet made of different LANs and WANs
connected by routers or gateways made by different manufacturers.
Que 1.11. What is the difference between an active web document and dynamic web
page? Also explain the role of CGI.
AKTU 2014-15, Marks 10
Answer
Role of CGI:
1. It helps to create and handle dynamic document.
2. It provides sets of standards for web document.
3. It acts as a gateway for accessing other resources such as database.
Que 1.12. Compare and contrast SMTP and HTTP.
Answer
S.no. SMTP HTTP
5. These messages are first stored and These messages are immediately
then forwarded delivered
.
Que 1.13. Describe internet.
Answer
Internet:
1. The internet is a globally existing network of networks consisting of a huge
number of computers located in all the parts of the world.
2. All the computers connected to the internet are part of this huge network.
3. Networking is interconnection of computers. Generally the networking topologies
used for networking are star, bus, ring, etc.
4. When a limited number of computers are to be interconnected, the local area
network (LAN) is used. But in the internet the interconnection is achieved even via
satellites.
Que 1.14. Differentiate between X.25 and frame relay.
Answer
S.No. X.25 frame relay
1. X.25 networks work at speed up to Frame relay operates at higher speed of
64 kbps. 1.5 Mbps.
2. Frames are delivered more reliably Frames are delivered unreliably than
than frame relay. X.25.
4. Bad frames can be received back by Bad frames are discarded by frame
sending acknowledgement signal. relay
5. X.25 provides flow control. Frame relay does not provide flow
control.