Tuesday, November 25, 2014

Wednesday, August 24, 2011

GATE - 2012 (2)

Pre-final year students are not eligible to write GATE 2012. For details, refer to eligibility for GATE examination.

For More Details check::

GATE - 2012


IMPORTANT DATES

Commencement of Online Application submissionMonday12 September 2011
(00:00 Hrs)
Last date for Submission of Online Application (website closure)Monday17 October 2011
(23:00 Hrs)
Last date for the receipt of printed version of ONLINE Application at the respective zonal GATE OfficeMonday24 October 2011
Zonal GATE website display of final list of registered candidates, choices of test paper and examination cityFriday09 December 2011
Availability of admit card on zonal GATE websitesMonday02 January 2012
GATE 2012 Online Examination for Papers:
AR, GG and TF
Sunday29 January 2012
(09:00 Hrs to 12:00 Hrs)
GATE 2012 Online Examination Papers:
AE, AG and MN
Sunday29 January 2012
(14:00 Hrs to 17:00 Hrs)
GATE 2012 Offline Examination Papers:
BT, CE, CH, CS, ME, PH and PI
Sunday12 February 2012
(09:00 Hrs to 12:00 Hrs)
GATE 2012 Offline Examination Papers:
CY, EC, EE, IN, MA, MT, XE and XL
Sunday12 February 2012
(14:00 Hrs to 17:00 Hrs)
Announcement of resultsThursday15 March 2012
(10:00 Hrs)

Thursday, March 3, 2011

C Programs

Some C programs for the preparation of the interview.....

1. WAP to find the factorial of a no. (with & without recursion).
2. WAP to check whether a no. is armstrong.
3. WAP to create the fibonacci series upto n terms.
4. WAP to print a string in reverse.
5. WAP to check whether a no. is prime.
6. WAP to scroll your name on the screen from left to right.
7. WAP to revers a link list.
8. WAP to delete the first element of the link list.
9.WAP to print the following output.
*
***
*****
*******
10.WAP to check whether a string is palindrome.

C Interview Questions



1. What does static variable mean?
2.What is a structure?
3.What is an array?
4.Difference between malloc() & calloc().
5.Difference between array & linked list.
6.Difference between array & structure.
7.What is the use of typedef?
8.What is recursion?
9.Difference between printf() & fprintf().
10.What is Union?
11.Difference between Union & Structure.
12.What is a null pointer?
13. What is a generic pointer?
14.What is the different storage classes in C?
15. What is register variable?

Thursday, February 24, 2011

TCS paper JAN 2011


Hello friends

I want to share my experience with you on the way of TCS.

The question paper of TCS is as:

There is only one section which consists of aptitude questions with (1,-1/3) marking scheme.

1) A circular board of radius 1 foot is at a distance of 20 feet from you. You throw a ball at it and it hits the board at some point Q in the circle. What is the probability that Q is closer to the centre of the circle than the periphery?

A.0.75 B.1 C. 0.5 D. 0.25

2) There are two water tanks A and B, A is much smaller than B. While water fills at the rate of 1 liter every hour in A, it gets filled up like, 10, 20, 40,80, 160…..in tank B. (At the end of first hour, B has 10 liters, second hour it has 20 liters and so on). If tank B is 1/32 filled of the 21 hours, what is total duration of hours required to fill it completely?

A. 26 B.25 C.5 D.27

3) 6 persons standing in queue with different age group, after two years their average age will be 43 and seventh person joined with them. Hence the current average age has become 45. Find the age of seventh person?

A.43 B.69 C.52 D.31

4) For the FIFA world cup, Paul the octopus has been predicting the winner of each match with amazing success. It is rumored that in a match between 2 teams A and B, Paul picks A with the same probability as A’s chances of winning. Let’s assume such rumors to be true and that in a match between Ghana and Bolivia, Ghana the stronger team has a probability of 2/3 of winning the game. What is the probability that Paul will correctly pick the winner of
the Ghana-Bolivia game?
A.4/9 B. 2/3 C. 1/9 D. 5/9

