Qualcomm Interview Question for Software Engineer / Developers






Comment hidden because of low score. Click to expand.
5
of 5 vote

all the answers above are wrong..the only differnce between tcp and udp is reliabilty and ordering of packets. Since we should use UDP we have to make sure that we incorporate these attributes in our application itself.
In order to ensure reliability we have to make use of retransmissions and acknowledgements at the application level i.e we have to make our program waiting for an ACK for every packet sent and use a timeout mechanism to retransmit.
Also we should make use of "Sqequence Numbers" in our program in order to ensure the correct ordering of the packets that are received at the receiver.

- vp January 10, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

I think he was looking for basic diff b/w UDP and TCP and how your application will act differently because of those differences.

- kapoor February 18, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

may be you can use tcp connection and make it look like udp by closing the connection after each send or receive

- krishna April 25, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

May be while using UDP, the application has to take care of sending the acks..

- csk April 01, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

I agree with above:
TCP should have:
1, Three-way handshaking begin the networking connection
2, Four-way handshaking end the networking connection
3, SeqNo and ACK guarantted every package should be received by end user. If not, just retransmit data.

- Linkan Chen, UFL, 1-352-328-6704 February 01, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Go to wiki for Sliding Window Flow Control

- Anonymous October 03, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Full ...bewkoof itna bhi ni pata

- Arun Kumar Gupta July 22, 2012 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More