STM 1
STM 1
CHETANASINTERVIEW - http://www.chetanasinterview.com
ST MICROELECTRONICS PAPER - 29 AUG 2007
http://www.chetanasinterview.com/articles/3006/1/ST-MICROELECTRONICS-PAPER---29-AUG-2007/Page1.html
By Chetana S Chetana S
Published on 9/10/2007 This is Chetana,
owner of the
------------------------------------------------------------- World's Biggest
Company Name: ST MICROELECTRONICS Job Group
Test/Interview Location: THAPAR UNIVERSITY
"CHETANA-JOBS".
Date of Test/Interview: 29 AUG 2007
Category: FRESHERS
-------------------------------------------------------------
Neha Here. This was the paper of ST Microelectronics held at Thapar University on 29 August, 2007
I had given paper of embedded software so I am giving its details. Paper had two part:
1. 1 marks questions (10 questions of aptitude and 10 questions on OS, Microprocessor and DS)
2. 2 marks questions on C (15 questions)
1. There is pipe with given radius, a small pipe of given radius. How many pipes of smaller radius will
contain the same quantity of liquid kept by larger radius tube?
2. A ladder is standing against a wall of 25m height at a distance of 7 km from wall. Suddenly Ladder
slips 4m down from top. How much will it move from the earlier 7m distance from the wall?
3. A person likes 225 not 224, like 900 not 800, from given vat will he like..1600, 1500.. (Answer is
simply ny given square term(1600)..c pattern of his liking
4. Three co-ordinates of triangle was given.. we had too find type of triangle it is..
5. A square is cut from a circle and a circle is cut from that square..how much area is remaining ...
6. In equilateral triangle a circle is drawn. In that circle one square is drawn. Find the ratio of area
of equilateral triangle to square?
1. Int *p;
P=(int *p)malloc(100);
Wat is sizeof(p),sizeof(*p)
http://www.ChetanaS.org
2. A question on find the worst case complexity of Quick Sort (ans :O(n2))
1 of 3 7/9/2008 8:36 PM
http://www.chetanasinterview.com/articles/3006/1/ST-MICROELEC...
2 marks questions..
3. #pragma pack(1)
Struct a
{
Int a:4;
Int b:45;
Char c;
}
What is the size of struct if int is of four bytes.
Ans is 5
5.int i=90;
Char *p;
P=(char *)&i ;
P++;
Pointer is I ncremented by 2,1,4 or none of these
7. char str={"neha");
printf("hello \n" %s" \n",str);
output : ?
9. One question on memory acces time of a program with given hit ratio and given cache access
time.. (revise the formula from OS)
2 of 3 7/9/2008 8:36 PM
http://www.chetanasinterview.com/articles/3006/1/ST-MICROELEC...
If( *p==*t)
Printf("yes");
Else
Printf("no");
Tell the o/p.
3 of 3 7/9/2008 8:36 PM