5) The citizens of planet nigiet are 7 fingered and have thus developed their decimal system in base 8. Acertain street in nigiet contains 1000 (in base 8 buildings numbered 1 to 1000. How many 6s are used in numbering these buildings when represented in base 10 ?
A.256 B.147 C.192 D. None of these

6) Alice and Bob play the following coins-on-a-stack game. 20 coins are stacked one above the other. One of them is a special (gold) coin and the rest are ordinary coins. The goal is to bring the gold coin to the top by repeatedly moving the topmost coin to another position in the stack. Alice starts and the players take turns. A turn consists of moving the coin on the top to a position i below the top coin (0 = i = 20). We will call this an i-move (thus a 0-move implies doing nothing). The proviso is that an imove cannot be repeated; for example once a player makes a 2-move, on subsequent turns neither player can make a 2-move. If the gold coin happens to be on top when it’s a player’s turn then the player wins the game. Initially, the gold coin is the third coin from the top. Then

A. In order to win, Alice’s first move should be a 0-move.
B.In order to win, Alice’s first move should be a 1-move.
C.Alice has no winning strategy.
D. In order to win, Alice’s first move can be a 0-move or a 1-move.

7) Given 3 lines in the plane such that the points of intersection form a triangle with sides of length 20, 20 and 30, the number of points equidistant from all the 3 lines is
A.4 B. 3 C. 0 D.1

8) A hare and a tortoise have a race along a circle of 100 yards diameter. The tortoise goes in one direction and the hare in the other. The hare starts after the tortoise has covered 1/5 of its distance and that too leisurely.The hare and tortoise meet when the hare has covered only 1/8 of the distance. By what factor should the hare increase its speed so as to tie the race?
A.40 B. 37 C..80 D.8 5

9) There are two boxes, one containing 10 red balls and the other containing 10 green balls. You are allowed to move the balls between the boxes so that when you choose a box at random and a ball at random from the chosen box, the probability of getting a red ball is maximized. This maximum probability is
A.3/4 B. 14/19 C.37/38 D.1/2

10) A hollow cube of size 5 cm is taken, with a thickness of 1 cm. It is made of smaller cubes of size 1 cm. If 3 faces of the outer surface of the cube are painted, totally how many faces of the smaller cubes remain unpainted?
A.900 B. 488 C.513 D.800

11) he IT giant Tirnop has recently crossed a head count of 150000 and earnings of $7 billion. As one of the forerunners in the technology front, Tirnop continues to lead the way in products and services in India. At Tirnop, all programmers are equal in every respect. They receive identical salaries ans also write code at the same rate.Suppose 12 such programmers take 12 minutes to write 12 lines of code in total. How many lines of code can be written by 72 programmers in 72 minutes?
A.72 B. 432 C.12 D.6

12) he IT giant Tirnop has recently crossed a head count of 150000 and earnings of $7 billion. As one of the forerunners in the technology front, Tirnop continues to lead the way in products and services in India. At Tirnop, all programmers are equal in every respect. They receive identical salaries ans also write code at the same rate.Suppose 12 such programmers take 12 minutes to write 12 lines of code in total. How long will it take 72 programmers to write 72 lines of code in total?
A.18 B.72 C. 6 D.12

13) Given a collection of points P in the plane, a 1-set is a point in P that can be separated from the rest by a line; i.e. the point lies on one side of the line while the others lie on the other side. The number of 1-sets of P is denoted by n1(P). The maximum value of n1(P) over all configurations P of 18 points in the plane is
A.18 B.17 C. 3 D. None

14) Alok and Bhanu play the following min-max game. Given the expression
N = 45 + X*(Y – Z) where X, Y and Z are variables representing single digits (0 to 9), Alok would like to maximize N while Bhanu would like to minimize it. Towards this end, Alok chooses a single digit number and Bhanu substitutes this for a variable of her choice (X, Y or Z). Alok then chooses the next value and Bhanu, the variable to substitute the value. Finally Alok proposes the value for the remaining variable. Assuming both play to their optimal strategies, the value of N at the end of the game would be

