Sunday, 17 April 2011

Solved sequence,technical,verbal,average aptitude question by wipro and tcs placement papers part2

1)Define JAVA object serialization.

Answer:
Object serialization is a process where an object's state will be converted to a format that can be stored to persistent storage for future restoration.

2)Define JAVA Swing.

Answer:
JAVA Swing is an API that provides several GUI capabilities to JAVA applications.

3)Define JAVA struts.

Answer:
JAVA struts is a widespread application development framework employing MVC (Model View Controller) architecture.

4)  A 12 address lines maps to the memory of [a] 1k bytes
 [b] 0.5k bytes
 [c] 2k bytes
 [d] none

 Answer : 0.5k bytes

5) In a processor these are 120 instructions . Bits needed to impliment this instructions  [a] 6
  [b] 7
  [c] 10
  [d] none

 Answer :7

6) In a compiler there is 36 bit for a word and to store a character 8bits are needed. IN this to store a character two words are appended .Then for storing a K characters string,
  How many words are needed.

  [a] 2k/9
  [b] (2k+8)/9
  [c]  (k+8)/9
  [d] 2*(k+8)/9
  [e] none

Answer :2k/9

7)  n=7623
  {
temp=n/10;
 result=temp*10+ result;
   n=n/10
   }


 Answer : 3267

8) A device can operate without Application layer in a network. State True or False.

True. Routing devices like bridges need not necessarily have application layer.

9) OSI stands for

Open Systems Interconnection
Open Systems Integration
Open Servers Interconnection

Correct Answer: Open Systems Interconnection

10) Find the odd man out
HTTP, FTP, MPEG, SNMP

Answer: MPEG - This is a file format and not a Protocol like other options.

11) Amount of work a computer can do in a given period is called
a)Throughput 
b)Job 
c)Process
d)None of the above

Answer: Throughput

12) Which of the following addresses is always unique and unchanged for a machine
a)IP Address,
b)MAC Address,
c)Both of  the above

Answer:MAC Address

13) What is a running program under execution called?a) Task 
b) Job 
c) Process :Answer
d) Any of the above

14) CPU Scheduling is a function of OS under
a) Process Management :Answer
b) Memory Management 
c) I/O Management 
d) None of the above

15) Background running processes are typically called
a) Daemons
b) Tasks
c) Processes
d) None of the above:Answer

16) The process in which OS saves all data associated with current process and switches over to the next is called
     
  a) Process Switching 
b) Task Switching
c) Context Switching:Answer


17)Find the missing number in 0,4,5,11,_

Answer is 14. Whenever you find a sequence like 0,4,5,11 with hardly any relation between adjacent numbers, it is a wiser to try adding and subtracting small numbers like 1 or 2 to all numbers. Now, alternatively adding 1 and subtracting 1 from each number of the sequence we get 1,3,6,10. This sequence has got a pattern!!!. The first digit "1" is the sum of first "1" natural numbers, the second digit "3" is the sum of first "2" natural numbers, the second digit "6" is the sum of first "3" natural numbers and so on.
Hence the final digit in the modified sequence would be 15 which is the sum of first 5 natural numbers. We need to subtract 1 from 15 so that it fits the sequence in question. Hence the answer is 14.

18)Find the missing number in the sequence 1,5,7,17,_
Answer:
Just like question 1, this time let us start by adding and subtracting "1" alternatively from the numbers. Then we get, 2,4,8,16,_ . This has a pattern!!. Yes this is Geometric Progression with a ratio of 2. Hence the final digit would be 32. NOW subtracting 1 to this number we get 31, which is the correct answer.

19)Find the missing number in the sequence 0,2,1,4,_

Answer:
Just like previous questions start by adding and subtracting "1" to the alternative numbers. We get 1,1,2,3,_ . Now, this is our famous good old Fibonacci Series!!!. Hence the final digit would be 5. Now we can fit this to the original sequence by subtracting "1" from "5". Hence correct answer is "4".

20) Find the 10th element in the series 5,15,35,45.....   
a) 95 
b) 85  
c) Cannot be determined

