Take FREE!! Online Cocubes Mock Test to Crack various Companies Written Exams.
Practice List of Paytm Coding Questions !!!
Take 30+ FREE!! Online Arithmetic Aptitude Mock test to crack any Exams.

# Cisco Placement Questions & Answers :: Cisco

78.93K

## Total Qs: 122+

NA
SHSTTON
96
Solv. Corr.
42
Solv. In. Corr.
138
Attempted
0 M:0 S
Avg. Time

81 / 122

func()
{
int x=1;
if(x=1)
x=1000;
else
x=10;
return x;
}
What is the return value?

A1

B10

C1000

DError

| | Topic: | Asked In Cisco |

Explanation:

Here is no explanation for this answer

Tags: Cisco

NA
SHSTTON
67
Solv. Corr.
56
Solv. In. Corr.
123
Attempted
0 M:0 S
Avg. Time

82 / 122

Find the output for the following C program
#include<stdio.h>
int main()
{
int i=20,j,k=0;
for(j=1;j >i;j++)
{
k+=j<10?4:3;

}
printf("%d", k);
}

A5

B0

C10

D6

EError

| | Topic: | Asked In Cisco |

Explanation:

Here is no explanation for this answer

Tags: Cisco

NA
SHSTTON
135
Solv. Corr.
73
Solv. In. Corr.
208
Attempted
0 M:0 S
Avg. Time

83 / 122

Find the output for the following C program

#include
int i = 10;
int main()
{
int i =20,n;
for(n=0;n<=i;)
{
int i=10;
i++;
}
printf("%d k", i);
}

A10

B20

CStack overflow

D0

| | Topic: | Asked In |

Explanation:

Here is no explanation for this answer

NA
SHSTTON
86
Solv. Corr.
24
Solv. In. Corr.
110
Attempted
0 M:0 S
Avg. Time

84 / 122

Choose the correct option.

Type duplicates of a row in a table customer with non uniform key field customer number you can see

ADelete from costomer where customer number exists( select distinct customer number from customer having count )

BDelete customer a where customer number in b rowid

CDelete customer a where custermor number in( select customer number from customer a, customer b )

DNone of the above

| | Topic: | Asked In Cisco |

Explanation:

Here is no explanation for this answer

Tags: Cisco

NA
SHSTTON
74
Solv. Corr.
51
Solv. In. Corr.
125
Attempted
0 M:0 S
Avg. Time

85 / 122

Choose the correct option.

There is an employer table with key fields as employer number data in every n'th row are needed for a simple following queries will get required results.

ASelect A employee number from employee A , where exists from employee B where A employee no. = B employee having (count(*) mod n)=0

Bselect employee number from employe A, employe B where A employe number=B employ number group by employee number having(count(*) mod n=0 )

CBoth (a) & (b)

DNone of the above

| | Topic: | Asked In |

Explanation:

Here is no explanation for this answer

NA
SHSTTON
55
Solv. Corr.
43
Solv. In. Corr.
98
Attempted
0 M:0 S
Avg. Time

86 / 122

The UNIX shell

Adoes not come with the rest of the system

Bforms the interface between the user and the kernal

Cdoes not give any scope for programming

Ddeos not allow calling one program from with in another

Eall of the above

| | Topic: Uncategorized| Asked In Cisco |

Explanation:

Here is no explanation for this answer

Tags: Cisco

NA
SHSTTON
35
Solv. Corr.
64
Solv. In. Corr.
99
Attempted
0 M:0 S
Avg. Time

87 / 122

The redirection operators > and >>

Bdiffer : > overwrites, while >> appends

Cdiffer : > is used for input while >> is used for output

Ddiffer : > write to any file while >> write only to standard output

ENone of these

| | Topic: Uncategorized| Asked In Cisco |

Explanation:

Here is no explanation for this answer

Tags: Cisco

NA
SHSTTON
71
Solv. Corr.
29
Solv. In. Corr.
100
Attempted
0 M:0 S
Avg. Time

88 / 122

Choose the correct option.

Four concentric circles are given .The radius of 1st circle is x.next is 2x,then 3x and 4x. Given that area between 2nd and 1st is A and 4th and 3rd circles being B. Find ratio of A to B

A3:7

B7:3

C3:5

DNone of these

| | Important Formulas | Topic: | Asked In Cisco |

Explanation:

Area of first circle = pi*(x)^2 = pi*x^2
Area of second circle = pi*(2x)^2 = 4*pi*x^2
Area of third circle = pi*(3x)^2 = 9*pi*x^2
Area of fourth circle = pi*(4x)^2 = 16*pi*x^2
Area b/w 1st and 2nd circles = 3*pi*x^2
Area b/w 3rd and 4th circles = 7*pi*x^2
So, Ratio = 3:7

Tags: Cisco

NA
SHSTTON
56
Solv. Corr.
50
Solv. In. Corr.
106
Attempted
0 M:0 S
Avg. Time

89 / 122

Choose the correct option.

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

A9/16

B5/2

C3/16

DNone of these

| | Important Formulas | Topic: | Asked In Cisco |

Explanation:

The line DE divides the triangle ABC into 2 parts - triangle ADE and trapezium DBCE.The question is to find the ratio of area(ADE) to area(DBCE).

Now triangle ADE is similar to triangle ABC.
=> DE/BC = AD/AB = AE/AC ....(1)
Drawing a perpendicular from A to BC meeting BC at G and meeting DE at F.
Now AF and AG are the heights of the triangles ADE and ABC resp.
Area of a triangle = 1/2(base*height).
Area of tri(ABC) = 1/2(BC*AG)
Area of trapezium(DBCE) = area(ABC)-area(ADE) = 1/2(BC*AG-DE*AF)
Ratio - area(ADE)/area(DBCE) = (DE*AF)/(BC*AG-DE*AF) = 1/[(BC*AG-DE*AF)/(DE*AF)]
(rearranging) = 1/[(BC/DE)*(AG/AF)-1]
Using (1) and (2),(BC/DE)*(AG/AF) = (BC/DE)^2
(using given DE/BC=3/5) => BC/DE=5/3 => (BC/DE)^2 = 25/9
The required ratio = 1/(25/9-1) =1/(16/9) = 9/16

Tags: Cisco

NA
SHSTTON
49
Solv. Corr.
77
Solv. In. Corr.
126
Attempted
5 M:13 S
Avg. Time

90 / 122

Choose the correct option.

A company contracts to paint 3 houses. Mr.Brown can paint a house in 6 days while Mr.Black would take 8 days and Mr.Blue 12 days. After 8 days Mr.Brown goes on vacation and Mr. Black begins to work for a period of 6 days. How many days will it take Mr.Blue to complete the contract?

A7

B8

C11

D12

| | Important Formulas | Topic: | Asked In |