Tuesday, August 5, 2008

HCL OFF CAMPUS AT NISHITA

HCL OFF Campus Placement Drive on 08.08.2008
at Nishitha College of Engineering & Technology
on TECH SUPPPORT
for more details visit www.nishitha.in

main() / void main() / int main() / int main(void) / int main(int argc, char *argv[])

=================================================
main() / void main() / int main() / int main(void) / int main(int argc, char *argv[])


A very common question is "What's the difference between void main and int main?". This particular FAQ tries to answer that and more, covering other versions of the main() implementation.
The first thing to note is that this is one of those topics that people seem to like to argue over for hours, days and more. Some arguments are valid, some are not, and some are just plain old opinion.
The C and C++ standards differ when it comes to main(), so I'll detail each one separately.
For C
Under C89, main() is acceptable, although it is advisable to use the C99 standard, under which only these are acceptable:
int main ( void )int main ( int argc, char *argv[] )
Slight variations of the above are acceptable, where int can be replaced by a typedef name defined as int, or the type of argv can be written as char ** argv, and so on.
The first option is used when you do not require access to the command line arguments.
The names argc and argv are identifiers that can be changed if you so desire, but sticking to argc/argv is convention.
The return type of main() must always be an int, this allows a return code to be passed to the invoker.
Under C89, the return statement at the end of main() is required, whereas under C99 if no return statement is present, return 0 is implied. However, it is good programming practice to always use a return statement, even if you don't have to.
For C++
The following are acceptable uses:
int main ( int argc, char *argv[] )int main ()
The first option follows similar conventions to those used by C99.
The second option is used when you do not require access to the command line arguments, and is equivalent to the int main(void) option used by C99.
Again, the return type must always be an int, and the function should return 0; at the end, but it is not required by the standard.
(C) The difference between int main() and int main(void)
A common misconception for C programmers, is to assume that a function prototyped as follows takes no arguments:
int foo();
In fact, this function is deemed to take an unknown number of arguments. Using the keyword void within the brackets is the correct way to tell the compiler that the function takes NO arguments.
What's the deal with void main()
Under regular function calling/returning in C and C++, if your don't ever want to return anything from a function, you define it's return type as void. For example, a function that takes no arguments, and returns nothing can be prototyped as:
void foo(void);
A common misconception is that the same logic can be applied to main(). Well, it can't, main() is special, you should always follow the standard and define the return type as int. There are some exceptions where void main() is allowed, but these are on specialised systems only. If you're not sure if you're using one of these specialised systems or not, then the answer is simply no, you're not. If you were, you'd know it.
Be warned that if you post your "void main" code on the forums, you're going to get told to correct it. Responding with "my teacher said it's OK" is no defence; teachers have a bad habit of being wrong. Be safe, and post only standard code, and you'll find people concentrate on answering your other problems, rather than waste time telling you about this type of thing.
But what about int main(int argc, char *argv[], char *envp[])
As an extension to the guaranteed standard, an additional parameter to main() can, on some systems, be used to gain access to the environment variables. This is isn't guaranteed to work on all compilers, so use it with care if you want to keep your code portable.
===================================================================

DIFFERENCE BETWEEN MALLOC CALLOC

===============================================================
DIFFERENCE BETWEEN MALLOC CALLOC

Both malloc and calloc do the same thing with almost the same results, they allocate a block of n * sizeof ( T ) bytes of memory. The difference is in how the functions are called and how the memory block is initialized. malloc is called like so:
p = malloc ( n * sizeof ( T ) );
where the user programmer performs the operation to find the final block size. calloc takes two arguments and performs the operation itself:
p = calloc ( n, sizeof ( T ) );
malloc leaves the block of memory uninitialized, but calloc zero fills the memory. This does not mean that
p = calloc ( 1, sizeof ( int * ) );
will result in a pointer to int with a value of NULL. Zero filled memory does not mean that the memory is filled with the data type's equivalent of 0, so this zero fill cannot be relied on except with integral values such as int or char. Pointers and floating point may use a different representation for 0 than all bits zero.
Because of this zero fill, calloc can be slightly less efficient than malloc.

DIFFERENCES BETWEEN C and CPP

===================================================
DIFFERENCES BETWEEN C and CPP

