Creativo - the topper's choice

www.creativo.co.in ( Placement papers of all companies are here )

Monday, May 01, 2006

Virtusa

1.Pick out the Odd word out:a. CDBFE , JIHKL ,OMQRP ,WUXVY 2.Neem,Team,Starter,Commit.Ans: Reason:
3.101 , 101 ,107 ,119 ,137 ,_____
section-B (4*5=20 m) -----------1.Arrange the numbers 1 to 9 in any way to obtain the sum 100.a)Use nos 1 to 9 in the natural order of occurance.b)use all the 4 operators and parathesis.Ans:((1+2)/3)+4+(5*6)-7+(8*9) 2.There are animals like goat,sheep and cow.one goat and seven sheeps eat as much as one cow eats.Also, three goats and one cow eat as much as eleven sheeps.If there is some fodder which is sufficient for a cow for three days,then for how many days will that fodder feed the goat. 3.There is a sphere.The volume of the sphere is (pi*theta).and the surface area is (pi*gamma).where theta and gamma are five digit numbers.find the radius of thesphere. section -C (15 m) -----------write a brief account on the measures to be taken to against the US law of stopping outsourcing to India. section -D (4*10=40) writa a prg in any language:1. Wirte a function to accept a number 'n' anda)if n is negative then return -1.b)if n is postive and perfect number then return sqrt(n).c)if n is positive and not a perfect no. then return n(n+1)/2
2.Write a prg to print in the format 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5. 3.double fn(double z,int y) { double a =1.0; while(cond) { if (y%2==1) a=a*z; y/=2; z*=z; } return a; }what does the function do an how do you eliminate the shortcomings of the function.
4.Write a prg to generate the next number (ex:143=1^2+4^2+3^2=26)repeat this sequence tillyou get 1 or 4.
B) (15 m) Write a prg to accept two time stamps in the given format HH:MM:SSusing apropriate datatypes and find the difference between the time stamps in seconds.

