Showing posts with label WIPRO Aptitude Placement Paper. Show all posts
Showing posts with label WIPRO Aptitude Placement Paper. Show all posts

Friday, September 23, 2011

The Top IT Company Solved Placement Papers 1

Interior of Ben Hill Griffin Stadium, also kno...Image via Wikipedia4 Sample CTS Type Interview Questions

Dear Reader, In CTS interviews, you can expect to be quizzed on conceptual questions. Below are four sample questions for your practice.

Interview Question 1

How inline functions are interpreted by the compilers ? What could be the main use ?

Answer 1

When inline functions are used compilers are expected to expand the function in every place of call. This approach saves time when there are lots of function calls.

Interview Question 2

Which among the following is preferred for embedded applications, microprocessors or microcontroller?

Answer 2

Microcontrollers are used for embedded applications.

Interview Question 3

In SDLC, what is black box testing (which comes under testing phase) ?

Answer 3

Black box testing is nothing but testing the actual functionality of a module/program at a high level. Here one may test different outputs for different sets of inputs. Also the one may not worry about the module/program internals under testing.

Interview Question 4

In SDLC, which is the testing phase that takes care that client requirements are actually met after installing the application on the site ?

Answer 4

UAT or User Acceptance Testing is the concerned testing phase.

Dear CV Reader, Are You Preparing Seriously For Your Placement Tests ?


3 TCS Sample Networks Related Interview Questions


Dear Reader, you can always expect questions from computer networks.Below are three sample Interview Questions.

Question 1

Which is the protocol used for communication between network managing computer and all other computers or devices within the same network ? Hint : This is an application layer level (in OSI) protocol.

Answer 1

Answer is SNMP - Simple Network Management Protocol.

Question 2

Say there are two similar programs installed on Unix and Windows systems in a network. If these programs require data to be passed back and forth across the network, Which of the OSI layers will be responsible for handling platform differences ? Hint : This layer is also capable of inclusion of encryption services.

Answer 2

Answer is Presentation Layer.

Question 3

Name a simple protocol that is very widely used in measuring time taken for a server to respond to a request in network ? Hint : With this protocol one can check if a remote server is actually connected/active.

Answer 3

Answer is Ping Protocol.

Dear CV Reader, Are You Preparing Seriously For Your Placement Tests ?


CTS 3 Sample Sequences Questions

In CTS you can expect few questions from sequences. Though generally easy to crack, these questions require good concentration on your part, else could get tricky.

Placement Question 1

Find the next pair in the sequence - AB CA FB JA

Options : 1) OB 2) OC 3) NA 4) NB

Answer 1

Answer is option 1) OB.

Reason.

Consider the first terms of the sequence A,C,F,J... Here C is one next A, F is two next C, J is three next F and so on. Hence next alphabet would be O (which is four next J). Consider second terms B,A,B,A... Hence this is an alternating sequence of Bs and As. Hence next alphabet would be B.

Based on the above two statements, the answer is OB.

Placement Question 2

Find the next pair of alphabets in the sequence - AB EC ID OE

Options : 1) LF 2) UF 3) UG 4) LE

Answer 2

Answer is option 2) UF.

Reason.

Consider the first terms of the sequence A,E,I,0... Have you seen this somewhere ? :). Yes, this is our good old sequence of vowels. Hence next vowel would be U.

Consider second terms B,C,D,E... This is a plain sequence of alphabets in order. Hence next one would be F. Combining above two statements answer is UF.

Placement Question 3

(Easy Question) Find the next alphabet in the sequence... A,Z,B,Y,_,X ?

Options : 1) D 2) C 3) F 4) G

Answer 3

You would had already guessed. Yes, it is option 2) C.

Reason

Consider the second, fourth and last alphabets. They are Z,Y and X which are the last three alphabets. Similarly consider the first and third terms - A and B. These are the first two alphabets. Hence logically the blank should be occupied by C which is the third alphabet from the start.

Wipro 3 Sample C Basics Interview Questions

During Wipro interviews, you can expect few questions touching the basics of C. These may not be difficult, but would require a good understanding of the basics. Let us discuss 3 sample questions which can help during your interviews.