Answer: c) Cannot be determined

    Reason:  The given sequence is not in arithmetic progression. The difference between third and second elements is 20 whereas between second and first element is 10.
Hence correct answer is "Cannot be determined"

21) Find the odd man out
a)3,6,9,12 
b)2,4,8,16   
c)12,24,36,48  
d)10,13,16,19
 
Answer: b) 2,4,8,16

    Reason: The second sequence 2,4,8,16 is in geometric progression and not in arithmetic progression.
Hence the answer is 2,4,6,8 

22)Find the sum of the first 14 terms for a sequence starting with 2, ending with 120 and common difference 2

a)845 
b)854
c)800

Answer: b)854

    Reason: By applying the formula Sum to n no of terms = Sn = n/2(a + l) where a is the first number and l is the last number of the series, we can get the answer 854.

23) Find the difference between last and last but one term in the   Sequence 1, 9, 17, 25… which has 40 terms in total
a)8   
b)16 
c)24

Answer: a)8

     Reason: Since the sequence is in an arithmetic progression the difference between any two successive terms is always the same as the difference between any other two successive terms.
Hence correct answer is 8.

24) Find the 7th term in the series 4,8,16…
a)512  
b)256  
c)64

Answer: b)256

  Reason: n th term of a geometric progression can be found by using the formula Tn = arn-1. In the given series a = 4, r = 2 and n = 2. Hence T7 = 4 X 26 = 256


25) Find the sum of the first 5 terms in 3,9,27
a)363 
b)121
c)242

Answer: a)363

     Reason: Sum to n no of terms in a geometric progression is Sn = a(1 - rn)/(1-r) . Applyting a = 3, n = 5 and r = 3 we get S5 = 3(1 - 3 5)/(1 - 3) = 363. Hence the correct answer is 363.

26) Find the odd man out
   i) 3,9,27  ii) 2,4,8  iii)10,20,40  iv)1,1//2,1/4

a)3,9,27 
b) 2,4,8 
c)10,20,40  
d)1,1//2,1/4

Answer: d)1,1/2,1/4

    Reason: All the four sequences are in geometric progression.However the last series 1,1//2,1/4 is an infinite series.This is because the common ratio for this series, which is 1/2 is lesser than 1.
Hence the correct answer is 1,1//2,1/4


Saturday, 16 April 2011

Solved verbal reasoning questions by wipro,tcs placement papers

1)What is an appropriate synonym for Bifid ?a) Divided
b) Divided in two
c) Timid

Answer is Divided

2) Find the antonym for gaurish .
a) Cheap
b) Flashy
c) Costly

Answer is Cheap

3) Choose an appropriate antonym for the word deliberate.
a) Unintended
b) Targeted
c) Focussed

Answer is Unintended

4) Which of the following is an appropriate synonym for the word Debauch ?a) Demoralize
b) Encourage
c) Cultivate

Answer is Demoralize

5) Unnikrishnan is a famous singer from South India. One should never miss to hear his mellifluous melodies. Question : Pick an appropriate synonym for mellifluous.
a) Sad 
b) Nostalgic 
c) Pleasant
d) Priceless

Answer:Based on the choices, the appropriate synonym would be c) Pleasant.


6) One should know when to be evasive. It is the way the prudent overcome difficulties due to overwork. Question : Pick an appropriate synonym for evasive.a) leave the place 
b) avoid commitment
c) struggle
d) fight

Answer: Evasive means to avoid commitment so that one would not be held responsible for an incomplete work. Hence correct answer is b) avoid commitment .


7) John alluded in a way that he did not like Annie's friendship. Question : Pick an appropriate synonym for allude.
a) Argued 
b) Refer Indirectly
c) Fought 
d) Shouted
Answer: Correct synonym for allude from the options is "Refer Indirectly"

Solved technical questions from wipro,tcs placement papers

Below are few sample questions compiled on the basis of latest recruitment papers of the company. These are technical questions and have been solved for you. You can expect questions of similar nature in the placement tests.

1)Name any two models of SDLC (Software Design Life Cycle) ?
  
Answer:
  Water Fall Model and Spiral Model.
