Cisco company placement paper


From freshersonline.com

Jump to: navigation, search

Cisco Systems


Basic Digital Section
1. In order to find out stack fault of a three input nand gate how many necessary input vectors are needed ?

2. What is parity generation ?

3. A nand gate becomes ___ gate when used with negative logic  ?


4. What is the advantage of cmos over nmos ?


5. What is the advantage of syncronous circuits over asynchronous circuits ?


6. What is the function of ALE in 8085 ?


 

7. A voice signal sample is stored as one byte. Frequency range is 16 Hz to 20 Hz. What is the memorysize required to store 4 minutes voice signal?


8. What will the controller do before interrupting CPU?


9. In a normalised floating point representation, mantissa is represented using 24 bits and exponent with 8 bits using signed representation. What is range ?

10. The stack uses which policy out of the following-- LIFO, FIFO, Round Robin or none of these ?


11. Where will be the actual address of the subroutine is placed for vectored interrupts?


12. Give the equivalent Gray code reprasentation of AC2H.


13.What is the memory space required if two unsigned 8 bit numbers are multiplied ?


14. The vector address of RST 7.5 in 8085 processor is _______.

Ans. 003C (multiply 7.5 by 8 and convert to hex)

15. Subtract the following hexadecimal numbers--- 8416 - 2A16

16. Add the following BCD numbers--- 1001 and 0100

17. How much time does a serial link of 64 Kbps take to transmit a picture with 540 pixels.


18. Give the output when the input of a D-flip flop is tied to the output through the XOR gate.


19. Simplify the expression AB + A( B + C ) + B ( B + C )


20. Determine the logic gate to implement the foolowing terms--ABC, A+B+C

21. Implement the NOR gate as an inverter.


22. What is the effect of temperature on the Icb in a transistor


23. What is the bit storage capacity of a ROM with a 512*4 organisation?


24. What is the reason of the refresh operation in dynamic RAM's  ?


25. Suppose that the D input of a flip flop changes from low to high in the middle of a clock pulse.Describe what happens if the flip flop is a positive edge triggered type?


26. How many flip flops are required to produce a divide by 32 device ?


27. An active HIGH input S-R latch has a 1 on the S input and a 0 on the R input. What state is the latch in?


28. Implement the logic equation Y = C^BA^ + CB^A + CBA with a multiplexer. (where C^ stands for C complement)


29.Equivalent Gray code reprasentation of AC2H.


30. What does a PLL consist of ?


SOFTWARE SECTION

1. The starting location of an array is 1000. If the array[1..5/...4] is stored in row major order, what is the location of element [4,3]. Each word occupies 4 bytes.


2. In a tertiary tree, which has three childs for every node, if the number of internal nodes are N, then the total number of leaf nodes are


3. Explain the term "locality of reference" ?


4. What is the language used for Artificial Intelligence

Ans: lisp


5. What is the character set used in JAVA 2.0 ?

Ans: Unicode


6. char a =0xAA ;
int b ;
b = (int) a ;
b = b >> 4 ;
printf("%x",b);

What is the output of the above program segment ?


7. struct s1 { struct { struct { int x; } s2 } s3 }y;
How does one access x in the above given structure definition  ?


8. Why there is no recursion in Fortran ?

Ans. There is no dynamic allocation.


9. What is the worst case complexity of Quick sort?

Ans. O(n2)


10. What will be sequence of operating system activities when an interrupt occurs ?


11. In a sequential search, what is the average number of comparisons it takes to search through n elements ?

Ans: (n+1)/2.


12. What is the size of the array declared as double * X[5] ?

Ans. 5 * sizeof ( double * )


13. A binary search tree with node information as 1,2,3,4,5,6,7,8 is given. Write the result obtained on preorder traversal of the binary search tree ?

Ans : 53124768


14. If size of the physical memory is 232-1, then what is the size of the virtual
memory ?


15. S -> A0B
A-> BB|0
B-> AA|1
How many strings of length 5 are possible with the above productions?


16. (3*4096+15*256+3*16+3). How many 1's are there in the binary representation of the result ?

Ans. 10


17. In memory mapped I/O how is I/O is accessed ?


18. What is the use of ALE in 8085 ?

Ans To latch the lower byte of the address.