Put simply, C++ is an extended C meant to improve safety, give the programmer more options, simplify higher level programming, and offer a better approach to large scale programming. C++ is also a larger language with more features and complexity than C, but C++ can improve productivity with its greater amount of features. A list of features that C++ supports which C does not includes:
Classes
Member functions
Constructors and destructors
Derived classes
Virtual functions
Abstract classes
Access control (public, private, protected)
friend functions
Pointers to members
static members
mutable members
Operator overloading
References
Templates
Inline functions
Default arguments
Function overloading
Namespaces
Exception handling
Run-time type identification
// comments
True const
Declarations as statements
Automatically typedef'd struct tags
Type safe linkage
new and delete
bool keyword
Safer and more robust casting
===============================================================

DIFFERENCES BETWEEN COUT,PRINTF

=================================================================
DIFFERENCES BETWEEN COUT,PRINTF

printf is a function that takes a variable number of arguments, the first argument being a format string explaining how to treat further arguments. cout is an object of the std::ostream class. The two are completely different in form, yet the result is the same, data sent to stdout.
This question is difficult to answer completely as often phrased since cout and printf are wildly different, but most often one of three questions are meant:
Q: "Which is faster?" A: printf, but the difference is too slight to worry about.
Q: "Which is better?" A: Neither, it depends heavily on personal preference and what needs to be done.
Q: "Which should I use?" A: You should use whichever you feel most comfortable with.It is preferred that you use iostreams with C++ instead of the C functions because iostreams are type safe and extensible for user defined types, both of which are very good reasons.
===================================================================

DIFFERENCES BETWEEN NULL AND 0, \0

==============================================================
DIFFERENCES BETWEEN NULL AND 0, \0

NULL is a macro defined in several standard headers, 0 is an integer constant, '\0' is a character constant, and nul is the name of the character constant. All of these are *not* interchangeable:
NULL is to be used for pointers only since it may be defined as ((void *)0), this would cause problems with anything but pointers.
0 can be used anywhere, it is the generic symbol for each type's zero value and the compiler will sort things out.
'\0' should be used only in a character context.
nul is not defined in C or C++, it shouldn't be used unless you define it yourself in a suitable manner, like:
#define nul '\0'
=============================================================

Saturday, August 2, 2008

APTITUDE QUESTIONS

Aptitude Questions
=================================================================
1.If 2x-y=4 then 6x-3y=?(a)15(b)12(c)18(d)10
Ans. (b)


2.If x=y=2z and xyz=256 then what is the value of x?
(a)12(b)8(c)16(d)6
Ans. (b)


3. (1/10)18 - (1/10)20 = ?(a) 99/1020(b) 99/10(c) 0.9(d) none of these
Ans. (a)


4.Pipe A can fill in 20 minutes and Pipe B in 30 minsand Pipe C canempty the same in 40 mins.If all of them worktogether, find the timetaken to fill the tank(a) 17 1/7 mins(b) 20 mins(c) 8 mins(d) none of these
Ans. (a)

5. Thirty men take 20 days to complete a job working 9hours a day.Howmany hour a day should 40 men work to complete thejob?(a) 8 hrs(b) 7 1/2 hrs(c) 7 hrs(d) 9 hrs
Ans. (b)


6. Find the smallest number in a GP whose sum is 38and product 1728(a) 12(b) 20(c) 8(d) none of these
Ans. (c)


7. A boat travels 20 kms upstream in 6 hrs and 18 kmsdownstream in 4hrs.Find the speed of the boat in still water and thespeed of thewater current?(a) 1/2 kmph(b) 7/12 kmph(c) 5 kmph(d) none of these
Ans. (b)


8. A goat is tied to one corner of a square plot ofside 12m by a rope7m long.Find the area it can graze?(a) 38.5 sq.m(b) 155 sq.m(c) 144 sq.m(d) 19.25 sq.m
Ans. (a)


9. Mr. Shah decided to walk down the escalator of atube station. Hefound that if he walks down 26 steps, he requires 30seconds toreach the bottom. However, if he steps down 34 stairshe would onlyrequire 18 seconds to get to the bottom. If the timeis measured fromthe moment the top step begins to descend to thetime he steps offthe last step at the bottom, find out the height ofthe stair way insteps?
Ans.46 steps.


10. The average age of 10 members of a committee isthe same as it was4 years ago, because an old member has been replacedby a youngmember. Find how much younger is the new member ?
Ans.40 years.