(There are several other models as well which you could answer.)

2)What is the use of HTTPS protocol and how it differs from HTTP ?

Answer:
HTTPS transmits HTTP interactions via secured channel (encrypted). HTTPS is used for secured data transmissions over network where HTTP might not be a safer option.

3)Name the data structure that uses a hash function to map keys to their associated values.

Answer:
Hast Table or Hash Map.

4)Expansion of CDMA ?

a) Code Division Multiple Access
b) Cell Data Multiple Access
c) Code Data Multiple Access
d) None of the above.

Answer:
The above aptitude question is from communication systems. However this question is a basic one which
everyone should remember. The answer is
a)Code Division Multiple Access. You could expect similar
questions like expansion of GSM, GPS etc in wipro placement papers.

5)Which of the following layers are not in TCP / IP?
a) Application Layer
b) Network Layer
c) Bridging Layer
d) Data Link Layer

Answer:
c) Bridging Layer.
You can always expect one or two questions from computer networks in
Wipro papers.

6)What will printf(++i) in C will do?

a) Print i and then increment i by 1
b) Increment i by 1 and then print i
c) Print i and then increment i by i
d) Increment i by i and then print i

Answer:b)Increment i by 1 and then print i
This is one common question which you can expect in Wipro Papers. These kinds of questions dealing with
basics of C statements are common in other company placemente papers as well. This includes TCS,
Accenture, HCL, HP etc.

7)What is the function of assembler?
a) Converts assembly to binary code
b) Converts high level language code into assembly code
c) Interprets and executes assembly code
d) Noe of the above

Answer a) Assembly to binary code
 

Wipro Solved Placement Papers - Technical

8) A 2 mb PCM (Pulse Code Modulation) has
a)32 voice channels
b)30 voice channels & 1 signalling channel
c)31 voice chanels & 1 signalling channel
d)32 channels out of which 30 voice channels, 1 signalling channel and 1 syncronization  channel.

Answer is :31 voice chanels & 1 signalling channel

9) Word alignment is
a)alligning the address to the next word boundary of the machine
b)alligning to even boundary
c)alligning to word boundary
d)none of the above

Answer is : alligning the address to the next word boundary of the machine

10) To send a packet data using datagram, connection will be established..
a)before data transmission
b)connection is not establshed before data transmission
c)no connection required
d)none of the above

Answer  is : no connection required

11) The status of the kernel is?
a)task
b)process
c)not defined
d)none of the above

The correct asnwer is : Process

12) Explain the use of the WHERE clause.
Answer: It directs SQL to extract data from rows where the value of the column is the same as the current value of the WHERE clause variable.

13) What technique is used to retrieve data from more than one table in a single SQL statement?
Answer:The Join statement combines data from more that two tables

14) What is a foreign key?
Answer: It identifies a related row in another table and establishes a logical relationship between rows in two tables.

15) What are the reasons for adding an index to a table ?
Answer: To increase lookup performance. For a unique key to guarantee the uniqueness of the values for a column on a table.

16) What is PL/SQL ?

Answer: A programming language available in Oracle. It is a way of wrapping SQL with 3GL constructs such as IF..THEN..ELSE, WHILE etc.

17) What is locking and what is it used for ?

Answer: Locking is a mechanism to restrict access to data. It prevents one user updating data whilst another user is looking at it.

18) What types of locking are available with Oracle?
Answer: Row locking and table locking.


19) What happens if a tablespace clause is left off of a primary key constraint clause?

Answer: This results in the index that is automatically generated being placed in the users default tablespace. Since this will usually be the same tablespace as the table is being created in, this can cause serious performance problems.

20) In 8085 microprocessor READY signal does.which of the following is incorrect statements
 [a] It is input to the microprocessor
 [b] It sequences the instructions

 Answer: It sequences the instructions

21) int zap(int n)
   {
    if(n<=1)then zap=1;
     else  zap=zap(n-3)+zap(n-1);
    }
    then the call zap(6) gives the values of zap


   [a] 8
   [b]  9
   [c] 6
   [d]  12
   [e] 15

  Answer : 9