Interview Question 1

Tell one good programming requirement that illustrates the fact that C is a strongly typed language ?

Answer 1

C involves variable declarations before their usage. This makes it clear that C is strongly typed.

Interview Question 2

Consider a weather report application in C where any change in temperature by +- 2 degrees will be constantly reported to the system and the application should store the times of the day when these changes took place. Which is a better data structure to be used in this scenario - an array or a linked list ?

Answer 2

Linked List would handle dynamically growing data very well when compared to arrays. Hence it would be a better choice.

Interview Question 3

Can one use arrays to implement stacks or queues over linked lists ? Is it feasible ?

Answer 3

Thought linked lists are commonly used for implementing stacks or queues, with good programming logic, arrays can also be used to implement those. However, as you would expect, linked lists are far more efficient in this scenario.


4 CTS Sample Interview Easy Questions

You can expect technical questions from various subjects like sql,microprocessors,algorithms and their complexities etc during CTS interviews. Below are few sample questions (easy) for your practice.

Interview Question 1

Can u tell a simple difference between candidate keys and primary key ?

Answer 1

Both candidate and primary keys uniquely identify a row in a table. However, only one can be chosen as primary key, while there can be many candidate keys.

Interview Question 2

Is semicolon mandatory at the end of a block statement in C ?

Answer 2

No, semicolon is not essential at the end of a block statement. For example, consider a statement of the form if(x==5){...some statements...}
In the above statement, there is no need for semicolon after the closing '}'.

Interview Question 3

Consider there are two programs written respectively using two algorithms A and B. Say A has a complexity of n^2 and the other has a complexity of n/2. Given the same number of inputs which would take longer time to run.

Answer 3

First program written using algorithm A will take longer time. Higher the order of complexity, longer the time taken for execution.

Interview Question 4

How microcontroller is different from microprocessor with respect to hardware and memory requirements ?

Answer 4

Microcontroller, unlike microprocessor, is self contained with necessary hardware like I/O, memory etc embedded to it.

Enhanced by Zemanta

The Top IT Company Solved Placement Papers

GLASGOW, SCOTLAND - FEBRUARY 12:  A general vi...Image by Getty Images via @daylifeWipro Type Time & Work Problems

Time & Work is a favourite area considering placement test of any big company like Wipro. You can always expect few questions from time and work section. Though tagged as wipro sample paper, one can expect these kinds of questions in other papers as well.

Question 1

Consider three people A,B and C. Let A and B can finish a job in 21 days, B and C in 14 days and A and C in 28 days. Who will take the least time when working independently ?

Options : 1) A 2) B 3) C 4) Can't be determined

Answer 1

Correct answer is B

Consider WA, WB and WC be the work done per day by A,B and C respectively. Then

WA + WB = 1/21 -- eq 1

WB + WC = 1/14 -- eq 2

WA + WC = 1/28 -- eq 3

Eq 2 - Eq 3 will give

WB - WA = 1/14 - 1/28 = 1/28 -- eq 4

Eq 1 + Eq 4 will give

2WB = 1/21 + 1/28 = 7/84

WB = 7/168

Sub value of WB in eq 1, we get

WA = 1/21 - 7/168 = 1/168.

Sub value of WA in eq 3, we get

wc = 1/28 - WA = 1/28 - 1/168 = 5/168

Since WB (work done by B per day) is greater when compared to WA and WB clearly B will be able to the maximum work on any given day and hence he should consume least amount of time when working independently.

Question 2

Consider two postmen A and B respectively. A is young and can deliver 20 parcels in 3 hours while B is older than A and can deliver only 15 parcels in 4 hours. If the total number of parcels to deliver is 60, how long they will take working together.

a. 121/12 hours b. 144/36 hours c. 144/25 hours d. 121/25 hours

Answer 2

Correct ans is option c. 144/25 hours.

A can deliver 20 parcels in 3 hours. Hence for 1 hour he can deliver 20/3 parcels.
B can deliver 15 parcel in 4 hours. Hence for 1 hour B needs 15/4 parcels.

When A and B work together, for 1 hour they can deliver, 20/3 + 15/4 parcles = 80 + 45 /12 = 125/12 parcels.
Hence to deliver 60 parcels they would require : 60 X 12/125 = 720/125 = 144/25 hours

