Computer Networks » Telnet
Telnet protocol is used to establish a connection to __________

A. Tcp port number 21
B. Tcp port number 22
C. Tcp port number 23
D. Tcp port number 25

Explanation: TCP port 21 is used for FTP, TCP port 22 is used for SSH and TCP port 25 is used for SMTP. Telnet provides access to a command line interface on a remote computer using the TCP port number 23.

All telnet operations are sent as ________

A. 4 bits
B. 8 bits
C. 16 bits
D. 32 bits

Explanation: Telnet provides a bi-directional, 8-bit byte oriented communications facility through which operations are sent as 8-bit bytes for the server to interpret.

AbsoluteTelnet is a telnet client for _______ Operating system.

A. Windows
B. Linux
C. Mac
D. Ubuntu

Explanation: AbsoluteTelnet was originally released in 1999. It was developed by Brian Pence of Celestial Software.

The decimal code of Interpret as Command (IAC) character is _______

A. 252
B. 253
C. 254
D. 255

Explanation: If we want that a character be interpreted by the client instead of server, we use the IAC character. If IAC is followed by any other code than IAC, the client interprets it as a character.

Which of the following is true for character mode operation of telnet implementation?

A. Each character typed is sent by the client to the server
B. Each character typed is discarded by the server
C. Each character typed is aggregated into a word and then sent to the server
D. Each character type is aggregated into a line and then sent to the server

Explanation: In character mode, each character that the user is typing is immediately sent to the server which then interprets it only after the complete operation command is received.

In which mode of telnet, the client echoes the character on the screen but does not send it until a whole line is completed?

A. Default mode
B. Character mode
C. Server mode
D. Command mode

Explanation: In the default mode, the client does not send each character typed by the user to the server, thus saving the amount of packet transmissions required for executing each operation. But the server has to remain idle until the client sends the completed line wasting a lot of time.

The application layer protocol used by a Telnet application is ________

A. Telnet
B. FTP
C. HTTP
D. SMTP

Explanation: Telnet is an application layer protocol that provides access to the command-line interface on a remote host. Telnet stands for teletype network.

Which amongst the following statements is correct for “character at a time” mode?

A. Character processing is done on the local system under the control of the remote system
B. Most text typed is immediately sent to the remote host for processing
C. All text is echoed locally, only completed lines are sent to the remote host
D. All text is processed locally, and only confirmed lines are sent to the remote host

Explanation: In character at a time mode, the typed text is sent immediately to the remote host while the user is typing. Another mode used in Telnet is “Old line by line” mode in which only completed lines are sent to the remote host.

_______ allows you to connect and login to a remote computer

A. Telnet
B. FTP
C. HTTP
D. SMTP

Explanation: Telnet provides access to the command-line interface on a remote computer. One can login to the computer from the command-line interface.

What is the correct syntax to be written in the web browser to initiate a Telnet connection to www.sanfoundry.com?

A. Telnet//www.sanfoundry.com
B. Telnet:www.sanfoundry.com
C. Telnet://www.sanfoundry.com
D. Telnet www.sanfoundry.com

Explanation: telnet://” is the header to be used to initiate a Telnet connection to a web server. One can browse the website using telnet if they are authorized to.