Monday, January 12, 2015

Cisco Interview Question



Cisco Interview Question

Please find the below question recently the interview held in the Cisco.

It was a 3.30 hours interview. Here we go:



1. Tell me about yourself.
2. Brief description about your project.
3. What is your contribution ( which module you have implemented)


Some Networking question:


1. What is Vlan?
2. Why we need it?
3. Draw Layer 2 packet Header (Include every field of Vlan).
4. First time ping is done to any system what are the steps for a successful ping.
5. What is the Role of default gateway?


Then he Started with Basic C...


1. Dynamic allocation of 2D-array.Initialize it and print the same.
2. Count the total no of 1's in a given integer (Must be optimal i.e. loop must run no.of count times (1's) if the total no of 1's is 7 then loop must run 7 times).
3. Write a program to print the following for a given string:
char arr[] = "My Name is Rafiqur".
Output : Rafiqur is Name My
[Note : Don't use any other array or memory. You can use only mentioned arr]



4. Write your own program to print any structure size. Should take care of byte padding and it must be platform independent.
5. write a program to print 1 to 100 without using any loop.



Now he starts with Linked list:


1. Delete the middle element of a linked list with a single traversal of the list ( Length unknown).
2. A list with unknown length and head pointer is also not given only a address is given
(ex : ptr = 0x2a88) delete the next node of that list.
3. In a unknown length linked list,one index (M) will be given.Print the no of index element from
the last. suppose M = 8. so print last 8 element of that list.
4. Two unknown size list of uneven length meets at a point and again goes further ( Y type). Point out
the meeting node ( Should be Optimal one).
5. Write a program to add and delete any node in the binary search tree and also print the same.
6. Reversal of single linked list.



[ I will be glad if this helps you to prepare for the interview.]









No comments:

Post a Comment