Network Programming(Computer Science > Java Program ) Questions and Answers

Question 1.

In classful addressing, the IP address 190.255.254.254 belongs to


  1.    Class A
  2.    Class B
  3.    Class C
  4.    Class D
Explanation:-
Answer: Option B. -> Class B

none.



Question 2.

Which of the following addresses is used to deliver a message to the correct application program running on a host?


  1.    Port
  2.    IP
  3.    Logical
  4.    Physical
Explanation:-
Answer: Option A. -> Port

none.



Question 3.

The start and stop bits are used in serial communication for


  1.    Error detection
  2.    Error correction
  3.    Synchronization
  4.    Slowing down the Communication
Explanation:-
Answer: Option C. -> Synchronization

none.



Question 4.

Which layer of OSI reference model is responsible for decomposition of messages and generation of sequence numbers to ensure correct re-composition from end to end of the network?


  1.    Physical
  2.    Data-link
  3.    Transport
  4.    Application
Explanation:-
Answer: Option C. -> Transport

none.




Question 5.

Which is the protocol for performing RPCs between applications in a language and system independent way?


  1.    Hyper Text Transmission Protocol (HTTP)
  2.    Simple Network Management Protocol (SNMP)
  3.    Simple Object Access Protocol (SOAP)
  4.    Simple Mail Transfer Protocol (SMTP)
Explanation:-
Answer: Option C. -> Simple Object Access Protocol (SOAP)

SOAP provides a way to communicate between applications running on different operating 

systems, with different technologies and programming languages.



Question 6.

Using the RSA public key crypto system, if p = 13, q = 31 and d = 7, then the value of e is:


  1.    101
  2.    103
  3.    105
  4.    107
Explanation:-
Answer: Option B. -> 103

none.



Question 7.

An analog signal carries 4 bits in each signal unit. If 1000 signal units are sent per second, then baud rate and bit rate of the signal will be respectively.


  1.    4000 bauds sec & 1000 bps
  2.    2000 bauds sec & 1000 bps
  3.    1000 bauds sec & 500 bps
  4.    1000 bauds sec & 4000 bps
Explanation:-
Answer: Option D. -> 1000 bauds sec & 4000 bps

Bit rate is the number of bits per second. Baud rate is the number of signal elements per second. 

In the analog transmission of digital data, the baud rate is less than or equal to the bit rate.



Question 8.

In IPV 4, the IP address 200.200.200.200 belongs to


  1.    Class A
  2.    Class B
  3.    Class C
  4.    Class D
Explanation:-
Answer: Option C. -> Class C

In classful addressing, the address space is divided into five classes:A, B, C, D, and E.



Question 9.

When data and acknowledgement are sent in the same frame, this technique is called as:


  1.    Piggy packing
  2.    Piggy backing
  3.    Back packing
  4.    Good packing
Explanation:-
Answer: Option B. -> Piggy backing

There are three protocols are used for sending and receiving frames in Data Link Layer for noisy 

channel. - Stop-and-Wai t ARQ(Automatic Repeat Request)



Question 10.

The VLF (Very Low Frequency) and LF bauds uses which propagation for communication?


  1.    Ground
  2.    Sky
  3.    Line of sight
  4.    Space
Explanation:-
Answer: Option A. -> Ground

In general there are three type of propagation.1.Ground Propagation 2.Sky propagation 

3.Line-of-sight propagation. In ground propagation, radio waves travel through the lowest 

portion of the atmosphere. These low-frequency signals travel in all directions from the 

transmitting antenna.