Tcp ip Interview Questions | Glassdoor

Tcp ip Interview Questions

6

interview questions shared by candidates

Tcp ip Interview Questions

Sort: Relevance Popular Date

Given a binary tree, how would you write program for getting mirror image of tree in O(n) time? Is it possible ? Assume you have no constraints on space.

2 Answers

if t is nul return; Mirror(Right) Mirror(Left) changeNodes(t)

//call mirror( root, img_root) //img_node is passed by reference mirror (node, img_node ): if (node == NULL) return img_node.left = node.right img_node.right = mode.left mirror (node.right, img_node.left) mirror (node.left, img_node.right)

Describe on a scale of 1 to 10 your familiarity with systems administration. Followup: which system call returns inode information? What signal does the "kill" command send by default ? How many IP addresses are usable on a /23 network. Can you describe a connection setup in TCP

3 Answers

I was asked several TCP/IP general troubleshooting questions, as well as VPN troubleshooting questions.

1 Answer

Describe on a scale of 1 to 10 your familiarity with TCP/IP?

1 Answer

Take a random sequence of bits and perform source coding using Huffman code. Write an optimization function for a 4 way traffic intersection, where vehicles are coming in from all directions. [Hint: Think cars as client in need of service arriving at an arrival rate and traffic light as the server process with a service rate] Drive the bit error rate of BPSK. Write a regular expression in Perl to search for a string pattern.( this was unexpected since I had told them I did not know perl ) How would you test a Modem if you get complaints from field about cell phones not working. Describe the test cases.

16 of 6 Interview Questions