Question 3

Consider a courier company A which can deliver 100 parcels in 5 days with 5 men working for 8 hours a day. Consider another courier company B where every employee is equally effecient as that of company B. Company B is short of one man when compared to A and has a policy of asking its workers to work only for 6 hours a day. How long (in days) company B will take to deliver 100 parcels.

Options : a. 8.3 b. 24 c. 12 d 6.6

Answer

Correct answer is a. 8.3 days

Total amount of work W = N x D X W

where N = number of men, D = number of days, W = amount of work per day

Applying the above formula for company A we get,

Work done by company A to deliver 100 parcels = 5 X 5 X 8 = 200 -- eq 1

Work done by company B to deliver 100 parcels = 4 X D x 6 = 24D -- eq 2

Since the work to be done is same in both the cases, eq 1 = eq2

or 200 = 24D or D = 8.3



4 Sample TCS Sentence Completion Questions


Dear Reader, sentence completion questions are the ones asking you to find contextually correct words (synonyms) to fill the given blanks. These types of placement questions can be expected on papers of several companies including TCS. Hence it is very essential to develop your vocabulary and the ability to pick the correct word in context.

Question 1

Value of currency started increasing which ultimately kick started __ (a. deflation / b. depreciation / c. disinflation) in economy.

Answer : a. deflation

Reason :Deflation is the term used to denote a fall in prices of goods indicating currency value rise. Though disinflation could appear close in context, it actually means a slow rise in inflation rather than an exact opposite of inflation.

Question 2

The introduction of number zero to mathematics is considered to be one of the greatest __ (a. innovations / b. inventions / c. discoveries) of all times.

Answer: a. innovations

Reason : Innovation means a change that could be considered to have brought a great positive change in some field. Hence innovation fits the context well. However, invention means to invent something new and discovery means to find something unknown.

Question 3

__ (a. incentives / b. bonuses /c. gifts) generally motivate people to carry out tasks in an efficient manner.

Answer: a. Incentives

Reason : Incentive means a motivating factor that encourages people to carry out their tasks efficiently. Though bonuses and gifts closely suit the context, they generally mean only monetary benefits whereas incentive can mean even non monetary benefits like appreciation.

Question 4

___ (a. Idiom / b. Connotation /c. Paradox) refers to words implying different meaning than the actual literal meaning.

Answer : b. Connotation

Reason : Connotation is where words actually mean something but their implied meaning would be different. For example think of the words 'warm reception'.


Wipro Type Conceptual Interview Questions

Dear Reader, in Wipro technical interviews, you may not only expect questions from facts but also you can expect questions asking you to explain the concepts. Below are 3 sample technical interview questions that can be used by you to prepare for Wipro and other similar interviews.

Question 1

In software applications, especially in JAVA based applications, how design patterns help after a problem/requirement is identified ?

Answer 1

Design pattern can be treated as a way or template to solve a problem depending upon the nature of the problem/requirement. Though they themselves cannot solve a problem, they provide greater insights into the best possible ways to solve them.

Question 2

Say two programs essentially dealing with solving same problem through similar algorithms. Let A be written using pointers and B be written using arrays. Which one will be memory efficient and which will be more readable.

Answer 2

A will be more memory efficient than B and B will be more readable than A. Reason : generally pointers are more memory efficient when used by an experienced programmer. And arrays are generally easily readable and can be easily understood by even beginner level programmer.

Question 3

What is the integrity constraint in SQL which when used ensures that values in a column of a table have a corresponding member on another column of another table.

Answer 3

Foreign Key is the answer (self explanatory as the question itself has got the explanation)


TCS Type 3 Facts & Concepts Interview Questions

You could expect questions on TCS interviews asking you to pick and explain a right answer based on the choices presented before you. These types of questions are not only limited to TCS but can be expected on several other companies placements/interviews as well.

Question 1

Which of the C variable qualifiers amongst const and Volatile provides more data safety ? Explain the reason.

Answer 1

const is the qualifier that provides more data security by throwing error when an accidental attempt is made to modify the same.

Question 2

