Home »» Placement Papers »» All Papers »» SIEMENS »» Placement Paper

### cummins-college-of-engineering-18-jul-2012

Siemens Placement papers 2012

1.270 candidate appear for an examination, of which 252 passed. The pass percentage is :
a)80%
b)83 1/2%
c)90 1/3%
d)93 1/3%
Ans:d
2. 0.01 is what the percentage of 0.1?
a)1/100
b)1/10
c)10
d)100
Ans:c
3) A student has to obtin 33% of the total marks to pass. He got 125 marks and failed by 40 marks. The maximum marks are:
a)300
b)500
c)800
d)1000
Ans:b
4)In a queue of children, Aashish is fifth from the left and Meena is 6th from the right. When they interchange their places among themselves, Aashish become thirteenth from the left. Then what will be Meena’s position from the right?
Ans:14th
5) 6 years back, Rom and Dom had their ages in the ratio 1:2. 6 years from now the ratio of their ages would be 3:4. What is the ratio of their ages today?
6) The primeter of a square is 128 square metre. What is it's area?
7)Find the number from the below list such that 320 is greater than 43% of the number.
747, 749, 744, 745
8)Two numbers are in the ratio 2:3. If 6 is added to both, the ratio changes to 3:4. What is the smaller number?
9)A boy bought a roll A of 56 inches wide and 141 yards long. He also bought B of 77 inches wide of length 333yards. Time taken for cutting A into 1 yard piece is 2 seconds. Time taken to cut into 141 pieces of 1 yard each is?
10) A Person buys a horse for 15 pounds, after one year he sells it for 20 pounds. After one year, again he buys the same horse at 30 pounds and sells it for 40 pounds. What is the profit for that person?
11)John buys a cycle for 31 dollars and given a cheque of amount 35 dollars. Shop Keeper exchanged the cheque with his neighbor and gave change to John. After 2 days, it is known that cheque is             bounced. Shop keeper paid the amount to his neighbor. The cost price of cycle is 19 dollars. What is the profit/loss for shop keeper?
12) In a family there are some boys and girls. All boys told that they are having equal no of brothers and sisters and girls told that they are having twice the no. of brothers than sisters. How many boys and       girls present in a family?
13) There are certain number of hats and gloves in a box. They are of 41 red, 23 green, 11 orange. Power gone. But a woman can differentiate between hats and gloves. How many draws are required to         obtain a pair of each color.
14) 2 years ago of A is x times that of B. 3 Years hence the age of A is 4/3 times of B. What is the present age of B in binary form? (Value of x & y will be given)
15) metal strip of width ‘x’ cm. 2 metal strips are placed one over the other, then the combine length of 2 strips is ‘y’. If ‘z’ strips are placed in that manner. What is the final width of that arrangement?
16) There are 100 men and 100 women on the dance floor. They want to dance with each other. Then which of the following statements is always true:
a) There are 2 men who danced with equal no. of women’s
b) There are 2 women who danced with equal no. of men
17) A game is played between 2 players and one player is declared as winner. All the winners from first round are played in second round. All the winners from second round are played in third round and so      on. If 8 rounds are played to declare only one player as winner, how many players are played in first round?
18) There are 3 boys A, B, C and 2 Girls D, E. D always sit right to A. Girls never sit in extreme positions and in the middle position. C always sits in the extreme positions. Who is sitting immediate right to E?

19)15. Out of 10 white, 9 black and 7 red balls, in how many ways can we select one or more balls
a) 234
b) 52
c) 630
d) 879
Ans. (d)
20) A and B throw a dice. The probability that A s throw is not greater than B s is
a) 5/12
b) 7/12
c) 11/12
d) 5/36
Ans. (b)

