Campus Placements
The IT industry requires about a million professionals in the next 3-4 years. On the other hand, according to a recent study conducted by NASSCOM and McKinsey, about 75% of engineering graduates in the country are unemployable. Also, it is a fact that about 5% of fresh professionals fail to go beyond their induction training in the software development organizations.
Here is a great place from where you can get questions that are asked in technical interviews, company selection exams, tips related to Campus Placements, Resume Writing Tips & Tricks.
Its a must have resource for all the buddying Engineers, MCA's & so on. All the topmost MNCs like TCS, Infosys, Wipro, Google etc. have been covered.
Click here to move to the amazing site (http://placementhunt.blogspot.com)
Here's another good site (http://www.infopod.sitebooth.com/placement.html)
main()
{char s[]={'a','b','c','\n','c','\0'};
char *p,*str,*str1;
p=&s[3];
str=p;
str1=s;
printf("%d",++*p+++*str1-32);
}
Solution:: 76
Problem 2::
#define int char
main()
{int i=65;
printf("sizeof(i)=%d",sizeof(i));
}
Solution:: 1
Problem 3::
main()
{printf("Hello%d",printf("Mock Test?"));
}
Solution:: Mock Test?Hello10
Problem 4::
main()
{int i;
printf("%d",scanf("%d",&i)); // 10 is given as input here
}
Solution:: 1
Problem 5::
main()
{int x=20,y=35;
x=y++ + x++;
y=++y + ++x;
printf("%d %d",x,y);
}
Solution:: 57 94
Problem 6::
main()
{int x=5;
printf("%d,%d,%d\n",x,x<<2,x>>2);
}
Solution:: 5,20,1
Problem 7::
main()
{int i=0;
for(;i++;printf("%d",i));
printf("%d",i);
}
Solution:: 1
Problem 8::
main()
{int i=-1;
+i;
printf("i=%d,+i=%d\n",i,+i);
}
Solution:: i=-1,+i=-1
Problem 9::
main()
{int i=5,j=6,z; clrscr();
printf("%d",i+++j);
}
Solution:: 11
Problem 10::
#define FALSE -1
#define TRUE 1
#define NULL 0
main()
{if(NULL)
puts("NULL");
else if(FALSE)
puts("TRUE");
else
puts("FALSE");
}
Solution:: TRUE
Problem 11::
main()
{static int var=5;
printf("%d",var--);
if(var)
main();
}
Solution:: 1
Problem 12::
main()
{int i=-1,j=-1,k=0,l=2,m;
m=i++&&j++&&k++||i++;
printf("%d %d %d %d %d",i,j,k,l,m);
}
Solution:: 1 0 1 2 0
Problem 13::
main()
{char *p; clrscr();
printf("%d %d",sizeof(*p),sizeof(p));
}
Solution:: 1 2
Problem 14::
main()
{clrscr();
printf("%d",-1<<4); style="font-weight: bold;">Problem 15::
main()
{printf("\nab");
printf("\bsi");
printf("\rha");
}
Solution:: hai
Problem 16::
main()
{int i=5;
printf("%d%d%d%d%d%d",i,i++,i--,++i,--i,i);
}
Solution:: 545545
Problem 17::
main()
{int i,j,A;
for(A=-1;A<=1;A++) printf("%d\t",!!A); } Solution:: 1 0 1
APTITUDE Questions
2. I am having six cousins
3. I have three uncles
ANS: F T T
2. a. Oracle b. Linux c. Ingress d. DB2
3. a. Java b. Lisp c. Smalltalk d. Eiffel
ANS: 1 d 2 b 3 b
Here's another good site (http://www.infopod.sitebooth.com/placement.html)
You should also download this amazing book by Shakuntla Devi-Puzzles to Puzzle you
Please leave your comments here about your views about the site.
Click here to CompletePlease leave your comments here about your views about the site.
TECHNICAL Questions
Problem 1::main()
{char s[]={'a','b','c','\n','c','\0'};
char *p,*str,*str1;
p=&s[3];
str=p;
str1=s;
printf("%d",++*p+++*str1-32);
}
Solution:: 76
Problem 2::
#define int char
main()
{int i=65;
printf("sizeof(i)=%d",sizeof(i));
}
Solution:: 1
Problem 3::
main()
{printf("Hello%d",printf("Mock Test?"));
}
Solution:: Mock Test?Hello10
Problem 4::
main()
{int i;
printf("%d",scanf("%d",&i)); // 10 is given as input here
}
Solution:: 1
Problem 5::
main()
{int x=20,y=35;
x=y++ + x++;
y=++y + ++x;
printf("%d %d",x,y);
}
Solution:: 57 94
Problem 6::
main()
{int x=5;
printf("%d,%d,%d\n",x,x<<2,x>>2);
}
Solution:: 5,20,1
Problem 7::
main()
{int i=0;
for(;i++;printf("%d",i));
printf("%d",i);
}
Solution:: 1
Problem 8::
main()
{int i=-1;
+i;
printf("i=%d,+i=%d\n",i,+i);
}
Solution:: i=-1,+i=-1
Problem 9::
main()
{int i=5,j=6,z; clrscr();
printf("%d",i+++j);
}
Solution:: 11
Problem 10::
#define FALSE -1
#define TRUE 1
#define NULL 0
main()
{if(NULL)
puts("NULL");
else if(FALSE)
puts("TRUE");
else
puts("FALSE");
}
Solution:: TRUE
Problem 11::
main()
{static int var=5;
printf("%d",var--);
if(var)
main();
}
Solution:: 1
Problem 12::
main()
{int i=-1,j=-1,k=0,l=2,m;
m=i++&&j++&&k++||i++;
printf("%d %d %d %d %d",i,j,k,l,m);
}
Solution:: 1 0 1 2 0
Problem 13::
main()
{char *p; clrscr();
printf("%d %d",sizeof(*p),sizeof(p));
}
Solution:: 1 2
Problem 14::
main()
{clrscr();
printf("%d",-1<<4); style="font-weight: bold;">Problem 15::
main()
{printf("\nab");
printf("\bsi");
printf("\rha");
}
Solution:: hai
Problem 16::
main()
{int i=5;
printf("%d%d%d%d%d%d",i,i++,i--,++i,--i,i);
}
Solution:: 545545
Problem 17::
main()
{int i,j,A;
for(A=-1;A<=1;A++) printf("%d\t",!!A); } Solution:: 1 0 1
APTITUDE Questions
QUES:
A person was fined for exceeding the speed limit by 10mph. Another person was also fined for exceeding the speed limit by twice the same. If the second person was travelling at speed of 35mph.Find the speed limit.
ANS: 15 mph
A person was fined for exceeding the speed limit by 10mph. Another person was also fined for exceeding the speed limit by twice the same. If the second person was travelling at speed of 35mph.Find the speed limit.
ANS: 15 mph
QUES:
My father is only child to his Father. My father has three sisters. All are married and have two children each. (State True or False or can’t be determined)
1. My Grand father has two sonsMy father is only child to his Father. My father has three sisters. All are married and have two children each. (State True or False or can’t be determined)
2. I am having six cousins
3. I have three uncles
ANS: F T T
QUES:
Select the odd one out
1. a. LINUX b. UNIX c. SOLARIS d. SQL SERVERSelect the odd one out
2. a. Oracle b. Linux c. Ingress d. DB2
3. a. Java b. Lisp c. Smalltalk d. Eiffel
ANS: 1 d 2 b 3 b
QUES:
How many squares are there?
How many squares are there?
ANS: 30
QUES:
Use only eight 8’s along with only ‘+’ sign to sum up exact 1000.
ANS: 888+88+8+8+8
Use only eight 8’s along with only ‘+’ sign to sum up exact 1000.
ANS: 888+88+8+8+8
QUES:
Use only five 3’s along with mathematical operators to form 31.
ANS: 33 + 3/3 + 3
Use only five 3’s along with mathematical operators to form 31.
ANS: 33 + 3/3 + 3
QUES:
Use only sixteen 4’s with only ‘+’sign to make a total of 1000.
ANS: 444+444+44+44+4+4+4+4+4+4
Use only sixteen 4’s with only ‘+’sign to make a total of 1000.
ANS: 444+444+44+44+4+4+4+4+4+4
QUES:
Two similar trains start moving from a point at the Equator in opposite directions. Which one will wear out first and why?
ANS: The one moving against the spin of the Earth due to the centrifugal force.
Two similar trains start moving from a point at the Equator in opposite directions. Which one will wear out first and why?
ANS: The one moving against the spin of the Earth due to the centrifugal force.
QUES:
A clock’s gong takes 7 seconds to strike 7. How much will it take to strike 10?
ANS: 10.5 seconds
A clock’s gong takes 7 seconds to strike 7. How much will it take to strike 10?
ANS: 10.5 seconds
QUES:
There is a peculiar number, thrice the sum of its digits gives the number itself. Find the number.
ANS: 27
There is a peculiar number, thrice the sum of its digits gives the number itself. Find the number.
ANS: 27
QUES:
A sari & a blouse are bought for Rs.110. If the sari cost Rs.100 more than the blouse, what is the cost of the sari?
ANS: Rs.105
A sari & a blouse are bought for Rs.110. If the sari cost Rs.100 more than the blouse, what is the cost of the sari?
ANS: Rs.105
QUES:
A pound of cotton will weigh heavier or a pound of gold?
A pound of cotton will weigh heavier or a pound of gold?
ANS: Pound of cotton, since the pound used for cotton consists of 16 ounces & that for gold contains 12 ounces.
QUES:
There is a number, the second digit of which is smaller than the first by 4. The number divided by the sum of the digits will give the quotient as 7. Find the number.
ANS: 84
There is a number, the second digit of which is smaller than the first by 4. The number divided by the sum of the digits will give the quotient as 7. Find the number.
ANS: 84
QUES:
A fraction has the denominator greater than its numerator by 6. If you add 8 to the denominator, value of the fraction will become 1/3. Can you find the fraction?
ANS: 7/13
A fraction has the denominator greater than its numerator by 6. If you add 8 to the denominator, value of the fraction will become 1/3. Can you find the fraction?
ANS: 7/13
QUES:
Find a number whose double is greater than its half by 45.
ANS: 45
Find a number whose double is greater than its half by 45.
ANS: 45
QUES:
The difference between two numbers is 3 & that between their squares is 51. Find the numbers.
ANS: 7 & 10
The difference between two numbers is 3 & that between their squares is 51. Find the numbers.
ANS: 7 & 10
VERBAL Skills
(Synonyms)
Aberration = deviation
Access = to approach
Adherence = stick
Adhesive = tenacious, sticky, glue, gum, bonding agent
Admonish= usurp
Adversary = opposition
Affable = lovable, approachable
Affinity = strong liking
Agrarian = related to agriculture
Egregious = apart from crowd, especially bad
Alienate = estrange
Assess = determine the amount or value
Augury = prediction
Baffle = puzzle
Belief = conviction
Brim = edge
Caprice = whim
Cargo = load, luggage
Cognizance = knowledge
Compensation= salary
Conciliation = make less angry or more friendly
Concur = similar, acquiesce
Confiscate = appropriate, to take charge, to annex
Conglomeration = group
Connotation = idea
Console = to show sympathy
Covet = to desire
Credibility = ability to common belief, quality of being credible
Decomposable = rotten
Depreciation = deflation, depression, devaluation, fall, slump
Deprecate = feel and express disapproval
Detrimental = harmful
Discretion = prudence
Dispel = scatter
Divulge = reveal, make known, disclose
Echelon = level of authority or responsibility
Efface = obliterate
Eliminate = to reduce
Emancipate = liberate
Embrace = hug, hold, cuddle
Equivocate = tallying on both sides
Erudite = wise, profound
Expedient = fitting proper, desirable
Expedite = hasten
Fallible = liable to err
Fluctuate = wavering
Furtive = stealthy
Hamper = obstruct
Heap = to gather
Heap = to pile
Heterogeneous = non-similar things
Hover = linger
Incentive = spur
Incentive = thing one encourages one to do
Inert = passive
Innovation = make changes or introduce new things
Instigate = incite
Intermittent = externally stopping and then starting
Lament = wail
Lamont = lakes, lamentable
Latent = dormant, secret
Latent = potential
Latitude = scope
Lethargy = stupor
Manifestation = clear or obvious
Meager = small, little, scanty
Merit = to deserve
Merry = Enjoy
Miserable = unhappy, sad
Misery = distress
Momentary = for small time
Naive = innocent, rustic
Obstinate = stubborn
Orthodox = conventional or superstitious
Overt = obvious, clear, explicit, evident
Postulate = frame a theory
Potential = ability
Pretentious = ostentatious
Reciprocal = reverse, opposite
Renounce= reject
Retrospective = review
Simulate = produce artificially resembling an existing one
Solicit = Humble, urge
Stifle = snits
Subside = wane
Surplus = excessive
To merit- to deserve
Tranquil = calm, silent, serene
Truncate = shorten by cutting
Vacillate = undecided or dilemma
Veer = diverge
Volatile = ever changing
Volume = quantity
1 comments:
From: "Blargg"
Sent: Tuesday, April 15, 2008 11:10 PM
Subject: Error in your "technical questions" post
> #define int char
> main()
> {int i=65;
> printf("sizeof(i)=%d",sizeof(i));
> }
>
> This prints 0 on my machine (16-bit ints, 32-bit size_t, big-endian
> byte order), since your code has a bug. It should cast the result of
> sizeof to an int, since sizeof (int) can be less than sizeof (size_t).
> This fixes it to print 1 on said machine:
>
> printf("sizeof(i)=%d",(int)sizeof(i));
Post a Comment
Thanks for taking your precious time out !!