22) Virtual memory size depends on
 [a] address lines
 [b] data bus
 [c] disc space
 [d] a & c
 [e] none

  Answer :8

23) load a
 mul  a
  store t1
  load  b
  mul   b
  store t2
  mul t2
  add t1
  then the content in accumulator is

 Answer : a**2+b**4

24)Consider a string variable stroriginal holding a string value in its memory. Consider the following lines of C code.
strcpy(strdummy,stroriginal);
strreversed = strrev(strdummy);

If stroriginal is a palindrome which of the following statements is true.
a) strcmp(stroriginal,strreversed) is 0
b) strcmp(stroriginal,strrev(strreversed)) is 1
c) strcmp(stroriginal,strreversed) is 1

Answer:
Option a) is the right answer. If the string is a palindrome the strcmp will return 0 while comparing the original and the reversed string.
Placement Question 2

25)Consider the following lines of C code :

int i,j,summ,lim;
i=0;
j=1;
for(lim = 1; lim <= 10; lim++)
{
summ = j + i;
i = j;
j = sum;
printf("%d",summ);
}


What kind of sequence the above code will generate ?
a) Even Numbers
b) Arithmetic Progression
c) Fibonacci Series

Answer2
The above code would generate option c) Fibonacci Series

26)State True or False. Recursion Type Programming can be used to generate Fibonacci series in C
Answer:True.
Fibonacci series can be generated by recursion programming.

Thanks for reading you can comment and can query us.

Solved general aptitude questions from Wipro Placement Papers

 Wipro Solved Placement Papers - General Aptitude - part 1

1) Grass in lawn grows equally thickand in a uniform rate. It akes 24 days for 70 cows and 60 for 30 cows . How many cows can  eat away the same in 96 days.?

Ans : 18 or 19
2) There is a certain four digit number whose fourth digit is twise the first digit.Third digit is three more than second digit.Sum of the first and fourth digits twise the third number.What was that number ?

Ans : 2034 and 4368

3) A theif steals half the total no of loaves of bread plus 1/2 loaf from a backery. A second theif steals half the remaing no of loaves plus 1/2 loaf and so on. After the 5th theif has
stolen there are no more loaves left in the backery. What was the total no of loaves did the backery have at the biggining?

Ans: 31

4) A person needs 6 steps to cover a distance of one slab. if he increases his foot length(step length) by 3 inches he needs only 5 steps to cover the slabs length. what is the length
of the each slab?

Ans : 31 inches

5) There is one lily in the pond on 1st june. There are two in the pond on 2nd june . There are four on 3rd june and so on. The pond is full with lilies by the end of the june.
i)On which date the pond is half full.ans. 29th. --the june has 30 days)  (ii)if we start with 2 lilies on 1st june when will be the pond be full with lilies?

Ans: 29th june

6) A lorry starts from Banglore to Mysore at 6.00  A.M,7.00am.8.00 am.....10 pm. Similarly one another starts from Mysore to Banglore at 6.00 am,7.00 am, 8.00 am.....10.00pm. A lorry takes 9 hours to travel from Banglore to Mysore and vice versa.
(i) A lorry which has started at 6.00 am will cross how many lorries.
(ii)A lorry which had started at 6.00pm will cross how many lorries.

Ans:
(i)10 lorries
(ii)14 lorries

7) There is an element which triplicates in every hour. Each of these 3 items inturn reproduce exactly 3 other items. If a single compund is kept in a container at noon and the container is full by midnight. After how many hours is the container 1/3 full?

Ans:11:00pm

8) A person goes to a bank and Quotes x Rs and y paise on a cheque. The cashier misreads it and gives y Rs and x paise. The man comes out and donates 5 paise to a begger. Now, the man has exactly double the amount he has quoted on the cheque.

Ans: 31 Rs. and 63 paise.
9) A garrison of 3300 men has provisions for 32 days, when given at a rate of 850 grams per head. At the end of 7 days a reinforcement
arrives and it was found that now the provisions will last 8 days less, when given at the rate of 825 grams per head.How, many more men
can it feed?

Ans. 1700 men.