1)which of following operator can't be overloaded.
a)== b)++ c)?! d)<=
2)#include<iostream.h>
main()
{
printf("Hello World");
}
the program prints Hello World without changing main() the o/p should
be
intialisation
Hello World
Desruct
the changes should be
a)iostream operator<<(iostream os, char*s)
os<<'intialisation'<<(Hello World)<<Destruct
b) c) d)none of the above
3)CDPATH shell variable is in(c-shell)
a) b) c) d)
4) term stickily bit is related to a)kernel
b)undeletable file
c) d)none
5)semaphore variable is different from ordinary variable by
6)swap(int x,y)
{
int temp;
temp=x;
x=y;
y=temp;
}
main()
{
int x=2;y=3;
swap(x,y);
}
after calling swap ,what are yhe values x&y?
7) static variable will be visible in
a)fn. in which they are defined
b)module " " " "
c)all the program
d)none
8) Unix system is
a)multi processing
b)multi processing, multiuser
9)x.25 protocol encapsulates the follwing layers
a)network
c)physical
d)all of the above
e)none of the above
10)TCP/IP can work on
a)ethernet
b)tokenring
c)a&b
d)none
11)a node has the ip address 138.50.10.7 and 138.50.10.9.But it is
transmitting data from node1 to node2only. The reason may be
a)a node cannot have more than one address
b)class A should have second octet different
c)classB " " " " "
d)a,b,c 12) the OSI layer from bottom to top
13)for an application which exceeds 64k the memory model should be
a)medium
b)huge
c)large
d)none
14)the condition required for dead lock in unix sustem is
15)set-user-id is related to (in unix)
16) bourne shell has
a)history record
b)
c)
d)
a)code removably
b)encapsulation of data and code
c)program easy maintenance
d)program runs faster
18)struct base {int a,b;
base();
int virtual function1();
}
struct derv1:base{
int b,c,d;
derv1()
int virtual function1();
}
struct derv2 : base
{int a,e;
}
base::base()
{
a=2;b=3;
}
derv1::derv1(){
b=5;
c=10;d=11;}
base::function1()
{return(100);
}
derv1::function1()
{
return(200);
}
main()
base ba;
derv1 d1,d2;
printf("%d %d",d1.a,d1.b)
o/p is
a)a=2;b=3;
b)a=3; b=2;
c)a=5; b=10;
d)none
19) for the above program answer the following q's
main()
base da;
derv1 d1;
derv2 d2;
printf("%d %d %d",da.function1(),d1.function1(),d2.function1());
o/p is
a)100,200,200;
b)200,100,200;
c)200,200,100;
d)none
20)struct {
int x;
int y;
}abc;
you can not access x by the following
1)abc-->x;
2)abc[0]-->x;
abc.x;
(abc)-->x;
a)1,2,3
b)2&3
c)1&2
d)1,3,4
21) automatic variables are destroyed after fn. ends because
a)stored in swap
b)stored in stack and poped out after fn. returns
c)stored in data area
d)stored in disk
22) relation between x-application and x-server (x-win)
23)UIL(user interface language) (x-win)
24)which is right in ms-windows
a)application has single qvalue system has multiple qvalue
b) " multiple " " single "
c)" " " multiple "
d)none
25) widget in x-windows is
27)variable DESTDIR in make program is accessed as
a)$(DESTDIR) b)${DESTDIR}
c)DESTDIR
d)DESTDIR
28)the keystroke mouse entrie are interpreted in ms windows as
a)interrupt
b)message
c)event
d)none of the above
29)link between program and out side world (ms -win)
a)device driver and hardware disk
b)application and device driver
c)application and hardware device
d)none
30)ms -windows is
b) c) d)
31)dynimic scoping is
32) after logout the process still runs in the background by giving
the command
a)nohop
b)
33)process dies out but still waita
a)exit
b)wakeup
c)zombie
d)steep
34)in dynamic memory allocation we use
c)B trees
d)L trees
e)none
35)to find the key of search the data structure is
b)trees
d)records
36)data base
--------------------------
--------------------------------
employ_code salary employ_code leave
---------------------------
----------------------------------
from to

--------------------------------------
1236 1500 1238 --- ---
1237 2000 1238 --- ---
1238 2500 1237 ---
-----
1237 --- ---
1237 --- ---
1237 --- ---
--------------------------
--------------------------------------
select employ_code,employ_data ,leave
the number of rows in the o/p
a)18
b)6
c)7
d)3
37)DBMS