11. Three containers A, B and C have volumes a, b, andc respectively;and container A is full of water while the other twoare empty. Iffrom container A water is poured into container Bwhich becomes 1/3full, and into container C which becomes 1/2 full, howmuch water isleft in container A?


12. ABCE is an isosceles trapezoid and ACDE is arectangle. AB = 10and EC = 20. What is the length of AE?
Ans. AE = 10.

13. In the given figure, PA and PB are tangents to thecircle at A andB respectively and the chord BC is parallel totangent PA. If AC = 6cm, and length of the tangent AP is 9 cm, then whatis the length ofthe chord BC?
Ans. BC = 4 cm.


15 Three cards are drawn at random from an ordinarypack of cards.Find the probability that they will consist of a king,a queen and an ace.
Ans. 64/2210.


16. A number of cats got together and decided to killbetween them999919 mice. Every cat killed an equal number ofmice. Each catkilled more mice than there were cats. How many catsdo you thinkthere were ?
Ans. 991.


17. If Log2 x - 5 Log x + 6 = 0, then what would thevalue / values ofx be?
Ans. x = e2 or e3.


18. The square of a two digit number is divided byhalf the number.After 36 is added to the quotient, this sum is thendivided by 2.The digits of the resulting number are the same asthose in theoriginal number, but they are in reverse order. Theten's place ofthe original number is equal to twice the differencebetween itsdigits. What is the number?
Ans. 46


19.Can you tender a one rupee note in such a mannerthat there shallbe total 50 coins but none of them would be 2 paisecoins.?
Ans. 45 one paisa coins, 2 five paise coins, 2 tenpaise coins, and 1twenty-five paise coins.


20.A monkey starts climbing up a tree 20ft. tall. Eachhour, it hops3ft. and slips back 2ft. How much time would it takethe monkey toreach the top?
Ans.18 hours.


21. What is the missing number in this series? 8 214 6 11 ? 14 6 18 12
Ans. 9


22. A certain type of mixture is prepared by mixingbrand A at Rs.9 akg. with brand B at Rs.4 a kg. If the mixture is worthRs.7 a kg., howmany kgs. of brand A are needed to make 40kgs. ofthe mixture?
Ans. Brand A needed is 24kgs.


23. A wizard named Nepo says "I am only three times myson's age. Myfather is 40 years more than twice my age. Togetherthe three of usare a mere 1240 years old." How old is Nepo?Ans. 360 years old.


24. One dog tells the other that there are two dogs infront of me.The other one also shouts that he too had two behindhim. How many arethey?
Ans. Three.


25. A man ate 100 bananas in five days, each dayeating 6 more thanthe previous day. How many bananas did he eat on thefirst day?
Ans. Eight.


26. If it takes five minutes to boil one egg, how longwill it take toboil four eggs?
Ans. Five minutes.


27. The minute hand of a clock overtakes the hour handat intervals of64 minutes of correct time. How much a day does theclock gain or lose?
Ans. 32 8/11 minutes.


28. Solve for x and y: 1/x - 1/y = 1/3, 1/x2 + 1/y2= 5/9.Ans. x = 3/2 or -3 and y = 3 or -3/2.
29. Daal is now being sold at Rs. 20 a kg. During lastmonth its ratewas Rs. 16 per kg. By how much percent should a familyreduce itsconsumption so as to keep the expenditure fixed?
Ans. 20 %.


30. Find the least value of 3x + 4y if x2y3 = 6.Ans. 10.31. Can you find out what day of the week was January12, 1979?
Ans. Friday.


32. A garrison of 3300 men has provisions for 32 days,when given at arate of 850 grams per head. At the end of 7 days areinforcementarrives and it was found that now the provisions willlast 8 daysless, when given at the rate of 825 grams per head.How, many more mencan it feed?
Ans. 1700 men.


33. From 5 different green balls, four different blueballs and threedifferent red balls, how many combinations of ballscan be chosentaking at least one green and one blue ball?
Ans. 3720.


34. Three pipes, A, B, & C are attached to a tank. A &B can fill itin 20 & 30 minutes respectively while C can empty itin 15 minutes.If A, B & C are kept open successively for 1 minuteeach, how soonwill the tank be filled?
Ans. 167 minutes.


35. A person walking 5/6 of his usual rate is 40minutes late. What ishis usual time?
Ans. 3 hours 20 minutes.


