Vous êtes sur la page 1sur 7

Interview @ - Real job interviews, real people, Search

real experiences
LG Soft
Industry:
 Tech
LG Soft India (LGSI) is the software services arm of the US $ 90 billion
LG Group. US based insurance giant American International Group (AIG)
has also invested in LGSI as a VC, giving LGSI a strong parentage and a
global outlook. Established by LG in 1996 as a software R&D lab, LGSI
today is an SEI CMM Level 5 and an ISO 9001 (2000) certified global
software services provider with clients across the US, Europe and Asia
Pacific. Based in Bangalore, LGSI has two offshore development centers
in India, as well as offices in San Jose, London and Seoul.
Click to read more about interview at LG Soft
One Response to “LG Soft”
Pramod went through a job interview and said:
LG Soft India Placement Paper and Sample Paper
Extracts From the Original Paper.. !!
Instructions:
1. Please ignore any case-sensitive errors and un-included libraries.
2. You may use the back of this question paper for any rough work.
Q1.
main()
{
int i;
printf(”%d”, &i)+1;
scanf(”%d”, i)-1;
}
a. Runtime error.
b. Runtime error. Access violation.
c. Compile error. Illegal syntax
d. None of the above
Ans b
Q2.
main(int argc, char *argv[])
{
(main && argc) ? main(argc-1, NULL) : return 0;
}
a. Runtime error.
b. Compile error. Illegal syntax
c. Gets into Infinite loop
d. None of the above
Q3.
main()
{
int i;
float *pf;
pf = (float *)&i;
*pf = 100.00;
printf(”%d”, i);
}
a. Runtime error.
b. 100
c. Some Integer not 100
d. None of the above
Q4.
main()
{
int i = 0xff;
printf(”%d”, ipName,”Your Name”);
printf(”%s”, obj->pName);
}
a. ?Your Name?
b. compile error
c. ?Name?
d. Runtime error
Q16.
struct Foo
{
char *pName;
char *pAddress;
};
main()
{
struct Foo *obj = malloc(sizeof(struct Foo));
obj->pName = malloc(100);
obj->pAddress = malloc(100);
strcpy(obj->pName,”Your Name”);
strcpy(obj->pAddress, “Your Address”);
free(obj);
printf(”%s”, obj->pName);
printf(”%s”, obj->pAddress);
}
a. ?Your Name?, ?Your Address?
b. ?Your Address?, ?Your Address?
c. ?Your Name? ?Your Name?
d. None of the above
Q17.
main()
{
char *a = “Hello “;
char *b = “World”;
printf(”%s”, stract(a,b));
}
a. ?Hello?
b. ?Hello World?
c. ?HelloWorld?
d. None of the above
ANS: c
Q18.
main()
{
char *a = “Hello “;
char *b = “World”;
printf(”%s”, strcpy(a,b));
}
a. ?Hello?
b. ?Hello World?
c. ?HelloWorld?
d. None of the above
ANS : World
Q19.
void func1(int (*a)[10])
{
printf(”Ok it works”);
}
void func2(int a[][10])
{
printf(”Will this work?”);
}
main()
{
int a[10][10];
func1(a);
func2(a);
}
a. ?Ok it works?
b. ?Will this work??
c. ?Ok it works Will this work??
d. None of the above
Q20.
main()
{
printf(”%d, %d”, sizeof(’c'), sizeof(100));
}
a. 2, 2
b. 2, 100
c. 4, 100
d. 4, 4
ANS 1,2

Q21.
main()
{
int i = 100;
printf(”%d”, sizeof(sizeof(i)));
}
a. 2
b. 100
c. 4
d. none of the above
ANS : a 2

Q22.
main()
{
int c = 5;
printf(”%d”, main|c);
}
a. 1
b. 5
c. 0
d. none of the above
Q23.
main()
{
char c;
int i = 456;
c = i;
printf(”%d”, c);
}
a. 456
b. -456
c. random number
d. none of the above
ANS; if c is unsigned then c = 200. If c is signed then c = -56
Q24.
void main ()
{
int x = 10;
printf (”x = %d, y = %d”, x,–x++);
}
a. 10, 10
b. 10, 9
c. 10, 11
d. none of the above
ANS : 11, -10
Q25.
main()
{
int i =10, j = 20;
printf(”%d, %d\n”, -j , –i);
printf(”%d, %d\n”, j++ , ++i);
}
a. 20, 10, 20, 10
b. 20, 9, 20, 10
c. 20, 9, 19, 10
d. 19, 9, 20, 10
ANS : -20, -10,21,11

Q26.
main()
{
int x=5;
for(;x==0;x–) {
printf(?x=%d\n?, x–);
}
}
a. 4, 3, 2, 1, 0
b. 1, 2, 3, 4, 5
c. 0, 1, 2, 3, 4
d. none of the above
ANS : d

Q27
main()
{
int x=5;
for(;x!=0;x–) {
printf(?x=%d\n?, x–);
}
}
a. 5, 4, 3, 2,1
b. 4, 3, 2, 1, 0
c. 5, 3, 1
d. none of the above
ANS a
Q28
main()
{
int x=5;
for(;x> (i - (i -1))));
}
}
a. 512, 256, 128, 64, 32
b. 256, 128, 64, 32, 16
c. 128, 64, 32, 16, 8
d. 64, 32, 16, 8, 4
Q32.
main()
{
signed int bit=512, i=5;
for(;i;i–)
{
printf(”%d\n”, bit >> (i - (i -1)));
}
}
a. 512, 256, 0, 0, 0
b. 256, 256, 0, 0, 0
c. 512, 512, 512, 512, 512
d. 256, 256, 256, 256, 256
Q33.
main()
{
if (!(1&&0))
{
printf(”OK I am done.”);
}
else
{
printf(?OK I am gone.?);
}
}
a. OK I am done
b. OK I am gone
c. compile error
d. none of the above
Q34
main()
{
if ((1||0) && (0||1))
{
printf(”OK I am done.”);
}
else
{
printf(?OK I am gone.?);
}
}
a. OK I am done
b. OK I am gone
c. compile error
d. none of the above
Q35
main()
{
signed int bit=512, mBit;
{
mBit = ~bit;
bit = bit & ~bit ;
printf(”%d %d”, bit, mBit);
}
}
a. 0, 0
b. 0, 513
c. 512, 0
d. 0, -513
Job central for LG Soft
 LG Soft resume samples - successful resumes and CVs submitted to LG Soft.
 LG Soft openings and current opportunities - new openings with LG Soft for