A.45 B.54 C.62 D. None

15) Alok and Bhanu play the following min-max game. Given the expression
N = X – Y – Z where X, Y and Z are variables representing single digits (0 to 9), Alok would like to maximize N while Bhanu would like to minimize it. Towards this end, Alok chooses a single digit number and Bhanu substitutes this for a variable of her choice (X, Y or Z). Alok then chooses the next value and Bhanu, the variable to substitute the value. Finally Alok proposes the value for the remaining variable. Assuming both play to their optimal strategies, the value of N at the end of the game would be
A.-9 B.18 C.-18 D.none

16) 20 suspects are rounded by the police and questioned about a bank robbery. Only one of them is guilty. The suspects are made to stand in a line and each person declares that the person next to him on his right is guilty. The rightmost person is not questioned. Which of the following possibilities are true?

1. All suspects are lying. 2. The leftmost suspect is innocent.
3. The rightmost suspect is innocent .
A. Only 1 B.1or 2 C.1&2 D.none

17) A sheet of paper has statements numbered from 1 to 10. For all values of n from 1 to 10, statement n says: ‘Exactly n of the statements on this sheet are false.’ Which statements are true and which are false?
A. The even numbered statements are true and the odd numbered statements are false.
B. The 2nd last statement is true and the rest are false.
C. The odd numbered statements are true and the even numbered statements are false.
D. All the statements are false.


18) A sheet of paper has statements numbered from 1 to 20. For all values of n from 1 to 20, statement n says “At most n of the statements on this sheet are false”. Which statements are true and which are false?
A. The odd numbered statements are true and the even numbered are false.
B. The even numbered statements are true and the odd numbered are false.
C. All statements are false.
D. All statements are false

19) A sheet of paper has statements numbered from 1 to 20. For all values of n from 1 to 20, statement n says “At least n of the statements on this sheet are false”. Which statements are true and which are false?
A. The odd numbered statements are true and the even numbered are false.
B. The even numbered statements are true and the odd numbered are false.
C. All statements are false.
D. All statements are false

20) On planet zorba, a solar blast has melted the ice caps on its equator. 8 years after the ice melts, tiny plantoids called echina start growing on the rocks. echina grows in the form of a circle and the relationship between the diameter of this circle and the age of echina is given by the formula d = 4 * (t - 8) for t ≥ 8
where d represents the diameter in mm and t the number of years since the solar blast.
Jagan recorded the radius of some echina at a particular spot as 8mm. How many years back did the solar blast occur?
A.24 B.16 C.32 D.none

21) people {a1, a2, ..., a36} meet and shake hands in a circular fashion. In other words, there are totally 18 handshakes involving the pairs, {a1, a2}, {a2, a3}, ..., {a35, a36}, {a36, a1}. Then size of the smallest set of people such that the rest have shaken hands with at least one person in the set is
A.9 B.6 C.17 D.18

22) After the typist writes 12 letters and addresses 12 envelopes, she inserts the letters randomly into the envelopes (1 letter per envelope). What is the probability that exactly 1 letter is inserted in an improper envelope?

A. 11/12 B.1/12 C.0 D.none

23) A lady has fine gloves and hats in her closet- 18 blue, 32 red, and 24 yellow. The lights are out and it is totally dark. In spite of the darkness, she can make out the difference between a hat and a glove. She takes out an item out of the closet only if she is sure that if it is a glove. How many gloves must she take out to make sure she has a pair of each color?

A.56 B.58 C.60 D.74

24) 10men and 10 women are there, they dance with each other, is there

possibility that 2 men are dancing with same women and vice versa?

A.22 B.20 C.10 D. None