36.For a motorist there are three ways going from CityA to City C. Byway of bridge the distance is 20 miles and toll is$0.75. A tunnelbetween the two cities is a distance of 10 miles andtoll is $1.00 forthe vehicle and driver and $0.10 for each passenger. Atwo-lanehighway without toll goes east for 30 miles to city Band then 20miles in a northwest direction to City C.
1. Which is the shortest route from B to C
(a) Directly on toll free highway to City C(b) The bridge(c) The Tunnel(d) The bridge or the tunnel(e) The bridge only if traffic is heavy on the tollfree highway
Ans. (a)
2. The most economical way of going from City A toCity B, in terms oftoll and distance is to use the
(a) tunnel(b) bridge(c) bridge or tunnel(d) toll free highway(e) bridge and highway
Ans. (a)
3. Jim usually drives alone from City C to City Aevery working day.His firm deducts a percentage of employee pay forlateness. Whichfactor would most influence his choice of the bridgeor the tunnel ?
(a) Whether his wife goes with him(b) scenic beauty on the route(c) Traffic conditions on the road, bridge and tunnel(d) saving $0.25 in tolls(e) price of gasoline consumed in covering additional10 miles on thebridge
Ans. (a)
4. In choosing between the use of the bridge and thetunnel the chieffactor(s) would be:I. Traffic and road conditionsII. Number of passengers in the carIII. Location of one's homes in the center oroutskirts of one of thecitiesIV. Desire to save $0.25
(a) I only(b) II only(c) II and III only(d) III and IV only(e) I and II only
Ans. (a)


37.The letters A, B, C, D, E, F and G, not necessarilyin that order,stand for seven consecutive integers from 1 to 10D is 3 less than AB is the middle termF is as much less than B as C is greater than DG is greater than F
1. The fifth integer is(a) A(b) C(c) D(d) E(e) F
Ans. (a)
2. A is as much greater than F as which integer isless than G(a) A(b) B(c) C(d) D(e) E
Ans. (a)
3. If A = 7, the sum of E and G is(a) 8(b) 10(c) 12(d) 14(e) 16
Ans. (a)
4. A - F = ?(a) 1(b) 2(c) 3(d) 4(e) Cannot be determined
Ans. (a)
5. An integer T is as much greater than C as C isgreater than E. Tcan be written as A + E. What is D?(a) 2(b) 3(c) 4(d) 5(e) Cannot be determined
Ans. (a)
6. The greatest possible value of C is how muchgreater than thesmallest possible value of D?(a) 2(b) 3(c) 4(d) 5(e) 6
Ans. (a)


38.1. All G's are H's2. All G's are J's or K's3. All J's and K's are G's4. All L's are K's5. All N's are M's6. No M's are G's
1. If no P's are K's, which of the following must betrue?
(a) All P's are J's(b) No P is a G(c) No P is an H(d) If any P is an H it is a G(e) If any P is a G it is a J
Ans. (a)
2. Which of the following can be logically deducedfrom the conditionsstated?
(a) No M's are H's(b) No M's that are not N's are H's(c) No H's are M's(d) Some M's are H's(e) All M's are H's
Ans. (a)
3. Which of the following is inconsistent with one ormore of theconditions?
(a) All H's are G's(b) All H's that are not G's are M's(c) Some H's are both M's and G's(d) No M's are H's(e) All M's are H's
Ans. (a)
4. The statement "No L's are J's" isI. Logically deducible from the conditions statedII. Consistent with but not deducible from theconditions statedIII. Deducible from the stated conditions togetherwith the additionalstatement "No J's are K's"
(a) I only(b) II only(c) III only(d) II and III only(e) Neither I, II nor III
Ans. (a)