10) From 5 different green balls, four different blue balls and three different red balls, how many combinations of balls can be chosen
taking at least one green and one blue ball?

Ans. 3720.


11) Three pipes, A, B, & C are attached to a tank. A & B can fill it in 20 & 30 minutes respectively while C can empty it in 15 minutes.
If A, B & C are kept open successively for 1 minute each, how soon will the tank be filled?

Ans. 167 minutes.
12) A person walking 5/6 of his usual rate is 40 minutes late. What is his usual time?

 Ans. 3 hours 20 minutes.

13) The minute hand of a clock overtakes the hour hand at intervals of  64 minutes of correct time. How much a day does the clock gain or lose?

Ans. 32 8/11 minutes.
14) 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.

15) Daal is now being sold at Rs. 20 a kg. During last month its rate was Rs. 16 per kg. By how much percent should a family reduce its
consumption so as to keep the expenditure fixed?

Ans. 20 %.

16) Find the least value of 3x + 4y if x2y3 = 6.

Ans. 10.

17)Find the sum of the first 14 terms for a sequence starting with 2, ending with 120 and common difference 2

a)845
b)854
c)800

Answer is 854
18) Find the 10th element in the series 5,15,35,45.....

a)85
b)95
c)Cannot be determined

Answer is Cannot be determined

19) Find the difference between last and last but one term in the   Sequence 1, 9, 17, 25… which has 40 terms in total

a)8
b)16
c)24

Answer is 8

20) Find the 7th term in the series 4,8,16…

a)512
b)256
c)64

Answer is 256

21) My friend collects antique stamps. She purchased two, but found that she needed to raise money urgently. So she sold them for Rs. 8000 each. On one she made 20% and on the other she lost 20%. How much did she gain or lose in the entire transaction?

Answer
She lost Rs 666.67

22) 12 members were present at a board meeting. Each member shook hands with all of the other members before & after the meeting.How many hand shakes were there?

Answer
132.


23) An emergency vehicle travels 10 miles at a speed of 50 miles per hour.How fast must the vehicle travel on the return trip if the round-trip travel time is to be 20 minutes?

Answer
75 miles per hour.


24) All of the students at a college are majoring in psychology, business, or both. 73% of the students are psychology majors, & 62% are business majors. If there are 200 students, how many of them are majoring in both psychology & business?

Answer:
70 students are majoring in both, psychology & business


25)A bacteria doubles itself each single day. It totally takes 15 days for the bacteria to fill a test tube. Find an approximate number of days for the bacteria to fill 1/3 of the jar.

Answer:
Though the question looks like a tough one, it is actually a simple question. If it takes 15 days for the bacteria to fill the entire test tube, on 14th day it would had filled half of the tube, on 13th day it would had filled a quarter of the tube and so on. Now 1/3th comes somewhere in middle between quarter and half filling of the tube. Hence the bacteria would need somewhere between 13 to 14 days to fill 1/3th of the jar.

 
26)Pick the odd man out from the following : 
    a) elation 
    b) frenzy
    c) enthusiasm
    d) despair

Answer:
"despair" would be the obvious answer. All the other options are synonyms with ecstasy while despair is a clear antonym of ecstasy.You should have reasonably good vocabulary to tackle any placement question of this kind.


27)Ram travels by car from city A to city B heading towards north in 4 hours. From there he travels west to City C in 3 hours. Say his average speed is same during both the courses. Now from C he travels back to A in shortest path possible. How much time he would had taken to reach A from C.

Answer:
Again this is a very simple question which appears difficult. The entire course of Ram takes the form of a right angled triangle. Hence the time taken for him to travel back to A would be sqrt(3^2 + 4^2) = sqrt(25) = 5 hours.

Wipro technical questions,technical interview questions

Below are few sample Wipro tech questions. Generally, you can expect few questions which would ask you to explain primary differences between protocols, technologies, languages, concepts etc. Below are four questions for your practice.

Interview Question 1
Can you say few differences between Unicode character encoding and that of ASCII ?

Answer 1
Unicode uses 16 bits to encode characters and symbols whereas ASCII uses only 8 bits. Unicode has become a universal standard due to the fact that they can represent far great letters than ASCII. Unicode can be used hassle free to encode several regional languages other than English.

