Cisco Systems Interview Questions
- 1of 1 vote
AnswersWhat is the output of:
- Vezita May 02, 2012 in United Statesmain () { printf("%x", -1<<4); }
| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer - 0of 0 votes
AnswersWhat does the following program do ?
- Vezita May 02, 2012 in India
main ()
{
unsigned int num ;
int i ;
scanf("%u ", &num);
for(i=0;i<16;1++)
printf("%d",(num<<i & 1<<15) ? 1:0);
}
A. print all even bits from num
B. print all odd bits from num
C. prints binary equivalent of num| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer C - 0of 0 votes
AnswersA singly linked list has integer as data in each node. Write a function to delete a node from the list given an integer as argument. (Assume all the nodes have unique integers)
- lippie March 21, 2012 in United States for Switching Softwares| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer Algorithm C Linked Lists - 0of 0 votes
AnswersGiven a Binary tree , you need to traverse and only print all nodes on given level L.
- lippie March 21, 2012 in United States for Switching Softwares| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer Algorithm C Linked Lists - 0of 0 votes
AnswersWrite a function which sets the bits in an integer when start bit position and end bit positions are passed as argument.
- lippie March 21, 2012 in United States for Switching Softwares
For eg, if I call function setbit(2,4) , it should return 14. (1110)
least significant bit on 1st position and so on..| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer Algorithm C - 0of 0 votes
AnswersWrite a function to sort the linked list given the head as parameter. Do not use extra memory. You have to sort it in place. Time complexity is secondary. (He told me that he wants to see how fast I can code with any of of the solutions)
- lippie March 21, 2012 in United States for Switching Softwares| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer Algorithm C Coding Linked Lists - 0of 0 votes
AnswersIf I send a ping request from one host to another, what exactly happens in the network. Explain in detail
- lippie March 21, 2012 in United States for Switching Softwares| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer Networking / Web / Internet - 0of 0 votes
AnswersThere is an sorted array rotated unknown number of times. Find the minimum - follow up, return second min and/or second max.
- AmzFAILFacebookFailMSFTFail January 17, 2012 in United States for Nexus| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer - 0of 0 votes
AnswersMany c++ questions - Virtual destructors, Multimap, how to identify memory leak
- Gini April 24, 2011| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer - 0of 0 votes
AnswerHow to identify deadlocks, When should we use multi threading, what is virtualization
- Gini April 24, 2011| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer - 0of 0 votes
AnswersThere is an input message queue where you can read from, the message contains an alphanumeric key value. There are also three output message queues that you can write into.
- Riderchap April 15, 2011
You need to get each message from the input queue and put it into one of the output queues. There could be duplicate key values coming out of the input queue and once we put a key value say "ABC1234" to output queue-1, whenever we get a keyvalue ABC1234 it should go to queue-1 only. Also we should try to balance the load among the 3 output queues.
Design an alogrithm for it.| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer - 0of 0 votes
AnswersExperience working at CISCO INDIA. refer to the third reply for the actual post
- Anonymous February 15, 2011| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer - 0of 0 votes
Answers1.Desing a employee database for given conditions.
- Anonymous November 09, 2010
2.whats normal form. why use denormalization ?
3.Whats is index . How it is created . the internal of index which index to use when.
4. Deadlock quesitons
5. threads and process diffrence
6. virtual memory| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer - 0of 0 votes
Answers1.Find faulty coin stack in 3 chances when u know u have 10 stacks of coin and one of them weighs less than the others.all others are of equal weight
- Anonymous November 09, 2010
2. Now u know that all of them 100 grams and the faulty one weighs 90 grams . find the faulty stack in 1 chance.
3. Out of 12 coins u know one is faulty can be more or less find the faulty coin in at most 3 chances.| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer - 0of 0 votes
Answers1. Reverse a singly linked list
- Anonymous November 09, 2010
2. Insert node in a singly linked list arranged ascending order.| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer - 0of 0 votes
Answer1) You have a test application that is issuing asynchronous un-buffered sequential writes to a 15k RPM disk connected through a 3Gb/s SAS interface. The test application is able to get 150 IOPS for an IO size of 8KB. What is the throughput for the writes being issued by this test application?
- manu September 09, 2010| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswersWhat are your strengths?
- Anonymous July 23, 2010| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer Behavioral - 0of 0 votes
AnswersHow will you reverse a singly linked list.
- Anonymous May 18, 2010| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer Algorithm - 0of 0 votes
Answersmain() { unsigned int a = 10; int b = -19; puts((a+b)>0? "Positive":"Negative"); }
The output answer is "Positive"
- Denny May 09, 2010
Does anyone know why the sum will typecast to "unsigned int"??| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer C - 1of 1 vote
AnswersGiven an array, find elements whos sum is 'S'.
- dnivra March 25, 2010| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer Arrays - 0of 0 votes
AnswersGiven a node in an SSL, delete it..
- dnivra March 23, 2010| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer C - 0of 0 votes
Answerimplement complex lock ? One thread has access to lock and other threads who wants to access the lock sleeps
- AM January 15, 2010| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer Algorithm - 0of 0 votes
AnswersImplement Memcpy
- AM January 15, 2010| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer C - 0of 0 votes
AnswersWhat is groupby?
- ramesh.chettu20 December 23, 2009| Report Duplicate | Flag | PURGE
Cisco Systems System Administrator Database - 1of 1 vote
AnswersHow do you implement a 2D array dynamically in C? Get the row and coumn numbers as input from the user
- Anonymous November 22, 2009| Report Duplicate | Flag | PURGE
Cisco Systems Arrays - 0of 0 votes
AnswersWhat data structure would you use to implement a routing table. Discuss about optimizing it.
- Matt November 06, 2009| Report Duplicate | Flag | PURGE
Cisco Systems Software Engineer / Developer Data Structures