experienced professionals and fresh college graduates.
 LG Soft blogs - see if any current employees of LG Soft are blogging and what
they are writing.
 LG Soft employee benefits - Free drinks? Good coffee? Excellent health care?
Dental coverage for the spouse? Find out about LG Soft employee benefits and
how much LG Soft charges for them
 LG Soft interview questions - questions asked on LG Soft job interviews
 LG Soft news and tips - latest news about the LG Soft from various sources.
Most popular employers
Infosys (101), Caritor (82), Cognizant (77), Patni (63), Accenture (50), Satyam (47),
Wipro (45), Oracle (36), Kanbay (36), Larsen & Toubro (31), TCS (30), Syntel (29),
IBM (27), Virtusa (20), Sasken Communication (18), Mindtree Consulting (17), Verizon
(17), CTS (16), HCL (16), Sapient (16), Hexaware (15), Hewlett Packard (15), Microsoft
(14), MBT (14), Sutherland Global Services (13), ICICI Bank (12), iGate Global (11),
Robert Bosch (11), Tata Infotech (10), Flextronics International (10), GrapeCity (10),
TCGIvega (10), Ocwen (10), Sonata Software (9), I-Flex (9), iNautix (9), OnMobile (9),
Adobe Systems (9), Xansa (9), Siemens (8), Covansys (8), Zensar (8), Birlasoft (8),
HSBC (8), Persistent (7), Mittal Steel (7), SAP (6), D. E. Shaw India Software (6),

Vous aimerez peut-être aussi