39.In country X, democratic, conservative and justiceparties havefought three civil wars in twenty years. TO restorestability anagreement is reached to rotate the top officesPresident, PrimeMinister and Army Chief among the parties so that eachparty controlsone and only one office at all times. The three topoffice holdersmust each have two deputies, one from each of theother parties. Eachdeputy must choose a staff composed of equally membersof his or herchiefs party and member of the third party.
1. When Justice party holds one of the top offices,which of thefollowing cannot be true
(a) Some of the staff members within that office arejustice party members(b) Some of the staff members within that office aredemocratic partymembers(c) Two of the deputies within the other offices arejustice party members(d) Two of the deputies within the other offices areconservativeparty members(e) Some of the staff members within the other officesare justiceparty members.
Ans. (a)
2. When the democratic party holds presidency, thestaff of the primeminister's deputies are composedI. One-fourth of democratic party membersII. One-half of justice party members and one-fourthof conservativeparty membersIII. One-half of conservative party members andone-fourth of justiceparty members.
(a) I only(b) I and II only(c) II or III but not both(d) I and II or I and III(e) None of these
Ans. (a)
3. Which of the following is allowable under the rulesas stated:
(a) More than half of the staff within a given officebelonging to asingle party(b) Half of the staff within a given office belongingto a single party(c) Any person having a member of the same party ashis or herimmediate superior(d) Half the total number of staff members in allthree officesbelonging to a single party(e) Half the staff members in a given office belongingto partiesdifferent from the party of the top office holder inthat office.
Ans. (a)
4. The office of the Army Chief passes fromConservative to Justiceparty. Which of the following must be fired.
(a) The democratic deputy and all staff membersbelonging to Justice party(b) Justice party deputy and all his or hers staffmembers(c) Justice party deputy and half of his Conservativestaff members inthe chief of staff office(d) The Conservative deputy and all of his or herstaff membersbelonging to Conservative party(e) No deputies and all staff members belonging toconservative parties.
Ans. (a)


40.In recommendations to the board of trustees atuition increase of$500 per year, the president of the university said"There were nostudent demonstrations over the previous increases of$300 last yearand $200 the year before". If the president'sstatement is accuratethen which of the following can be validly inferredfrom theinformation given:I. Most students in previous years felt that theincreases werejustified because of increased operating costs.II. Student apathy was responsible for the failure ofstudents toprotest the previous tuition increases.III. Students are not likely to demonstrate over newtuition increases.
(a) I only(b) II only(c) I or II but not both(d) I, II and III(e) None
Ans. (a)


41. The office staff of XYZ corporation presentlyconsists of threebookeepers--A, B, C and 5 secretaries D, E, F, G, H.The management isplanning to open a new office in another city using 2bookeepers and 3secretaries of the present staff . To do so they planto seperatecertain individuals who don't function well together.The followingguidelines were established to set up the new officeI. Bookeepers A and C are constantly finding faultwith one anotherand should not be sent together to the new office as ateamII. C and E function well alone but not as a team ,they should beseperatedIII. D and G have not been on speaking terms andshouldn't go togetherIV Since D and F have been competing for promotionthey shouldn't be ateam1.If A is to be moved as one of the bookeepers,whichof the followingcannot be a possible working unit.
A.ABDEHB.ABDGHC.ABEFHD.ABEGH
Ans.B
2.If C and F are moved to the new office,how manycombinations arepossible
A.1B.2C.3D.4
Ans.A
3.If C is sent to the new office,which member of thestaff cannot gowith C
A.BB.DC.FD.G
Ans.B
4.Under the guidelines developed,which of thefollowing must go to thenew office
A.BB.DC.ED.G
Ans.A
5.If D goes to the new office,which of the followingis/are true
I.C cannot goII.A cannot goIII.H must also go
A.I onlyB.II onlyC.I and II onlyD.I and III only
Ans.D


42.After months of talent searching for anadministrative assistant tothe president of the college the field of applicantshas been narroweddown to 5--A, B, C, D, E .It was announced that thefinalist would bechosen after a series of all-day group personalinterviews wereheld.The examining committee agreed upon the followingprocedure
I.The interviews will be held once a weekII.3 candidates will appear at any all-day interviewsessionIII.Each candidate will appear at least onceIV.If it becomes necessary to call applicants foradditonalinterviews, no more 1 such applicant should be askedto appear thenext weekV.Because of a detail in the written applications,itwas agreed thatwhenever candidate B appears, A should also bepresent.VI.Because of travel difficulties it was agreed that Cwill appear foronly 1 interview.1.At the first interview the following candidatesappear A,B,D.Whichof the follwing combinations can be called for theinterview to beheld next week.
A.BCDB.CDEC.ABED.ABC
Ans.B
2.Which of the following is a possible sequence ofcombinations forinterviews in 2 successive weeks
A.ABC;BDEB.ABD;ABEC.ADE;ABCD.BDE;ACD
Ans.C
3.If A ,B and D appear for the interview and D iscalled foradditional interview the following week,which 2candidates may beasked to appear with D?
I. AII BIII.CIV.EA.I and IIB.I and III onlyC.II and III onlyD.III and IV only
Ans.D
4.Which of the following correctly state(s) theprocedure followed bythe search committee
I.After the second interview all applicants haveappeared at least onceII.The committee sees each applicant a second timeIII.If a third session,it is possible for allapplicants to appear atleast twice
A.I onlyB.II onlyC.III onlyD.Both I and II
Ans.A


