Cisco Placement Question Papers




Cisco Placement Question Papers

Filed under:

Cisco Placement Question Papers

Sample Question Paper

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 work occupies 4 bytes.

2. If the number of leaves in a binary tree are N, then the total number of internal nodes……..(Assume complete binary tree)
ANS: N-1

3. The locality of reference means………….

4. If two ausigned 8 bit numbers are multiplied what is the memory space required……………

5. The vector address of RST 7.5 is …………
ANS: 003C (multiply 7.5 by 8 and convert to hex)

6. int b = 0xAA;
b>>4;
printf("%x",b);
What is the output of the above program….

7. struct s1 { struct { struct {int x;}s2}s3}y;
How to access x? ANS: y.s3.s2.x

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(n^2)

10. Quick sort uses…………..
Ans: Divide and conquer

11. In a sequential search, the time it takes to search through n elements is

12. What is the size of the array declared as double * X[5]
ANS: 5* sizeof (double *)

13. A binary search tree is given and asked to write the preorder traversal result.

14. If size of the physical memory is 2^32-1, then the size of 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 I/O is accessed………….
ANS: Just like a memory location (Means, I/O devices can be accessed using the instructions like mov A,M etc…)

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 ……
ANS: 13

20. Context free grammar is useful for…
ANS: If-then structures.

21. In ternary number representation, numbers are represented as 0,1,-1. Here -1 is represented as - (1 bar). Then how is 352/9 represented……

22. There are processors which take 4,1,8,1 machine cycles respectively. If these are executed in round robin fashion with a time quantum of 4, 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……

24. In memory mapped I/O, what will happen if a device is identified with a 16 bit address and enabled by memory related control signals…..

25. The reason for preferring CMOS over NMOS is….
Ans: Low power consumption.

26. Two binary numbers A,B are given and asked to find out A-B.

27. 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 1200bits, then number of symbols that can be transmitted…….

28. One question about the setassociativity of cache..

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

30. What is the function of the linker……

31. 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??

system concepts:

1. int a[5,6]
how much memory will be allocated

2. char p[6];
char *d[10];
ans:d=(char*)p

3. using LFU algorithm,how many page faults will occur of the pages r
1,2,1,3,4.
ans:1,4

4. in which layer the bridges r used.
a)data link layer
b)session layer
c)physical layer
d)network layer

5. #define d 10+10
main()
{ printf("%d",d*d);
}

6. in a complete binary tree if the number of levels r 4 then the number of
nodes will be,

7. if we delete a node from a balanced binary tree,how can we retain the
properties of balanced binary tree.
ans: by rotation at the nodes.

8. in a k-way search tree with N keys, the number of node/no. of leaves=

9. s->A0B
A->BB|1
B->AA|0
how many string can be constructed with length 5.

10. in which of the following regular expression the srting contains
atleast 2 concetive 1’s.
ans:(0+10)*||(0+1)*

11. int i,j=1;
for(i=0;i<10;i++);
{
j=j+1;
}
printf("%d %d",i,j);
ans:10 11

12. static char *i;
i=malloc(sizeof(char));
find the error;
ans:malloc returns void

13. virtual memory address capacity depends on–

14. main()
{ int i=1;
fork();
fork();
fork();
printf("%d",i);
}
how many times i will be printed
ans:8

15. question on threads

16. int i=0xaa
char *p;
p=(char *)i;
p=p>>4;
printf("%x",p);
ans:0x000000a;

17. union
{ char *p;
int i;
char b;
}
main()
{

p=(char*)malloc(8*sizeof(char));
}
what is the size of union?

18. enum{sunday=-1,monday,…saturday}
printf("%d %d",sizeof(wednesday),wednesday);

19. struct x{
struct{
struct{
char ch;
} x;
}};
ans:definition wrong

20. struct *s;
s=(struct *)malloc(10*sizeof(struct)+90*sizeof(int));
free(s);
ans:total memory deallocated

21. one alogrithm is given:
ans:10395

22. func()
{ int x=1;
if(x=1)
x=1000;
else
x=10;

return x;
}
what is the return value?
ans:1000