19. If the logical memory of 8 X 1024 is mapped into 32 frames, then the number of bits for the logical address are____ ?

Ans. 13

20. Context free grammar is useful for which purpose ?


21. In ternary number representation, numbers are represented as 0,1,-1.(Here -1 is represented as 1 bar.) How is 352/9 represented in ternary number representation?


22. There are processes which take 4,1,8,1 machine cycles respectively. If these are executed in round robin fashion with a time quantum of 1, what is the time it take for process 4 to complete ?

Ans. 9


23. The minimum frequency of operation is specified for every processor because......
a)for interfacing slow peripherals
b)dynamic memory refreshing.
c)to make compatible with other processor.


24. For linked list implementation , which search is not applicable  ?

Ans: Binary search.


25. Each character is represented by 7 bits, 1 bit is used to represent error bit and another bit for parity. If total number of bits transmitted is 1200 bits, then what is the number of symbols that can be transmitted ?

Ans: 133


26. Explain set associativity of cache ?


27. Write the postfix form of the following expression .
A+[[(B+C)+(D+E)*F]/G]


28. What is the function of the linker?


29. void f(int y)
{
struct s *ptr;
ptr = malloc (sizeof (struct)+99*sizeof(int));
}

struct s{
int i;
float p;
};

when free (ptr) is executed, then what will happen?

30. To concatenate two linked lists strings, the order is O(1) is obtained for what kind of list? 8. A. Two vital facts must be understood.
B. The subconscious mind has the power to create.
C. The second is that it obeys the orders given to it by the conscious mind.
D. Its function is to bring to full expression whatever is desired by the conscious mind.<p>

(a)ABCD
(b) CBDA
(c) ADBC
(d) DBAC


9. A. But what is not often understood is that this flash is outcome of long periods of incubation.
B. The layman thinks that it is a spell of divine flash which illuminates the dark and the hidden.
C. True, it does.
D. Inspiration is much misunderstood term.

(a) DBAC
(b) ACBD
(c) DBCA
(d) CADB


10. A. As a result, the world has undergone a transformation.
B. Science and civilization have made rapid strides especially in recent times.
C. This constitutes the basic factor in the use of productive resources.
D. But behind all the progress of mankind is the human factor which is invaluable and irreplaceable.

(a) ABDC
(b) BADC
(c) DCAB
(d) CBDA


Directions for questions 11-20: Each problem contains a question and two statements giving certain data. You have to select the correct answer from (a) to (d) depending on the sufficiency of the data given in the statements to answer the question. Mark your answer as
(a) If statement (I) alone is sufficient.
(b) If statement (II) alone is sufficient.
(c) If both (I) and (II) together are sufficient but neither of statements alone is sufficient.
(d) Either of the statements (I) and (II) is sufficient.
(e) If statements (I) and (II) together are not sufficient.


11. What is the distance from City A to City C in kms?
(I) City A is 90 kms from City B.
(II) City B is 30 kms from City C.


12. Is z less than w? z and w are real numbers.
(I) z2 = 25
(II) w = 9


13. The value of an estate in January 1905 started gradually declining in such a way that at the end of each year it was worth only x times its value at the beginning of the year. What was its worth in end December 1910 ?
(I) It was worth Rs.10,109 in the end of December 1906.
(II)It was worth Rs.12,345 in the beginning of January 1905.


14. In an election, 3 candidates A,B and C were representing for a membership of parliament. How many votes did each receive?
(I) A received 1006 votes more than B and 1213 more votes than C.
(II) Total votes cast were 15,414.


15. John studies Chinese in a school. Which school does he attend?
(I) All students in Jefferson High school take French.
(II) Maysville High School offers only Chinese.


16. How many girls passed the entrance exam this year?
(I) Last year 560 girls passed
(II) This year there was a 10% decrease over last year in the number of failures.


17. What is Raju's age?
(I) Raju, Vimala and Kishore are all of the same age.
(II) Total age of Vimala, Kishore and Abishek is 32 and Abishek is as old as Vimala and Kishore together.


18. Is Sreedhar eligible for an entry pass to the company premisers?
(I) The company does not allow strangers to enter the company.
(II)All employees are elgible to get a pass.


19. Among five friends who is the tallest?
(I) D is taller than A and C.
(II)B is shorter than E but taller than D.