43. A certain city is served by subway lines A,B and Cand numbers 1 2and 3When it snows , morning service on B is delayedWhen it rains or snows , service on A, 2 and 3 aredelayed both in themorning and afternoonWhen temp. falls below 30 degrees farenheit afternoonservice iscancelled in either the A line or the 3 line,but not both.When the temperature rises over 90 degrees farenheit,the afternoonservice is cancelled in either the line C or the3 line but not both.When the service on the A line is delayed orcancelled, service on theC line which connects the A line, is delayed.When service on the 3 line is cancelled, service onthe B line whichconnects the 3 line is delayed.
Q1. On Jan 10th, with the temperature at 15 degreefarenheit, itsnows all day. On how many lines will service beaffected, including both morning and afternoon.(A) 2(B) 3(C) 4(D) 5Ans. D
Q2. On Aug 15th with the temperature at 97 degreesfarenheit it beginsto rain at 1 PM. What is the minimum numberof lines on which service will be affected?(A) 2(B) 3(C) 4(D) 5Ans. C
Q3. On which of the following occasions would servicebe on thegreatest number of lines disrupted.(A) A snowy afternoon with the temperature at 45degree farenheit(B) A snowy morning with the temperature at 45 degreefarenheit(C) A rainy afternoon with the temperature at 45degree farenheit(D) A rainy afternoon with the temperature at 95degree farenheitAns. B


44. In a certain society, there are two marriagegroups, red andbrown. No marriage is permitted within a group. Onmarriage, malesbecome part of their wives groups; women remain intheir own group.Children belong to the same group as their parents.Widowers anddivorced males revert to the group of their birth.Marriage to morethan one person at the same time and marriage to adirect descendantare forbiddenQ1. A brown female could have hadI. A grandfather born RedII. A grandmother born RedIII Two grandfathers born Brown(A) I only(B) III only(C) I, II and III(D) I and II onlyAns. D
Q2. A male born into the brown group may have(A) An uncle in either group(B) A brown daughter(C) A brown son(D) A son-in-law born into red groupAns. A
Q3. Which of the following is not permitted under therules as stated.(A) A brown male marrying his father's sister(B) A red female marrying her mother's brother(C) A widower marrying his wife's sister(D) A widow marrying her divorced daughter'sex-husbandAns. B
Q4. If widowers and divorced males retained theirgroup they had uponmarrying which of the following would be permissible (Assume that noprevious marriage occurred)(A) A woman marrying her dead sister's husband(B) A woman marrying her divorced daughter'sex-husband(C) A widower marrying his brother's daughter(D) A woman marrying her mother's brother who is awidower.Ans. D
Q5. I. All G's are H'sII. All G's are J's or K'sIII All J's and K's are G'sIV All L's are K'sV All N's are M'sVI No M's are G's


45. There are six steps that lead from the first tothe second floor.No two people can be on the same stepMr. A is two steps below Mr. CMr. B is a step next to Mr. DOnly one step is vacant ( No one standing on that step)Denote the first step by step 1 and second step bystep 2 etc.1. If Mr. A is on the first step, Which of thefollowing is true?(a) Mr. B is on the second step(b) Mr. C is on the fourth step.(c) A person Mr. E, could be on the third step(d) Mr. D is on higher step than Mr. C.Ans: (d)2. If Mr. E was on the third step & Mr. B was on ahigher step thanMr. E which step must be vacant(a) step 1(b) step 2(c) step 4(d) step 5(e) step 6Ans: (a)

3. If Mr. B was on step 1, which step could A be on?(a) 2&e only(b) 3&5 only(c) 3&4 only(d) 4&5 only(e) 2&4 onlyAns: (c)
4. If there were two steps between the step that A wasstanding andthe step that B was standing on, and A was on a higherstep than D , Amust be on step(a) 2(b) 3(c) 4(d) 5(e) 6Ans: (c)
5. Which of the following is false
i. B&D can be both on odd-numbered steps in oneconfigurationii. In a particular configuration A and C must eitherboth an oddnumbered steps or both an even-numbered stepsiii. A person E can be on a step next to the vacantstep.(a) i only(b) ii only(c) iii only(d) both i and iiiAns: (c)