Cisco Placement Question Papers

Filed under:

Cisco Placement Question Papers

SECTION 1 – 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 synchronous 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 memory size required to store 4 minutes voice signal?

8. What will the controller do before interrupting CPU?

9. In a normalized 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 representation 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. How much time does a serial link of 64 Kbps take to transmit a picture with 540 pixels.

20. Give the output when the input of a D-flip flop is tied to the output through the XOR gate
Implement the NOR gate as an inverter.

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

22. What is the bit storage capacity of a ROM with a 512*4 organization?

23. What is the reason of the refresh operation in dynamic RAM’s ?

24. 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?

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

26. 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?

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

28. Equivalent Gray code representation of AC2H.

29. What does a PLL consist of ?

II - 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 ?

Cisco Placement Question Papers

Filed under:

Cisco Placement Question Papers

Some Sample questions (m.tech.)

1. On cmos power( formula- P=CV*Vf

2. Lowest noise margin in which logic family–
a) TTL b) CMOS c) biCMOS d) all have same

3. If CMOS has tr(rise time)=tf.find Wp/Wn. given beta(n)=2*beta(p)

4. gm of a transistor is proportional to
a)Ic b)Vt c)1/Vt d)none

5. If A and B are given in 2’s complement find A-B in decimal.

6. Set up time,hold time ,clock to Q delay time (very important)

7.3 questions on opamp (transfer function)(2 marks each)

8. 2 questions on sequence detector (2 marks each)

9. Logic function boolean expressions(true/false) (3 question-1 mark each)probabily all false

10. In I/O mapped how do you represent memory(1 mark)

11. The design of FSM(finite state machine) will–
a) increase time of design
b) increase delay
c) increase power
d) all of the above

12. K-map minimization

13. Phase locked loop(PLL) 1 question sachin

Cisco Placement Question Papers

Filed under:

Cisco Placement Question Papers

analytical questions

1. find perimeter of a trapezium wit 3 sides given and distance b/w parallel sides given…

2. A triangle ABC is given, a line DE is paralel to base side and that cuts the triangle.. the ratio of area of triangle to the area of trapezium .given DE/BC=3/5..

3. four concentric circles r given .the radius of 1st circle is x.next is 2x,then 3x and 4x. given that area b/w 2nd and 1st is A and 4th and 3rd circles being B.find ratio of A to B

4. difference b/w the perimeteres of two concentric circles is 66.find the difference b/w radius..
ans 10.5

5. 3/p=6,3/q=15……find p-q

Technical questions…..

6. #define clrscr() 100
main()
{
clrscr();
printf("%d",clrscr());
}

7. which of the followin is used for avoidin network congestion
bufferin
cachin
sourcequench
all of de above

8. main()
{
int a;
printf("%d",scanf(%d,&a));
}
wats o/p of this pgm..wat will b printed
ans :0

9. main()
{
printf("as");
printf("bhi");
printf("isn");
} wat will b printed.

10. main()
{
unsigned short a=-1;
unsigned char b=a;
printf("%d %d “,a,b);
}
wat is o/p of the program
a. 65535 -1
b. 65535 65535
c. -1 -1

11. arrays base address is 1000….array is a[5][4]..then wat is de
correct address of a[4][3]…
ans:1056

12. one packet is 64bytes..no of pkts send is 16000..then total no of bytes send is
ans 1024000

13. #define maxval 5
int main (void)
{
int i=1;
if(i-maxval)
{
printf("inside");
}
else
{
printf("out");
}
find o/p???

14. #define a 3+3
#define b 11-3
main()
{
printf("%d",a*b);
}
wat is o/p?????

15. A question in which segment address is given ..logical address is 800..base addresses also given ..u hav 2 find physical address..

16. There was a question on processor speed in nanocycles..then it performs a instruction in x cycles..dont remember

17. main()
{
int *i;
int s=(int *)malloc(10*sizeof(int));
for (i=0;i<10;i++)
{
printf("%d",i*i)
}
wats o/p

  • Resources