Application Layer Protocols - Practice Test - 1


10 Questions MCQ Test RRB JE for Computer Science Engineering | Application Layer Protocols - Practice Test - 1


Description
This mock test of Application Layer Protocols - Practice Test - 1 for Computer Science Engineering (CSE) helps you for every Computer Science Engineering (CSE) entrance exam. This contains 10 Multiple Choice Questions for Computer Science Engineering (CSE) Application Layer Protocols - Practice Test - 1 (mcq) to study with solutions a complete question bank. The solved questions answers in this Application Layer Protocols - Practice Test - 1 quiz give you a good mix of easy questions and tough questions. Computer Science Engineering (CSE) students definitely take this Application Layer Protocols - Practice Test - 1 exercise for a better result in the exam. You can find other Application Layer Protocols - Practice Test - 1 extra questions, long questions & short questions for Computer Science Engineering (CSE) on EduRev as well by searching above.
QUESTION: 1

Which of the following is/are example(s) of stateful application layer protocol?
i. HTTP
ii. FTP
iii. TCP
iv. POP3

Solution:

HTTP - stateless
FTP - stateful
TCP - not application layer protocol
POP3 - Stateful
And according to options answer would be C)

QUESTION: 2

Which one of the following allows a user at one site to establish a connection to another site and then pass keystrokes from local host to remote host?

Solution:
QUESTION: 3

Which one of the following uses UDP as the transport protocol?

Solution:

The answer is C.
Where quick response is needed, there UDP is preferred.

QUESTION: 4

What is the maximum size of data that the application layer can pass on to the TCP layer below?

Solution:

OPTION A
Its transport layers responsibility to divide data in to fragments/ packets. Application layer need not worry about it.

QUESTION: 5

A bit-stuffing based framing protocol uses an 8-bit delimiter pattern of 01111110. If the output bit-string after stuffing is01111100101, then the input bit-string is

Solution:

011111 *one zero emitted here* 0101

QUESTION: 6

Which of the following statements is TRUE about CSMA/CD

Solution:

Answer->C
CSMA/CD was used in early days,802.3 not in 802.11
There will be contention in this protocol.
Ethernet is based on csma/cd early in 1980s,

QUESTION: 7

A network has a data transmission bandwidth of 20 x 106  bits per second. It uses CSMA/CD in the MAC layer. The maximum signal propagation time from one node to another node is 40 microseconds. The minimum size of a frame in the network is __________ bytes.


Solution:

Since CSMA/CD
Transmission Delay = RTT
hence,
L=B RTT
L=B 2 Tpropagation delay
L=(20 106) 2 40 10-6
=20 2 40
=1600bits
=200bytes
Hence 200Bytes is the answer.

QUESTION: 8

Assume that "host1.mydomain.dom" has an IP address of 145.128.16.8. Which of the following options would be most appropriate as a subsequence of steps in performing the reverse lookup of 145.128.16.8? In the following options "NS" is an abbreviation of "nameserver".

Solution:

Answer is C)
A & B are clearly wrong as we are doing Reverse lookup.
C is most closest answer to process given in RFC 1033. We need to get NS for in-addr.arpa before doing query to
8.16.128.145.in-addr.arpa
D is not correct, it is not close to process.

QUESTION: 9

Traceroute reports a possible route that is taken by packets moving from some host A to some other host B. Which of the following options represents the technique used by traceroute to identify these hosts

Solution:

A) Traceroute works by sending packets with gradually increasing TTL value, starting with TTL value of 1. The first router receives the packet, decrements the TTL value and drops the packet because it then
has TTL value zero. The router sends an ICMP Time Exceeded message back to the source. The next set of packets are given a TTL value of 2, so the first router forwards the packets, but the second router
drops them and replies with ICMP Time Exceeded. Proceeding in this way, traceroute uses the returned ICMP Time Exceeded messages to build a list of routers that packets traverse, until the destination is
reached and returns an ICMP Echo Reply message

QUESTION: 10

The protocol data unit (PDU) for the application layer in the Internet stack is

Solution:

(C) Message is answer.
For Application, Presentation and Session layers, the PDU is message
For Transport layer, PDU is segment for TCP and datagram for UDP
For Network layer, PDU is packet
For Datalink layer, PDU is frames
For physical layer, PDU is stream of bits

Related tests