February 18, 2007

Study Material

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)

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 Complete
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
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 sons
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 SERVER
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?
















ANS: 30
QUES:
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
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
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.
QUES:
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
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
QUES:
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
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
QUES:
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
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




February 17, 2007

A bit of Maths

Absolutely amazing!
Beauty of Mathematics !!!!!!!

1 x 8 + 1 = 9
12 x 8 + 2 = 98
123 x 8 + 3 = 987
1234 x 8 + 4 = 9876
12345 x 8 + 5 = 98765
123456 x 8 + 6 = 987654
1234567 x 8 + 7 = 9876543
12345678 x 8 + 8 = 98765432
123456789 x 8 + 9 = 987654321

1 x 9 + 2 = 11
12 x 9 + 3 = 111
123 x 9 + 4 = 1111
1234 x 9 + 5 = 11111
12345 x 9 + 6 = 111111
123456 x 9 + 7 = 1111111
1234567 x 9 + 8 = 11111111
12345678 x 9 + 9 = 111111111
123456789 x 9 +10= 1111111111

9 x 9 + 7 = 88
98 x 9 + 6 = 888
987 x 9 + 5 = 8888
9876 x 9 + 4 = 88888
98765 x 9 + 3 = 888888
987654 x 9 + 2 = 8888888
9876543 x 9 + 1 = 88888888
98765432 x 9 + 0 = 888888888

Brilliant, isn't it?

And look at this symmetry:


1 x 1 = 1
11 x 11 = 121
111 x 111 = 12321
1111 x 1111 = 1234321
11111 x 11111 = 123454321
111111 x 111111 = 12345654321
1111111 x 1111111 = 1234567654321
11111111 x 11111111 = 123456787654321
111111111 x 111111111 = 12345678987654321

Now, take a look at this...

101%

From a strictly mathematical viewpoint:

What Equals 100%?
What does it mean to give MORE than 100%?

Ever wonder about those people who say they are giving more than 100%?

We have all been in situations where someone wants you to
GIVE OVER 100%.

How about ACHIEVING 101%?

What equals 100% in life?

Here's a little mathematical formula that might help
answer these questions:


If:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Is represented as:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26.

If:

H-A-R-D-W-O- R- K
8+1+18+4+23+ 15+18+11 = 98%

And:
K-N-O-W-L-E- D-G-E
11+14+15+23+ 12+5+4+7+ 5 = 96%

But:
A-T-T-I-T-U- D-E
1+20+20+9+20+ 21+4+5 = 100%

THEN, look how far the love of God will take you:

L-O-V-E-O-F- G-O-D
12+15+22+5+15+ 6+7+15+4 = 101%

Therefore, one can conclude with mathematical certainty that:

While Hard Work and Knowledge will get you close, and Attitude will
get you there, It's the Love of God that will put you over the top!

It's up to you if you share this with your friends & loved ones just
the way I did.

Have a nice day & God bless!!

February 12, 2007

I bet you didn't know!

*111,111,111 x 111,111,111 =12,345,678,987,654,321
*It is possible to lead a cow upstairs but not downstairs.
*Coca-Cola was originally green.
*State with the highest percentage of people who walk to work: Alaska.
*City with the most Rolls Royce's per capita: Hong Kong.
*Intelligent people have more zinc and copper in their hair.
*The world's youngest parents were 8 and 9 and in lived in China in = 1910.
*Iceland consumes more Coca-Cola per capita than any other nation.
*The youngest pope was 11 years old.
*First novel ever written on a typewriter: "Tom Sawyer."
*A duck's quack doesn't echo, and no one knows why.
*The only 15 letter word that can be spelled without repeating a letter is uncopyrightable.
*"I am." is the shortest complete sentence in the English language.
*An ostrich's eye is bigger that it's brain.
*The longest recorded flight of a chicken is thirteen seconds.
*The name Jeep came from the abbreviation used in the army for the General Purpose" vehicle, G.P.
*The first toilet ever seen on television was on "Leave It To Beaver".
*The shortest war in history was between Zanzibar and England in 1896. Zanzibar surrendered after 38 minutes.
*A polar bear's skin is black. Its fur is not white, but actually clear.
*Donald Duck comics were banned in Finland because he doesn't wear pants.
*More people are killed by donkeys annually than are killed in plane crashes.
*Stewardesses is the longest word typed with only the left hand.
*Shakespeare invented the word "assassination" and "bump."
*If you keep a Goldfish in the dark room, it will eventually turn white.
*Women blink nearly twice as much as men.
*Right handed people live, on average, nine years longer than left handed people do.
*The sentence "the quick brown fox jumps over the lazy dog" uses every letter in the English language.
*The name of all the continents end with the same letter that they start with.
*The word "lethologica" describes the state of not being able to remember the word you want. *TYPEWRITER, is the longest word that can be made using the letters on only one row of the keyboard.
*The word racecar and kayak are the same whether they are read left to right or right to left. *A snail can sleep for 3 years.
*Feb 1865 is the only month in recorded history not to have a full moon.
*The electric chair was invented by a dentist.
*Cats have over one hundred vocal sounds, dogs only have about ten.
*Our eyes are always the same size from birth, but our nose and ears never stop growing. *China has more English speakers than the United States.
*Cat's urine glows under a black light.
*Leonardo Da Vinci invented the scissors.
*In the last 4000 years, no new animals have been domesticated.
*Babies are born without knee caps. They don't appear until the child reaches 2-6 years of age. *The most common name in the world is Mohammed.
*Humans and dolphins are the only species that have sex for pleasure.
*On average, people fear spiders more than they do death.
*The strongest muscle in the body is the TONGUE.
*It's impossible to sneeze with your eyes open.
*You can't kill yourself by holding your breath.
*Americans on the average eat 18 acres of pizza every day.
*You are more likely to be killed by a champagne cork than by a poisonous spider.
*In ancient Egypt, Priests plucked EVERY hair from their bodies, including their eyebrows and eyelashes.
*A crocodile cannot stick its tongue out.
*The ant always falls over on its right side when intoxicated.
*Polar bears are left-handed.
*A cockroach will live nine days without its head, before it starves to death.
*Some lions mate over 50 times a day.
*Butterflies taste with their feet.
*Starfish haven't got brains.
*Elephants are the only animals that can't jump.