Which is more memory efficient in generic sense - Arrays or Linked Lists ?

Answer 2

Actually, there is no significant difference in memory requirement for arrays and linked lists as both increase with increase in data. (However, linked lists are generally easier to work with dynamic data)

Question 3

Among function declaration and function definition which of the following gives first hand information to the compiler about its return data type and arguments.

Answer 3

Function declaration is the answer, as it precedes function definition. With function declaration, the compiler can get to know about its return data type, the number and type of the arguments etc.

Enhanced by Zemanta

Tuesday, August 9, 2011

Aptitude test


Questions = 50; time limit = 50 minutes. No negative marking. Offline (paper & pen) test. There was individual cut off for all the sections

Section 1: English, 15 questions

Direction 1-5: In each of the following questions, find out which part of the sentence has an error. If there is no mistake the answer is 'no error'

1. Twice twelve / makes / twenty four / No error

A B C D

Ans: B

2. The flight purser took control / of the plane after / the pilot had had / a heart attack / No error

A B C D E

Ans: C

3. My friend did not see me / for many years / when I met him last week / No error

A B C D

Ans: A

4. We grieve our loss and cry helplessly / while we should be fighting for our rights / and die a noble death / No error

A B C D

Ans: B

5. Work hard / lest you will / fail / No error

A B C D

Ans: D

Directions 6-10: The following questions consist of two words each that have a certain relationship to each other, followed by four lettered pairs of words. Select the lettered pair that has the same relationship as the original pair of words.

6. Kangaroo: Australia

A) Whale: River B) Elephant: Russia C) Penguin: Antarctica D) India: Peacock

Ans: C

7. Coronation: Reign

A) Vaccination: Immunity B) Sculptor: Statue C) Degree: Graduate D) Summer: Rain

Ans: D

8. Grain: Salt

A) Chip: Glass B) Blades: Grass C) Shred: Wood D) Shard: Pottery

Ans: A

9. Scythe; Reaping

A) Light: Shining B) Shears: Cutting C) Saws: Gluing D) Screws: Turning

Ans: B

10. Dislike: Repulsion

A) Dream: Sleep B) Steal: Crime C) Reputation: Behavior D) Intelligence: Wit

Ans: D

Directions 11-12: In each of the following questions, a sentence has been given in Active (or passive) voice. Out of the four alternatives suggested select the one which best express the same sentence in Passive (or Active) Voice.

11. His pocket has been picked.

A) They have his pocket picked

B) Picking has been done to his pocket

C) Picked has been his pocket

D) Someone has picked his pocket.

Ans: D

12. Someone gave her a bull dog.

A) She was given a bull dog.

B) a bull dog was given to her

C) She has been given a bull dog

D) She is being given a bull dog by someone

Ans: B

Directions 13-15: Pick out the most effective word from the given words to fill in the blank to make the sentence meaningfully complete

13. He succeeded in getting possession..............his land after a long court case

A) For B) to C) of D) with E) against

Ans: C

14. Now a day Rajani is .............busy to take care of her health.

A) Very B) too C) so D) extremely

Ans: B

15. Had the police not reached there in time the bandits him

A) Did have killed B) will have killed C) would kill D) would have killed

Ans: D

Section 2: Aptitude 15 questions

The questions 1-5 are based on the following data six knights - P, Q, R, S, T and U - assemble for a long journey in two traveling parties. For security, each traveling party consists of at least two knights. The two parties travel by separate routes, northern and southern. After one month, the routes of the northern and southern groups converge for a brief time and at that point the knights can, if they wish, rearrange their travelling.


Parties before continuing, again in two parties along separate northern and southern routes. Throughout the entire trip, the composition of traveling parties must be in accord with the following conditions P and R are deadly enemies and, although they may meet briefly, can never travel together.
P must travel in the same party with S
Q can't travel by the southern route
U can't change routes

1. If one of the two parties of knights consists of P and U and two other knights and travels by the southern route, the other members of this party besides P and U must be
a) Q and S
b) Q and T
c) R and S
d) R and T
e) S and T

Ans: e

2) If each of the two parties of knights consists of exactly three members, which of the following is not a possible traveling party and route?

