Note 1
##### Take Note:

Take a note while surfing.

##### Note With Ink

Give your Note a Colorful Tag.

##### Easy to Access

Stay on same information and in Sync wherever you are.

Note 2
##### Take Note:

Organize your information,It may take Shape.

##### Easy to Access

Easy to pull up your content from anywhere anytime.

Note 3
##### Take Note:

Don't Let information to miss,Because it take shape

##### Note With Ink

Simple an Easy Way to take a note.

##### Easy to Access

Get the same in next visit.

Interview Questions and Answers :: Cisco

Home > Experience Archives > Cisco > Interview Question Set 6
First Round (F-2-F) Second Round (F-2-F) Third Round (F-2-F)
Question :: 1
Write a program to print the nth fibonacci number.

public class FibonacciDemo{

public static void main(String args[]){

int i = 6;

for(int j = 1;j<=6;j )

System.out.println(fibo(i) " ");

}

public static int fibo(int n){

if(n<=1)

return n;

return fibo(n-1) fibo(n-2);

}

}

Tags:

No Tags on this question yet!

Question :: 2
What's the biggest number you can compute this way?

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 3
How to allocate memory for double pointer?

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 4
How to reverse linked list using recursion?

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 5
Write program to merge two linked lists?

static class Node{

int data;

Node next;

Node(int d){

data = d;

next = null;

}

}

return 0;

//create count to hold the length

int count = 0;

while(curr != null){

count ;

curr = curr.next;

}

return count;

}

public static Node insertNodeAtPosition(Node head, int data, int position){

//boundary condition

if(position < 1 || position > size 1){

System.out.println("Invalid position ...");

}

Node newNode = new Node(data);

//insert in 1st position

if(position == 1){

return newNode;

}else{

int count = 1;

while(count < position-1){

prevNode = prevNode.next;

count ;

}

Node currNode = prevNode.next;

newNode.next = currNode;

prevNode.next = newNode;

}

}

public static void main(String[] args) {

System.out.println("Print the list");

System.out.println();

System.out.println("Insert 20 at position 1");

System.out.println();

System.out.println();

System.out.println("Insert 25 at position 4");

}

private static void printList(Node n) {

while(n != null){

System.out.print(n.data " ");

n = n.next;

}

}

}

Tags:

No Tags on this question yet!

Question :: 6
How to complement a number without using ~

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 7
What is an atomic process with respect to Unix?

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 8
Different kind of semaphores and there usages?

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 9
Explaining the communication between two system
a. Both under same network
b. under different network
-- Need to explain for ARP resolution
-- What should be L2 and L3 address in every step?
-- Which tables to look for, and which tables get updated. May need to explain one record from any of these tables.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 10
Explaining VLAN concept with example

No Discussion on this question yet!
Tags:

No Tags on this question yet!

First Round (F-2-F) Second Round (F-2-F) Third Round (F-2-F)
Question :: 1
What was the kind of work?? (Dev/sus/support). And what was the work process for the whole team?

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 2
What was your role? How much hands on experience you have. Would you be interested on hand-on work or managing the work.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 3
How to find sizeof a variable without using sizeof () operator.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 4
Write a program to delete a node in linked list

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 5
What is the use of bit fields in a structure?

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 6
Is it possible to print sizeof bit field operator and why?

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 7
printf ("%d\n", ~0xff);, what is the output?

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 8
Write a program to Reversing a SLL with recursion and without recursion.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 9
Write program to Merge two sorted SLL with recursion with result SLL as sorted SLL.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 10
int a[0]; will this declaration give any error/warning ? What is the significance of this declaration?

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 11
Toggle all bits of an integer variable.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

First Round (F-2-F) Second Round (F-2-F) Third Round (F-2-F)
Question :: 1
What all do you do in customer setup? Explain with different case examples.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 2
What are the datacom modules worked on? Explain one of latest development works in detail.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 3
Any other discussions may come up from resume, so be sure to be able to explain each bit from the resume.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 4
Tools used for debugging. For example, GDB if used ..may need to explain a few commands from it.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 5
What are the devices you have worked on and where in the network they are deployed?

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 6
Configuring two systems connected Via a L2 switch.
What minimum configurations are required for communication between the two systems?
Explain with example of VLAN configuration. Then explaining it with different vlan and routing configurations.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 7
One program where one character pointer is declared and pointing to some location.
Then the pointer is incremented by 1, so that it points to next address location.
Then the same pointer is type casted to integer pointer.
Then the value pointed by this integer type casted pointer is fetched and printed.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 8
What is the size of this pointer variable?
void * ptr;

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 9
Questions on the different storage classes. Like what are the storage classes, and what are default values?

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 10
Write your own string operation functions. For example strlen, strCopy...
Note: Write programs with enough clarity. Have a clear understanding of the program so that you can explain with any example.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 11
How big is a float? Write a program that prints out the size of a float.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 12
How to use gdb to get the size of a float?

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 13
Write me a program to tell the size of this structure:

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 14
What is the size of the below structure

struct funky {
double f;
int i;
char c[3];
void * p;
int x[0];
};

Why is it that size?
Is the size of this dependent on what machine I run on?
What does 'int x[0]' mean and what could that possibly be used for?