Get Off-Campus Placement Jobs Info !!!
Programs asked in Mettl Coding Round
Click To Practce List of Programs asked in Nagarro !!!

# Cisco Placement Questions & Answers :: Cisco

55.71K

## Total Qs: 119+

NA
SHSTTON
73
Solv. Corr.
30
Solv. In. Corr.
103
Attempted
0 M:0 S
Avg. Time

81 / 119

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
53
Solv. Corr.
33
Solv. In. Corr.
86
Attempted
0 M:0 S
Avg. Time

82 / 119

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
104
Solv. Corr.
53
Solv. In. Corr.
157
Attempted
0 M:0 S
Avg. Time

83 / 119

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
68
Solv. Corr.
16
Solv. In. Corr.
84
Attempted
0 M:0 S
Avg. Time

84 / 119

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
55
Solv. Corr.
35
Solv. In. Corr.
90
Attempted
0 M:0 S
Avg. Time

85 / 119

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
46
Solv. Corr.
32
Solv. In. Corr.
78
Attempted
0 M:0 S
Avg. Time

86 / 119

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
27
Solv. Corr.
51
Solv. In. Corr.
78
Attempted
0 M:0 S
Avg. Time

87 / 119

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
54
Solv. Corr.
21
Solv. In. Corr.
75
Attempted
0 M:0 S
Avg. Time

88 / 119

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
48
Solv. Corr.
37
Solv. In. Corr.
85
Attempted
0 M:0 S
Avg. Time

89 / 119

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
36
Solv. Corr.
55
Solv. In. Corr.
91
Attempted
5 M:13 S
Avg. Time

90 / 119

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 |

Explanation:

Here is no explanation for this answer 