SECTION 1 (Analytical and Logical)
1.1 2 3 2 5 6 7 8 3 find the next term in the series Ans: Reason:
2.How can u place 4 coins in 2 lines so that each line should contain 3 coins
Ans:I wrote, it maynot be possible
3.Find the odd word
ALPHA DELTA SIGMA BETA
Ans:I think it is Delta, Reason: as it has specific meaning(addition)and others don't have such meaning,just used for representation purpose.(i think so)
4.There was an addition given as follows SATURN + URANUS = PLANETS the solution is not encoding the entire problem but to find coding for 3 alphabets
Ans: Key Steps:
5.There was a set of words given as follows SUN,MER,VEN,---,...........,SAT,---,NEP,PLU (I don't remember exactly but, all are the names of planets in solar system with notation of each planet using 3 letters) The question was to find out the appropriate words in the given blanks ***SOME CHOICES WERE GIVEN***
Ans: Reason:
6.How can u get 81 using the digits 2,3,25,50,75,100 only once using any of the arithmatic operators
Key Steps: 50+(100/75*3)+25+2
7.(This is a real sitter, takes a long time) A man have some three types boxes viz Huge,Large,Small He took 11 of huge boxes and put on a table.And at random he has taken some of them and placed 8 large boxes in each of the boxes.And after that he has placed 8 small boxes in some large boxes at random.By the end if he found 102 boxes empty, how many boxes are there on the table?
Ans: Key Steps:
8.If u have a large number of Knights and a chess board.The problem is to find the way of arranging the Knights on the board so that no Knight attacks the other. (He has given mathematical relations that represents how a knight can move on the chess board as we know it as 'L', i'm not giving such stuff)
Ans: Key Steps:
9.You are given a bunch of threads each having differing length.No two thereads have same thickness and no thread has same thickness all its length. But it is certified that any thread when lit burns itself in exactly 12 mins. The question is you are asked to find an elapsed time of 9 minuites.How can u find it out and how manythreads do u want for this?
Ans: Key Steps:
(I think most of the questions are covered here. But there may be a couple of questions left which i can't remember in this Analytical and logical reasoning, OK)

SECTION 2 (Writing)
The topic to Write was on "Connecting the rivers in India".

SECTION 3
You can write the programs in this section using any programing language
3.1)
1.There was a pyramid given as follows
1 2 3 4 5 6 7 8 9 10 11 12 13 ...
The three dots are given as a part of the specification. The above pyramid is to be printed when input number 13 is given. Write a program to print the above pyramid.
2.Write a function which returns a substring in the string 'Sigma' (character given)which starts with 'Alpha' and ends with 'Thita'
3.You have a job in which you have to take time stamps and store them. So Write a datastructure that can minimize the storage requirements of Year,Month,Date,Hour,Minuite.
4.Write a program to find the four digited numbers, which are perfect squares, and all the digits in that number are even.
(i think there is another program given which i don't remember)

3.2) THIS CARRIES 15 MARKS
The types of problems such as prob #4 from the section 1, (SATURN+URANUS=PLANETS) are called cryptorithms or alphabeticalcoding. Where an alphabet is assigned a code so that the problem is to be solved using given summation. Write a program to solve such questions, which prints the letter and its corresponding digit that satisfies the given addition.


ANALYTICAL 1) 1, 2, 3, 2, 5, 6, 7, 8, 3, ____ What is the next number in the series and he asked the reason also? 2) There are 4 coins, you have to arrange them in a 2 rows so that each row should have 3 coins each and reason for that? 3) Find the odd Word out? ALPHA, DELTA, SIGMA, OMEGA 4) Find the odd word out? DEAF, REST , BACK, HELD 5) In Chess Board, how many knights can u arrange so that no two knights will attack each other? and He explained the problem.. using mathematical positions of the knights like (x+1, y), (x+1, y+1) and so on upto 8 points in which way the KNIGHT travels in the CHESS BOARD?
4 marks * 5 Questions = 20 marks 1) if SATURN URANUS --------------- PLANETS In this Each LETTER represents a single DIGIT. Now you have to find atleast 3 digits. no need to find all DIGITS? 2) 1, 2, 3, 25, 50, 75, 100 using these digits once and only once with basic operators you have make 81? 3) There are 11 Huge boxes, 8 large boxes, 8 small boxes. Now there is a table first someone put 11 Huge boxes on the table and in some of them he added 8 large boxes, and then he put small boxes in large boxes. Finally he has left 102 boxes empty. Now How many large boxes were kept in huge boxes and small boxes were kept in large boxes. (Just similar to this.. question… not reminded clearly… check it out….) Ans: Key Steps: 4) He gave one series based on the last 3 letters of the SOLAR PLANET SYSTEM keeping tow of them blank and asked us to find them. it was very easy. SUN, ARS, URY, ____, …______, UTO Ans: RTH and one another (EARTH and some thing) 5) A Problem on ROPES… There were some ropes that are of different lengths and different thickness. Each can burn in 12 minutes individually. If we are given 9 minutes as ELAPSED TIME how many ropes can be burnt in that time. (Just Similar to this…. Check out with some other friends). Ans:
15 Marks * 1 Question = 15 Marks WRITING SKILLS (This is the important and may be most important eliminate process in Virtusa) 1) Write the advantages of "all the rivers linked together in India" and gave one note that this should be published in Computer Magazine. (May be his intention is to explain the Topic using Computer Words)



10 Marks * 4 Questions = 40 Marks
PROGRAMMING (Note: You may use language of programming to write the following codes) 1) Write a program to print all the four digit numbers whose squares must have all the even digits. 2) Write a program to print the pyramid up to the passed integer value. 1 2 3 4 5 6 7 8 9 10 11 12 13 … If we pass the value 13 it should print like the above (no need to print the 3 dots) 3) In a certain DATABASE we had to store the TIMESTAMP for each record. Is there any way store in an efficient way to store (Memory)? The Time stamp has the following fields. Year, Month, Date, Hour and Minutes. Discuss the design such DATASTRUCTURE.
4) Write a function which takes one string S, one character X, one more Character Y which should return the longest substring in the String S, which starts with the X and ends with Y?
15 marks * 1 Question = 15 Marks
1) For the problems like SATURN + URANUS = PLANETS (As Explained in the above) which were written in cryptography. Write a program to solve such situations. The most generalized way.