46. Six swimmers A, B, C, D, E, F compete in a race.The outcome is asfollows.i. B does not win.ii. Only two swimmers separate E & Diii. A is behind D & Eiv. B is ahead of E , with one swimmer interveningv. F is a head of D1. Who stood fifth in the race ?(a) A(b) B(c) C(d) D(e) EAns: (e)2. How many swimmers seperate A and F ?(a) 1(b) 2(c) 3(d) 4(e) cannot be determinedAns: (d)3. The swimmer between C & E is(a) none(b) F(c) D(d) B(e) AAns: (a)
4. If the end of the race, swimmer D is disqualifiedby the Judgesthen swimmer B finishes in which place(a) 1(b) 2(c) 3(d) 4(e) 5Ans: (b)


47. Five houses lettered A,B,C,D, & E are built in arow next to eachother. The houses are lined up in the order A,B,C,D, &E. Each of thefive houses has a colored chimney. The roof andchimney of eachhousemust be painted as follows.i. The roof must be painted either green,red ,oryellow.ii. The chimney must be painted either white, black,or red.iii. No house may have the same color chimney as thecolor of roof.iv. No house may use any of the same colors that theevery next houseuses.v. House E has a green roof.vi. House B has a red roof and a black chimney
1. Which of the following is true ?(a) At least two houses have black chimney.(b) At least two houses have red roofs.(c) At least two houses have white chimneys(d) At least two houses have green roofs(e) At least two houses have yellow roofsAns: (c)
2. Which must be false ?(a) House A has a yellow roof(b) House A & C have different color chimney(c) House D has a black chimney(d) House E has a white chimney(e) House B&D have the same color roof.Ans: (b)
3. If house C has a yellow roof. Which must be true.(a) House E has a white chimney(b) House E has a black chimney(c) House E has a red chimney(d) House D has a red chimney(e) House C has a black chimneyAns: (a)
4. Which possible combinations of roof & chimney canhouseI. A red roof 7 a black chimneyII. A yellow roof & a red chimneyIII. A yellow roof & a black chimney
(a) I only(b) II only(c) III only(d) I & II only(e) I&II&IIIAns: (e)


48. Find x+2y(i). x+y=10(ii). 2x+4y=20



49. Is angle BAC is a right angle(i) AB=2BC(2) BC=1.5AC


50. Is x greater than y(i) x=2k(ii) k=2y
===================================================================

APTITUDE QUESTIONS

=============================================

APTITUDE QUESTIONS WITH ANSWERS AND EXPLANATION


100 Puzzles with Answers and Explanation
http://www.eurl.in/u/Puzzles_with_Answers


Collection of Aptitude Questions with Answers Part -1
http://www.eurl.in/u/Aptitude_Part_1


Collection of Aptitude Questions with Answers Part - 2
http://www.eurl.in/u/Aptitude_Part_2


Collection of Aptitude Questions with Answers Part - 3
http://www.eurl.in/u/Aptitude_Part_3


Collection of Numerical Ability Questions Asked in Different Companies
http://www.eurl.in/u/Numerical-Ability


Collection of Reasoning Questions Asked in Different Companies
http://www.eurl.in/u/Reasoning


Collection of Verbal Questions Asked in Different Companies
http://www.eurl.in/u/Verbal

=============================================================

Friday, August 1, 2008

REQUIREMENT ON RIKTAM TECHNOLOGIES

send u r resume to riktam@gmail.com

1. Test would consist of 2 rounds of aptitude test (Analytical / Logical / Puzzles). Interviewer may ask basic C/C++/Java questions, but very less.
2. There is no fees to attend the test
3. Your friends can also attend the aptitude test for selection. They should email their resume to
riktam@gamil.com

if your cv mathes our requirement u will get immedaite mails stating the written test details.

HR manager....( Riktam Technologies ).. Prasad K9848558696

BPO and TECH SUPPORT

Hyderabad Jumbo Job Fair - 2008 On August 02, 03 At Hyderabad Walk-in Date: August 02 & 03 Time: 10.00am - 6.00 pm Venue: Hitex Exhibition Centre, Madhapur, Hitech City Hyderabad-500032..


BPO and TECH SUPPORT ONLY