Interview Question 2
With reference to DBMS like Oracle or Sybase, can you tell the differences between shared and exclusive locks ?

Answer 2
Multiple transactions use shared locks during database read operations (SELECT Queries) as no data modification is involved. However if a transaction wants to change value of column/columns in single or multiple rows, it acquires an exclusive lock which will not be open to other transactions simultaneously.

Interview Question 3
Can you tell the primary difference between applets and conventional web applications ?

Answer 3
Applet is a program that would be downloaded to browser and run on local CPU whereas web applications get executed on server.

Interview Question 4
In the context of memory management schemes, can you tell a primary difference between swapping and paging?

Answer 4
Paging refers to writing and reading individual pages (fixed size) of a program to secondary memory (during program execution). Swapping refers to swap an entire program with another in secondary memory during heavy resource utilization.



Wednesday, 13 April 2011

Top 5 skills that five a job in your dream company

Have you ever thought that you are short on skills that are required to get you a job with a dream company ? This is a very important point for those from not a very good college where there are sparse campus placements. Once you step out of college and you look for jobs, its not going to be as easy as campus placements. You will have to be at your best in your placement tests and interviews. Also, equally important is that you have a real good skill set that companies would want.


Lets discuss top 5 skills that could get you jobs in today's scenario. A couple of the given below skills can very well be good enough for your first job.

1. Dot Net

How often you have seen job advertisements carrying "Dot Net Jobs" in their title. Undoubtedly, Dot Net is one of the most used technologies in India starting from IT giants to medium sized companies to small ones. Some technologies you would be required to learn include C sharp, VB, VC++, ASP dot Net etc.

2. J2EE

J2EE is not far behind. Deployment costs being much lower than dot net is seeing many players increasing the strength of J2EE teams comparable to that of Dot Net teams. A good knowledge in JAVA programming along with decent knowledge in J2EE server side programming on servers like JBoss, Tomcat etc can help you a lot.

3. Software Testing

Software testing has grown as a separate industry in itself. A good knowledge in usage of various software testing toos like load runner can very well be liked a lot by testing companies.

4. Animation and Flash

If you have a passion towards being creative at work, then animation could be the best choice for you. India is slowly growing into an animation hub with huge volumes of projects being outsourced to India. The beauty of this field is that, unlike several other fields, there is a huge domestic demand for animation experts. A good knowledge in animation tools like maya, 3d studio max, blender can get you specialized jobs.

5. DBA Jobs

Database administration is a field that is evergreen and you can be assured that no recession is going to affect these jobs. One or two oracle certifications can help you a lot in searching for DBA jobs.

How to prepare well for interviews

While preparing well for interviews is very important, equally important is that you carry out your interview successfully to the fullest satisfaction of the people in interview panel. Some youngsters tend to get too nervous during interviews. The panel members will not be impressed if you are shaky in your answers. Instead they would love cool and composed people.

Below are three golden qualities to develop that can help during interviews.


Quality 1 : Listen Carefully or at least Pretend To Listen

Due to nervousness several youngsters tend to get into a "hurry n rush" syndrome where they will not even have the patience to listen to the questions. They would interrupt and start answering in a hasty fashion. Instead you should listen carefully to the question, take a pause, then you should start giving your answers. If you don't understand the question well, no matter, be clever enough to at least pretend that you are listening carefully.



Quality 2 : Companies want practical people and not imaginative ones

9 out 10 times, you would be asked about your long term goals if you were given an opportunity in the company. Any practical answer like expressing your willingness to learn new technologies, learn new domains would be smart enough. Instead don't get too imaginative by trying out answers like "I would become the President of the company' in another 20 years.


Quality 3 : Keep Your Answers Up to The Point

Say you are asked a question that you knew very well. You are capable of answering even for an hour on that question. But, a sincere advice to you is that, keep your answers short and up to the point. Don't forget, unwanted elaborate answers can motivate the panel to fire more in-depth questions on the same subject, regardless of their knowledge on the subject. This can at times land you in trouble.