-> In how many different ways, a rectangle can be cut into 4 identical parts.
-> using the numbers 1, 2, 3, 25, 50, 75, 100 Exactly one time, give an expression which will give the answer as 383.
-> using the numbers 1, 2, 25, 50, 75, 100 Exactly one time, give an expression which will give the answer as 383.
-> volume of sphere is (PI)*(Theta) Cubic-meters and Surface area is (PI)*(Epslon) Square-meters And both are 4 digit integer numbers. What is the value of radius?
-> Inthe figure given below, Replace '?' mark by any operator (+, -, *, /, =) and if we leave as it is, numbers are considered together and forms either 2 or 3 digit numer. Generate an expression using some symbols.
------------------------ ? 2 ? 3 ------------------------ 2 ? ------- ------ ? 1 ------------------------ 6 ? 1 ? ------------------------
-> Analise the Programe
main(){ int x=1,y=1; while( (x > 0) && (y > 0) ){ printf("%16d%16d",x,y); x += y; y += x; } }
-> Start from a random number, generate a sequence such that if number is odd multiply it 3 and add 1. If number is even, divide the number by 2. This Sequence will always cyclic with 4, 2, 1. In this sequesce, find the maximum power of 2 generaged in the sequence and print only the power, not the sequence.
-> Start with a random 2 digit number, The series is generated by multiplying the number by 2 and placing the last 2 digits as the next number. Series continues until one of the element repeats.
-> write a function maxsubstring(str,alpha,theta) str is the source string and have to return maximum sub string which starts with alpha and ends with theta.
INTERVIEW----------> what will this line will do? if it is legal? B -= (B < 0) * 2 * B;
-> what does this function do??
int f(int p) { int i = 0, t = 1, s = 1; while( s <= p) { i++; t += 2; s += s; } return i; }
-> explain What is divide and conuer method? Travelling salse man problem What is greedy method
-> How Neural Networks and A.I are related.
-> Tell me something about your self
-> Where will you see your self after 5 years
-> You awnt to shift your career to management side or be in technical side?
-> What you do in free time
-> Interests other than studies
-> How do you rate your self in 'C' Programming


1.Analytical Reasoning (12 qns.)================================(we have to write reasons for the answer.)
( I don't remember exactly what they had given.I amputting it in my own words)
1) x1 peach + y1 plum = z1 applex2 peach + y2 plum = z2 apple(x1,y1 .... z2 are integer values)How many peaches make one apple?
2) 100,100,102,106,112,120,____
3) which is greater ?Product of all Bradman's first class scores or Sumof all test scores of Sachin.
4) U r provided with 500ml and 300ml jar(it has nomarkings).a) u have to measure exactly 100ml.b) u have to measure exactly 200ml.
5) Using four 4's u have to make 1 ... 10.( for eg. 1 = (4/4)*(4/4)2 = ?..10 = ? )
6) student,canopy,thirst,... are the words given.u have to group the words using the following words 1)Master 2)Teacher 3)Deft etc..(i don't remember some of words)
7) U have to cut a Pizza using 7 st. lines(wit outrearranging) and u have to obtain maximum number ofpieces. ( Give generalised solution..) 8) U have to cut a Cylindrical cake of diameter 32 cmand height 20 cm in to 12 equal pieces.
9) In a village there r 2 groups.
1) Knight -> always tell true 2) Knave -> always tell false Mr.X met a man of that village(u don't which grp hebelongs) and questioned "Tell me whether u r knightor knave ?" Reply: "i cannot tell u and left that place"
Find which grp that man belongs to?
10) obtain 277 from 3,25,50,65,100.use 4 arithmeticoperations only.
11) 1#2=x ,2#3=y, 4#4=z 4@14=a, 5@15=b, d@e=f
( i don't remember values for x,y,z,a,b,c,d,e,f) find (2#4)@5= ?
12) (i don't remember what they had given.)It is just example for that question,
CODE is encoded as DGBFREAD is encoded as JHNVFins "KOVAI"
2. Essay(General).==================(Topic given: India should spend money on Atom bomb and Rocket OR for the welfare of poor.)
3. Problem solving.===================(Problem statement: How will u determine number of Petrol bunks in Madras.)
4. Programming.(4 Qns)===============( we can use any Programming Language for coding)
a) They had given one function ,we have to find it what it does and also problem in the fn. and how toovercome it. double what( double z, int y){ double answer; while( y > 0 ) { if( y%2 == 1) answer = answer * z; y=y/2; z=z*z; } return answer;} b) They had given one Pseudocode.We have to find bugin the pseudocode.
I don't remeber the pseudocode fully.But thefunction of pseudocode is "To make a Robot to fetch a tumbler of water"
c) write a program to print all Armstrong numbers,(abc=a^3+b^3+c^3)(for eg. 153=1^3+5^3+3^3)d) write a function witj the following conditions, 1)It should have one integer parameter. 2)If the value passed is -ve, return -1. 3)If the value passed is a perfect square, return root of that number. 4)If the value passed is a not a perfect square, return that number itself.