20. Can a democratic system operate without effective opposition?
(I) The opposition is indispensable.
(II) A good statesman always learns more from his opponents than from
his fervent supporters.


Directions for question 1-2 : Answer the questions based on the passage above them

A temple has 3 gateways, each of them is leading you into the temple, and at the end of each gateway there is an idol and as a devotee passes through the gateway with some flowers the number of flowers double. Ram enters the 1st gateway with some flowers and he puts same number of flowers at each idol and the end he is left with none.

21. How many flowers did Ram start with?

(a) 4
(b) 5
(c) 3
(d) 7


22. How many flowers does he put at each idol?

(a) 10
(b) 8
(c) 6
(d) 5

Directions for question 3-5 : Answer the questions based on the passage above them

Liz, Jenni, Jolie and Rick have an English final on Friday and they all would like to study together at least once before the test.
Liz can study only on Monday, Tuesday and Wednesday nights and Thursday afternoon and night.
Jenni can study only on Monday, Wednesday and Thursday nights and Tuesday afternoon and night.
Jolie can study only on Wednesday and Thursday nights, Tuesday afternoon and Monday afternoon and night.
Rick can study the afternoons and nights of Tuesday, Wednesday and Thursday, and on Monday afternoon.

23. If the group is to study twice, then the days could be
(a) Monday and Wednesday
(b) Tuesday and Thursday
(c) Wednesday and Thursday
(d) Monday and Friday
(e) Tuesday and Wednesday


24. If three of them tried to study together when all four couldn't
(a) this would be possible twice
(b) it would have to be on Wednesday night
(c) Rick could not attend the three person groups
(d) This could be accomplised on Monday and Tuesday only
(e) This would not be possible


25. If Liz decided to study every night,
(a) she would never be able to study with Rick
(b) she would never be able to study with Jolie
(c) she would have at least two study partners each night
(d) she would have to study alone on Monday night
(e) she would study with only Jenni on Thursday night


COMPUTER AWARENESS
NOTE: The questions are of multiple choice format in the paper

1. What is the number of functions of a three variable boolean function?

2. Which is the most commonly used replacement algorithm?
Ans. LRU

3. Which memory management technique involves dividing the memory into fixed sized blocks?
Ans. Paging

4. What is video resolution ?

5. The processing speed of a microprocessor depends on _____?
Ans. data bus width


C TEST
NOTE: The questions are of multiple choice format in the paper

1. What is the output of the program given below

#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
}


2. What is the output of the following program

#include<stdio.h>
main()
{
int i=0;
fork();
printf("%d",i++);
fork();
printf("%d",i++);
fork();
wait();
}


3. What is the memory allocated by the following definition ?
int (*x)[10];


4. What is the memory allocated by the following definition ?
int (*x)();


5. In the following program segment

#include<stdio.h>
main()
{
int a=2;
int b=9;
int c=1;
while(b)
{
if(odd(b))
c=c*a;
a=a*a;
b=b/2;
}
printf("%d\n",c);
}

How many times is c=c*a calculated?


6. In the program segment in question 5 what is the value of a at the end of the while loop?


7. What is the output for the program given below

typedef enum grade{GOOD,BAD,WORST,}BAD;
main()
{
BAD g1;
g1=1;
printf("%d",g1);
}


8. Give the output for the following program.

#define STYLE1 char
main()
{
typedef char STYLE2;
STYLE1 x;
STYLE2 y;
clrscr();
x=255;
y=255;
printf("%d %d\n",x,y);
}


9. Give the output for the following program segment.

#ifdef TRUE
int I=0;
#endif

main()
{
int j=0;
printf("%d %d\n",i,j);
}


10. In the following program

#include<stdio.h>
main()
{
char *pDestn,*pSource="I Love You Daddy";
pDestn=malloc(strlen(pSource));
strcpy(pDestn,pSource);
printf("%s",pDestn);
free(pDestn);
}

(a)Free() fails
(b)Strcpy() fails
(c)prints I love You Daddy
(d)error


11. What is the output for the following program

#include<stdio.h>
main()
{
char a[5][5],flag;
a[0][0]='A';
flag=((a==*a)&&(*a==a[0]));
printf("%d\n",flag);
}

Personal tools