User Datagram Protocol (UDP)

  Home  Protocols  User Datagram Protocol (UDP)


“User Datagram Protocol (UDP) job interview preparation guide for freshers and experienced candidates. Number of UDP frequently asked questions(FAQs) asked in many User Datagram Protocol (UDP) interviews”



13 User Datagram Protocol (UDP) Questions And Answers

1⟩ What is What is the major difference between UDP and TCP/IP Protocol?

The first thing is UDP is connection less where as TCP is

connection oriented.The broadcasting and multicasting

software is available in the UDP only.Why because it is

connection less hence we can broadcast the packets very

easily,no need to wait for connection like in tcp,which

takes more delay.

 136 views

2⟩ Write UDP/SOCK_DGRAM applications?

to implement the udp service we must creat socket by socket

system call which takes argument as SOCK_DGRAM which is

used for to pass the data in the form of datagrams.

 147 views

3⟩ How to get IP header of a UDP message?

Actually ip header is not in a udp message.. it a comes at

network link layer while udp messege generate at transport

layer so that it's a tricky question and meaningless.....i

think so... may be not sure

 151 views

5⟩ What is throjan?

Named after the Trojan Horse of ancient Greek history, a

trojan is a network software application designed to remain

hidden on an installed computer. Trojans generally serve

maliciious purposes and are therefore a form of malware,

like viruses.

Trojans sometimes, for example, access personal information

stored locally on home or business computers, then send

these data to a remote party via the Internet.

Alternatively, trojans may serve merely as a "backdoor"

application, opening network ports to allow other network

applications access to that computer. Trojans are also

capable of launching Denial of Service (DoS) attacks. A

combination of firewalls and antivirus software protect

networks against trojans.

Trojans are similiar to worms. In contrast to worms and

viruses, however, trojans do not replicate themselves or

seek to infect other systems once installed on a computer.

 139 views

6⟩ How many types of Transmission are there?

Two types of transmissions

1. Serial

2. parallel

serial means sending one bit at a time on a single wire

used over long distances

more efficient

used to send data to external systems

Parallel means sending bits at a time on different wires

used over short distances

efficient but not serial

used to send data in internal transfers

 132 views

9⟩ A device is sending out data at the rate of 2000 bps. How long does it take to send out 100 bits? How long does it take to send out a signal character (8 bits)? How long does it take to send a file of 100,000 characters?

how long does it take to send out 100 bits?

100/2000 = 0.05 sec

How long does it takes to send out a single character of 8 bits?

8/2000 = 0.004 sec

How long does it take to send a file of 100000 characters?

As, single character is of 8 bits.So,

{8*100000}/2000 = 400 sec

 181 views

11⟩ What do you mean about isp, and what is work?

ISP: (internet service providers)who provides internet

services

work of ISP:

1)providing internet services i.e ips

2) web server sevices

3) Virtual hosting(manage web server ,domain and users

intenet related works)

 175 views