Virtusa Paper consists of 3 sections . 1. Analytical 2. Analytical Writing Freshersworld.com 3. C-Programming
First when v clear the cutoff of Analytical section,only then other sections are evaluated.So,Don't waste time by spending much time on Programming.
Analytical Section:
Analytical Section consists of Vocab. ( pick the odd one out ) and also some codings like ( ALPHA z coded as BETAH , DELTA z coded as GAMMA, then how z ETA coded ? .. this one .. i have framed it :) ) . This part z a bit difficult one. So, my advice z don't think much about these.Along with above two categories, there shall be PUZZLES in this section.In the recent paper i attended,i got the following questions.
1. Volume of a LARGE SPHERE z ( pi * # ) .Area of it z ( pi * & ) where '#,&' r four digit integers.What z the
value of the radius ? ( Along with answer , v have to write approach). answer: may be 22 2 .In howmany ways can a rectangle can be cut into 4 equal parts. 3. Given 1,2,3,25,50,75 and 100 .. Using each number "one and only once" and using arithmetic operators, write
383 in terms of the above given numbers. answer: 383 = ( 100 + 2 ) * 3 + 75 + ( (50 * 1)/2 ) 4. A tougher question of above. given 1,2,25,50,75,100 .. write 383 in terms of the givennumbers. 5. Given following sequence,find the how the sequence is generated. 2 -> 1,4,9,6,5,6,9,4,1,0 Freshersworld.com 3 -> 1,8,7,4,5,6,3,2,9,0 4 -> 1,6,1,6,5,6,1,6,1,0 answer : the sequences r nothing but the UNIT digits of square(x),cube(x),power4(x) where x = [ 1 ... 10 ]
6 .Knights always tell TRUTH.Knaves always tell LIE.U r a foreigner to that place and U have met a person and
he replies "I am a knave " . What can u infer from his statement. answer : nothing can be infered from his statement. 7. Using 4 fours and arithmetic operations write from 1 to 10 3 = ( 4 + 4 + 4 ) / 4 4 = ( 4 - 4 ) * 4 + 4 5 = ( 4 * 4 + 4 ) / 4 6 = 4 + ( 4 + 4 )/4 // 4 + 2 7 = ( 4 + 4 ) - ( 4 / 4 ) 8 = ( 4 + 4 ) * ( 4 / 4 ) 9 = ( 4 + 4 ) + ( 4 / 4 ) 10 = ( 44 - 4 ) / 4 I forget the two more questions.
Analytical Writing This section has two questions only. 1.General topic. ( Don't forget that v have to just write one page only .. not an essay) ( So,write the points directly ) Freshersworld.com For us they gave topics Is it necessary for to HOST AFROASIAN GAMES ?? Why can't it spend that money for the welfare of poor ? ORCan India have better results if the current for of govt. is changed to PRESEDENTIAL FORM OF GOVT. ( like USA ) .2. He gives a highly impossible possible and asks to give a solution.( To check ur innovative ideas :) ) For us, Suppose u have suddenly changed to an ANT.U know human's abilities,but u have forgot their language.How can u make urself to convey ur BELOVED that u have been changed to an ANT.

0 Comments:

Post a Comment

<< Home