25) Middle- earth is a fictional land inhabited by hobbits, elves, dwarves and men. The hobbits and elves are peaceful creatures that prefer slow, silent lives and appreciate nature and art. The dwarves and the men engage in physical games. The game is as follows. A tournament is one where out of the two teams that play a match, the one that loses get eliminated. The matches are played in different rounds, where in every round; half of the teams get eliminated from the tournament. If there are 8 rounds played in knock out tournament, how many matches were played?

A.257 B.256 C.72 D.255

26) Ferrari S.P.A is an Italian sports car manufacturer based in Maranello, Italy. Founded by Enzo Ferrari in 1928 as Scuderia Ferrari, the company sponsored drivers and manufactured race cars before moving into production of street-legal vehicles in 1947 as Ferrari S.P.A. Throughout its history, the company has been noted for its continued participation in racing, especially in Formula One where it has employed great success .Rohit once bought a Ferrari. It could go 4 times as fast as Mohan's old Mercedes. If the speed of Mohan's Mercedes is 35 km/hr and the distance traveled by the Ferrari is 490 km, find the total time taken for Rohit to drive that distance.

A. 20.72 B. 5.18 C. 238.25 D. 6.18

27) 3 persons a,b,c were there A always says truth,B lies on Monday,tusday,& Wednesday.but C lies on thrusday,Friday & saturday .one day A said"that B & C said to A that" B said "yesterday way one of the days when I lies",C said that"yesterday way one of the days when I lies too".then which day was that?

A. Sunday B.Thursday C.Saturday D.Tuesday

28) How many 10 digit numbers are possible by using the digits 1,2,3,4,5 which are divisible by 4 if the repetition is allowed?

A.5^8 B.5^9 C.5^10 D.5^11

30) 1/2 of a number is 3 more than the 1/6 of the same number?

A. 6 B.7 C.8 D. 9

31) In the reading room of a library, there are 10 tables, 4 chairs per table. In each table there are different numbers of people seated. How many tables will be left out without at least 1 person?

A. 8 B. 6 C.2 D.7

32) A girl has to make pizza with different toppings. There are 8 different toppings. In how many ways can she make pizzas with 2 different toppings?

A.16 B.56 C.112 D.28

33) A triangle is made from a rope. The sides of the triangle are 25 cm, 11 cm and 31 cm. What will be the area of the square made from the same rope?

A. 280.5625 B.240.5625 C.280.125 D.240

34) 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?

A.loss 23 B.gain 23 C.gain 54 D.Loss 54

35) 1. Entry ticket to an exhibition ranges from 1p to 31p. You need to provide exact change at the counter. You have 31p coin. In how many parts will u divide 31p so that u will provide the exact change required and carry as less coins as possible?

A.4 B. 5 C.6 D.7

After qualifying the written exam there are three rounds of interview (technical, HR, MR).

Technical round:

1) Describe yourself.

2) What is BCNF?

3) What is primary key, unique key, difference between primary & unique key?

4) What is garbage Collector in java?

5) What is difference between C and C++?

6) What are reference variable, constructor and destructor?

7) What is difference between call by value and call by reference?

8) Some Questions about final year project.

9) What is the latest version of HTML in use?

10) JPEG and PNG

11) GSM and CDMA

12) Two programs in C, one puzzle, one algorithm.

HR round:

1) Family background.

2) Why TCS.

3) Why we hire you

4) Some questions related to HOBBY.

5) Some aptitude questions.

MR round:

1) Something apart from CV

2) Why TCS?

3) Will you like to go anywhere for joining?

4) Situation handling.

And when the result announced, I am one of the selected candidates.

Best of Luck dudes..............

Thursday, November 25, 2010

Plan your study

Plan all the long term & short term goals you want to achieve in your life.
Face all the challenges coming in your way.
Do the things with full determination.
Avoid procrastination.
Do the things before deadline.
Be optimistic. Always see the bright side of the things.
Keep smiling. It will give you freshness.