a) P,S,U by the northern route
b) P,S,T by the northern route
c) P,S,T by the southern route
d) P,S,U by the southern route
e) Q,R,T by the southern route

Ans: b

3) If one of the two parties of knights consists of U and two other knights and travels by the northern route, the other members of this party >besides U must be

a) P and S
b) P and T
c) Q and R
d) Q and T
e) R and T

Ans: c

4) If each of the two parties of knights consists of exactly three members of different parties, and R travels by the Northern route, then T must travel by the

a) southern route with P and S
b) southern route with Q and R
c) southern route with R and U
d) northern route with Q and R
e) northern route with R and U

Ans: a
5) If, when the two parties of knights encounter one another after a month, exactly one knight changes from one traveling party to the other traveling party, that knight must be

a) P b) Q c) R d) S e) T

Ans: e

6. X varies inversely as square of y. Given that y = 2 for x = 1. The value of x for y = 6 will be equal to

A) 3 B) 9 C) 1/3 D) 1/9

Ans: D

7. If 10% of x = 20% of y, then x: y is equal to

A) 1: 2 B) 2: 1 C) 5: 1 D) 10: 1

Ans: B

8. A starts business with Rs.3500 and after 5 months, B joins with A as his partner. After a year, the profit is divided in the ratio 2 : 3. What is B's contribution in the Capital?

A) Rs. 7500 B) Rs. 8000 C) Rs. 8500 D) Rs. 9000

Ans: D

9. Ronald and Elan are working on an assignment. Ronald takes 6 hours to type 32 pages on a computer, while Elan takes 5 hours to type 40 pages. How much time will they take, working together on two different computers to type an assignment of 110 pages?

A) 7 hours 30 minutes B) 8 hours C) 8 hours 15 minutes D) 8 hours 25 minutes

Ans: C

10. A and B can do a piece of work in 72 days; B and C can do it in 120 days; A dn C can do it in 4 days. Who among these will take the least time if put to do it alone?

A) 80 days B) 100 days C) 120 days D) 150 days

Ans: C

11. A cistern can be filled by a tap in 4 hours while it can be emptied by another tap in 9 hours. If both taps are opened simultaneously, then after how much time will the cistern get filled?

A) 4.5 hours B) 5 hours C) 6.5 hours D) 7.2 hours

Ans: D

12. Pipe a can fill a tank in 5 hours, pipe B in 10 hours and pipe C in 30 hours. If all the pipes are open, in how many hours will the tank completely?

A) 6 min. to empty B) 6 min to fill C) 9 min. to empty D) 9 min. to fill

Ans: C

13. A thief steals a car at 2.30 p.m and drives it at 60 kmph. The theft is discovered at 3 p.m and the owner sets off in another car at 75 kmph. When will be overtake the thief.

A) 4.30 p.m B) 4.45 p.m C) 5 p.m D) 5.15 p.m

Ans: E

14. Two trains starting at the same time from two stations 200 km apart, and going in opposite directions cross each other at a distance of 110 km from one of the stations. What is the ratio of their speeds?

A) 9: 20 B) 11: 9 C) 11: 20 D) None of these

Ans: B

15. Two trains each 100 m long, moving in opposite directions, cross each other in 8 seconds. If one is moving twice as fast the other, then the speed of the faster train is

A) 30 km /hr B) 45 km / hr C) 60 km/hr D) 75 km/hr

Ans: C

Section 3: Technical, 20 questions

Predict the output or error(s) for the following:

1. main()
{
char string[]="Hello World";
display (string);
}
void display (char *string)
{
printf("%s",string);
}
Ans: Compiler Error: Type mismatch in redeclaration of function display

2. What are the values printed by the following program?

#define dprint(expr) printf(#expr "=%d\n",expr)

main()
{
int x=7;
int y=3;
dprintf(x/y);
}

a) #2 = 2 b) expr=2 c) x/y=2 d) none

Ans: c

3) Parameterization generally involves
a. Data table
b. Random number
c. Environment
d. Both A & B
e. Both A, B & C

Ans: e

4) The file which is used for recovering from the run time errors known as
A. QRS B. TSR C. PNG D. DAT
Ans: A

5) Among the following recording modes, which method uses both the objects and mouse coordinates
a. Normal b. Low level c. Analog d. All of the above

Ans: b

6) Where do you set the action iterations for a specified action?
a. Action Settings
b. Action Properties
c. Action Run Properties
d. Action Call Properties

Ans: d

6) Where do you mark an action as reusable?
a. Action Settings
b. Action Properties
c. Action Run Properties
d. Action Call Properties
Ans: b

7) After running a test that contains both input and output parameters, where can the results of an output parameter be found?
a. Local Data Sheet
b. Global Data Sheet
c. Run-time Data Table
d. Design-time Data Table
Ans: c

8) If you have a Virtual Object Collection stored on your machine, and you don’t want to use it what you must do?

a. Disable Virtual Objects in Test Settings
b. Remove the Collection from your machine
c. Disable Virtual Objects in General Options
d. Remove the Collections from the Resources list
Ans: c


9. For a 25MHz processor, what is the time taken by the instruction which needs 3 clock cycles,

(a) 120 nano secs (b) 120 micro secs

(c) 75 nano secs (d) 75 micro secs
Ans: a

10. For 1 MB memory, the number of address lines required,

(a) 11 (b) 16 (c) 20(d) 24

Ans. (c)

11. Semaphore is used for

(a) synchronization (b) dead-lock avoidance (c) box (d) none

Ans. (a)

12. OLE is used in

a) Inter connection in UNIX

b) Interconnection in WINDOWS

c) Interconnection in WINDOWS NT

d)None

Ans: c

13. Preprocessor does not do which one of the following
(a) macro (b) conditional compliclation
(c) in type checking (d) including load file
Ans. (c)

14. Piggy backing is a technique for
a) Flow control b) Sequence c) Acknowledgement d) retransmission
Ans. (c)

15. In signed magnitude notation what is the minimum value that can be represented with 8 bits
(a) -128 (b) -255 (c) -127 (d) 0
Ans: a

17. When an array is passed as parameter to a function, which of the following statement is correct

a) The function can change values in the original array
b) In C parameters are passed by value. The function cannot change the original value in the array
c) It results in compilation error when the function tries to access the elements in the array
d) Results in a run time error when the function tries to access the elements in the array

Ans: a

18. The type of the controlling statement of a switch statement cannot be of the type

a) int b) char c) short d) float e) none
Ans: d

19. What is the value of the statement (3^6) + (a^a)?

a) 3 b) 5 c) 6 d) a+18 e) None

Ans: b

20. Consider the following program:

# include
class x {
public:
int a;
x();
};
x::x() { a=10; cout<
class b:public x {
public:
b();
};
b::b() { a=20; cout<
main ()
{ b temp;
}

21. What will be the output of this program?

a) 10 b) 20 c) 2010 d) 1020
Ans: b
Enhanced by Zemanta

Saturday, August 6, 2011

WIPRO Aptitude Placement Paper



1) abcD+abcd+aBCd+aBCD
then the simplified function is
( Capital letters are copliments of corresponding letters
A=compliment of a)

[a] a [b] ab [c] abc [d] a(bc)* [e] mone
(bc)*=compliment of bc

Ans: e

-------------------------------------
2) A 12 address lines maps to the memory of

[a] 1k bytes [b] 0.5k bytes [c] 2k bytes [d] none

Ans: b

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

Ans: b

-----------------------------------------
4) 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

Ans : b
----------------------------------------

5) Return address will be returned by function to
[a] Pushes to the stack by call
Ans : a
------------------------------------------
6)
n=7623
{
temp=n/10;
result=temp*10+ result;
n=n/10
}

Ans : 3267
----------------------------------------------
7) If A>B then
F=F(G);
else B>C then
F=G(G);
in this , for 75% times A>B and 25% times B>C then,is 10000 instructions
are there ,then the ratio of F to G
[a] 7500:2500 [b] 7500:625 [c] 7500:625 if a=b=c else
7500:2500
--------------------------------------------------
8) 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

Ans: a
---------------------------------------------------------
9) C program code

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

Ans: b
Enhanced by Zemanta

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Justin Bieber, Gold Price in India