Friday, February 12, 2016
Betty White’s Deadpool Review Is Hilarious
Monday, July 16, 2012
LINK LIST IN DATA STRUCTURE
LINK LIST IN DATA STRUCTURE
Linked list is the most basic form of a data structure. A linked list is more or less similar to an array in that it can hold a list of values. But the similarity ceases here. The major difference between a linked list and array is that an array can hold values belonging to the same data type only whereas there is no such restriction on a linked list. For example, if an array is declared with type as int in C language, it can hold only integer values. Coming to a linked list, as it is a data structure, there is seldom any type associated with it. Apart from the above difference, there is one more difference that makes linked lists more versatile. It is not only possible to create linear linked lists but also circular linked lists i.e., the last element of the list can be made to point to the first. Another difference is that the memory to be allocated to a linked list can be specified dynamically i.e., we need not mention the number of elements in the linked list at the time of compilation. This facility may also be available for arrays in some languages but is not widely used. The most basic form of a linked list is created by creating a structure with one data element and a pointer to point to the next element in the data structure. The pointer of the last element is intialised to null to avoid it to point to some junk value if its a linear linked list. On the contrary, if it is a circular linked list, the pointer of the last element is made to point to the first element in the list. The above type of list allows traversing in only one direction. If we want bi-directional traversal, then we can create a structure with two pointers where one pointer is made to point to the previous element and the other point to the next element in the list. Modifications are made as stated above for a simple linked list to convert this to a circular list. Accordingly the above two types of lists are sometimes called single linked list and double linked list. Instead of using a single data element, we can use any number of data elements with several different data types within the structure. We may also use arrays as data elements of the linked list. An element in a linked list is often called a node. It is possible to add/delete nodes from any position within the linked list. According to the operation selected, the pointers need to be updated appropriately. Giving a C program to create a linked list would make this response too big as the programs to create linked lists often run more than hundred lines. Nevertheless, they are simple and can be easily understood once the concept is known. For further information and programs, you can refer to standard text books like Data
The link list in computer data structure program consists of sequence of data records with reference data field in each record in order to link each data record to the subsequent data field.
The link list grows when data is added and shrinks when data is deleted in the list. Hence link list is known as dynamic data structure in conjunction with dynamic memory management techniques.
Link list in data structure have flexibility in adding, deleting or rearranging data at run time permitting additional memory space and releasing unused memory space in order to optimum use of storage space.
Linked List is a complex dynamic data structure which contains of nodes having two parts data and next. Next is just a pointer pointing to the next node in the list. If the list is empty next just point ot NULL. There are different types of linked list namely Singly, Doubly and Circular. Singly Linked List is the list which can be traversed in one direction only and whose last last node of the list points to NULL. Doubly Linked list has two pointers PREV and NEXT.This list can be traversed in both the directions. PREV of the first node of doubly linked list always points to NULL and also the NEXT of last node points to NULL. Circular Linked List is the one whose last node points to the first instead of to the NULL. The different operations that can be performed on list are. INSERT:- We can dynamically insert any node at any desired position into the list. DELETE:- Similar to insertion, deletion can also be accomplished dynamically. TRAVERSE:- Traversing is just trvelling through the list visiting each node. As each thing has pros and cons, the only drawback of linked list is randomly accessing of element which can be achieved through array index in array but not in linked list.The good thing about linked list is its runtime expandability which proves its flexibility.
Linked List is a Data storage mechanism in which list of data is stored in linear order. Linked list contains collection of nodes, each node contains data part and address part in which the next node address is stored. Each node in link list contains address of next node except the last node because last node contains the NULL pointer which indicates the end of list. Linked list has following types: 1. Singly Link List 2. Doubly Link List 3. Circular Link List
Link list data structure is created using the Structure of C as given below: struct list { int data; struct list *next; }; The dynamic node is created using malloc() and calloc() functions available in C language and new operator is used in case of C++. The following Operation can be performed on link list: 1.Insert element 2.Delete Element 3.Find Sum of All elements 4.Count number of node in list 5.Search any element 6.Reverse the list 7.Make copy of list 8.Merger two list 9.Update element Link list is widely used by various real life applications.
Linked List is basically a linear list of Elements which are linked to one another with some means of links, and hence it is known as linked list.
Each element in the list is known as Node.
And each node in the have at least two parts:-
1. Data Part
2. Link part
Data Part:- This part of every node of the list contains the information stored in that node of the list
Link Part:- This part of the node contains the memory address of the next node in the linked list.
For Example:Implementation of linked list node in C Language
Struct Node
{
int RollNo;//Data Part
int Marks;//Data Part
struct Node *link;//Address of the next Node
};
Note that the linked list contains a special node called the START which contains the address of the first node in the linked list.
if START == NULL
then it means that the linked list is Empty.
Linked List is a structure in data structures having a number of nodes that stores information as well as the pointer field that points to the next record to be processed. The pointer is basically a address that is used to access the next information part within a linked list. The last pointer field is filled using NULL character means there is no way further. So, it indicates the end of the linked list. Various algorithms are there to insert or delete nodes in a linked list.
It may be:
Insert element at the starting of linked list,
Insert element at the end of linked list,
Insert element at the middle of linked list,
Delete element at the starting of linked list,
Delete element at the end of linked list,
Delete element at the middle of linked list,
linked list a data structure which stores data in the form of nodes.It does not require linear memory as arrays. Each node contains a data part and a pointer part(a pointer to the next data in the list)
link or node is object of a class.there are so many types of linked list 1) single linked list
2)doubly linked list
3)circular linked list.
single linked list:
here links contains pointer to first data and last data in the list.As said earlier a pointer to the next data.
example of a linked list:
class node{// all nodes will be the objects of this class
public int data;
public link next_node;//a pointer to next data
}
public node(int data){
this.data=data;
}//end of constructor
public void showdata(){
System.out.println("data= "+data);
}
}//end of class node
After defining class for each node we need to define a class for link list. Link list contains a pointer to the first node in the list,Which should be initialized to null in the beginning. All the operations to be performed on the link list is defined as functions in this class. For example insert first,Delete,insert search etc.
class linkedlist{
private node first_node;//pointer to the first node is defined
public linkedlist(){
first_node=null;
}
public void add_DAta(int data1){
//create newnode in the memory and store data
node newnode= new node(data1);
//initially first data is null
//set the current first as the next node of the new node
newnode.next_node=first;
//set newnode as the first node
first_node=newnode;
}
}//end of class
Doubly link list:
This allows us to traverse backward and forward through the list . Here this a pointer to previous node i.e the class node in our example will have one more pointer to the previous node.
There is pointer to the last node in the list i.e class linkedlist contains pointer to last node in the list.
Circular linklist:
As the name indicate we can traversethe list i circular fashion that from first node to last node and back to firat node in the same direction. Last node will have a pointer to first node.
Friday, September 23, 2011
The Top IT Company Solved Placement Papers 1

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.
Related articles
- 50 Common Interview Questions and Answers (aptitudesquestions.blogspot.com)
- Interview Questions and Answer on .Net,C#,ASP.NET,SQL Server (aptitudesquestions.blogspot.com)
- Java interview questions and answers (aptitudesquestions.blogspot.com)
- Interview Questions for C# (amjadsilverlight.wordpress.com)
- Interview Questions for Silverlight (amjadsilverlight.wordpress.com)
- BPO/Call Center : HR Interview Question and Answer (aptitudesquestions.blogspot.com)
- How to Answer 23 of the Most Common Interview Questions (aptitudesquestions.blogspot.com)
- BPO Interview Questions & Answers (aptitudesquestions.blogspot.com)
- Tech Mahindra Sample Aptitude Questions (aptitudesquestions.blogspot.com)
- 20 Craziest Job Interview Questions and the Right Answers (matthewsnewell.wordpress.com)
The Top IT Company Solved Placement Papers

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.
Related articles
- Wipro Type Time & Work Problems (aptitudesquestions.blogspot.com)
- Latest Recent 2010 Wipro Placement Paper (aptitudesquestions.blogspot.com)
- Wipro Placement Paper 2010:- (aptitudesquestions.blogspot.com)
- 2011 bpo aptitude questions (aptitudesquestions.blogspot.com)
- Infosys placement papers (aptitudesquestions.blogspot.com)
- Urgent Openings for Informatica in Wipro Technologies,Bangalore (referaljobs.wordpress.com)
- Business Object- openings with Wipro Technologies (referaljobs.wordpress.com)
- Wipro Pushes The Rural Frontier, Opens A Rural BPO Center In Tamil Nadu (trak.in)
- WIPRO Aptitude Placement Paper (aptitudesquestions.blogspot.com)
- WIPRO Aptitude Placement Paper 2 (aptitudesquestions.blogspot.com)
Friday, November 19, 2010
Aptitude Questions and Answers

Aptitude Questions and Answers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 mins and Pipe C can
empty the same in 40 mins.If all of them work together, find the time
taken 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 9 hours a day.How
many hour a day should 40 men work to complete the job?
(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 38 and 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 kms downstream in 4
hrs.Find the speed of the boat in still water and the speed of the
water 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 of side 12m by a rope
7m 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 a tube station. He
found that if he walks down 26 steps, he requires 30 seconds to
reach the bottom. However, if he steps down 34 stairs he would only
require 18 seconds to get to the bottom. If the time is measured from
the moment the top step begins to descend to the time he steps off
the last step at the bottom, find out the height of the stair way in
steps?
Ans.46 steps.
10. The average age of 10 members of a committee is the same as it was
4 years ago, because an old member has been replaced by a young
member. Find how much younger is the new member ?
Ans.40 years.
11. Three containers A, B and C have volumes a, b, and c respectively;
and container A is full of water while the other two are empty. If
from container A water is poured into container B which becomes 1/3
full, and into container C which becomes 1/2 full, how much water is
left in container A?
12. ABCE is an isosceles trapezoid and ACDE is a rectangle. AB = 10
and EC = 20. What is the length of AE?
Ans. AE = 10.
13. In the given figure, PA and PB are tangents to the circle at A and
B respectively and the chord BC is parallel to tangent PA. If AC = 6
cm, and length of the tangent AP is 9 cm, then what is the length of
the chord BC?
Ans. BC = 4 cm.
15 Three cards are drawn at random from an ordinary pack 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 kill between them
999919 mice. Every cat killed an equal number of mice. Each cat
killed more mice than there were cats. How many cats do you think
there were ?
Ans. 991.
17. If Log2 x - 5 Log x + 6 = 0, then what would the value / values of
x be?
Ans. x = e2 or e3.
18. The square of a two digit number is divided by half the number.
After 36 is added to the quotient, this sum is then divided by 2.
The digits of the resulting number are the same as those in the
original number, but they are in reverse order. The ten's place of
the original number is equal to twice the difference between its
digits. What is the number?
Ans. 46
19.Can you tender a one rupee note in such a manner that there shall
be total 50 coins but none of them would be 2 paise coins.?
Ans. 45 one paisa coins, 2 five paise coins, 2 ten paise coins, and 1
twenty-five paise coins.
20.A monkey starts climbing up a tree 20ft. tall. Each hour, it hops
3ft. and slips back 2ft. How much time would it take the monkey to
reach the top?
Ans.18 hours.
21. What is the missing number in this series? 8 2 14 6 11 ? 14 6 18 12
Ans. 9
22. A certain type of mixture is prepared by mixing brand A at Rs.9 a
kg. with brand B at Rs.4 a kg. If the mixture is worth Rs.7 a kg., how
many kgs. of brand A are needed to make 40kgs. of the mixture?
Ans. Brand A needed is 24kgs.
23. A wizard named Nepo says "I am only three times my son's age. My
father is 40 years more than twice my age. Together the three of us
are a mere 1240 years old." How old is Nepo?
Ans. 360 years old.
24. One dog tells the other that there are two dogs in front of me.
The other one also shouts that he too had two behind him. How many are
they?
Ans. Three.
25. A man ate 100 bananas in five days, each day eating 6 more than
the previous day. How many bananas did he eat on the first day?
Ans. Eight.
26. If it takes five minutes to boil one egg, how long will it take to
boil four eggs?
Ans. Five minutes.
27. 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.
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 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 %.
30. Find the least value of 3x + 4y if x2y3 = 6.
Ans. 10.
31. Can you find out what day of the week was January 12, 1979?
Ans. Friday.
32. 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.
33. 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.
34. 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.
35. A person walking 5/6 of his usual rate is 40 minutes late. What is
his usual time? Ans. 3 hours 20 minutes.
36.For a motorist there are three ways going from City A to City C. By
way of bridge the distance is 20 miles and toll is $0.75. A tunnel
between the two cities is a distance of 10 miles and toll is $1.00 for
the vehicle and driver and $0.10 for each passenger. A two-lane
highway without toll goes east for 30 miles to city B and then 20
miles 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 toll free highway
Ans. (a)
2. The most economical way of going from City A to City B, in terms of
toll 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 A every working day.
His firm deducts a percentage of employee pay for lateness. Which
factor would most influence his choice of the bridge or 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 additional 10 miles on the
bridge
Ans. (a)
4. In choosing between the use of the bridge and the tunnel the chief
factor(s) would be:
I. Traffic and road conditions
II. Number of passengers in the car
III. Location of one's homes in the center or outskirts of one of the
cities
IV. 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 necessarily in that order,
stand for seven consecutive integers from 1 to 10
D is 3 less than A
B is the middle term
F is as much less than B as C is greater than D
G 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 is less 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 is greater than E. T
can 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 much greater than the
smallest possible value of D?
(a) 2
(b) 3
(c) 4
(d) 5
(e) 6
Ans. (a)
38.
1. All G's are H's
2. All G's are J's or K's
3. All J's and K's are G's
4. All L's are K's
5. All N's are M's
6. No M's are G's
1. If no P's are K's, which of the following must be true?
(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 deduced from the conditions
stated?
(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 or more of the
conditions?
(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" is
I. Logically deducible from the conditions stated
II. Consistent with but not deducible from the conditions stated
III. Deducible from the stated conditions together with the additional
statement "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 justice parties have
fought three civil wars in twenty years. TO restore stability an
agreement is reached to rotate the top offices President, Prime
Minister and Army Chief among the parties so that each party controls
one and only one office at all times. The three top office holders
must each have two deputies, one from each of the other parties. Each
deputy must choose a staff composed of equally members of his or her
chiefs party and member of the third party.
1. When Justice party holds one of the top offices, which of the
following cannot be true
(a) Some of the staff members within that office are justice party members
(b) Some of the staff members within that office are democratic party
members
(c) Two of the deputies within the other offices are justice party members
(d) Two of the deputies within the other offices are conservative
party members
(e) Some of the staff members within the other offices are justice
party members.
Ans. (a)
2. When the democratic party holds presidency, the staff of the prime
minister's deputies are composed
I. One-fourth of democratic party members
II. One-half of justice party members and one-fourth of conservative
party members
III. One-half of conservative party members and one-fourth of justice
party 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 rules as stated:
(a) More than half of the staff within a given office belonging to a
single party
(b) Half of the staff within a given office belonging to a single party
(c) Any person having a member of the same party as his or her
immediate superior
(d) Half the total number of staff members in all three offices
belonging to a single party
(e) Half the staff members in a given office belonging to parties
different from the party of the top office holder in that office.
Ans. (a)
4. The office of the Army Chief passes from Conservative to Justice
party. Which of the following must be fired.
(a) The democratic deputy and all staff members belonging to Justice party
(b) Justice party deputy and all his or hers staff members
(c) Justice party deputy and half of his Conservative staff members in
the chief of staff office
(d) The Conservative deputy and all of his or her staff members
belonging to Conservative party
(e) No deputies and all staff members belonging to conservative parties.
Ans. (a)
40.In recommendations to the board of trustees a tuition increase of
$500 per year, the president of the university said "There were no
student demonstrations over the previous increases of $300 last year
and $200 the year before". If the president's statement is accurate
then which of the following can be validly inferred from the
information given:
I. Most students in previous years felt that the increases were
justified because of increased operating costs.
II. Student apathy was responsible for the failure of students to
protest the previous tuition increases.
III. Students are not likely to demonstrate over new tuition 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 presently consists of three
bookeepers--A, B, C and 5 secretaries D, E, F, G, H. The management is
planning to open a new office in another city using 2 bookeepers and 3
secretaries of the present staff . To do so they plan to seperate
certain individuals who don't function well together. The following
guidelines were established to set up the new office
I. Bookeepers A and C are constantly finding fault with one another
and should not be sent together to the new office as a team
II. C and E function well alone but not as a team , they should be
seperated
III. D and G have not been on speaking terms and shouldn't go together
IV Since D and F have been competing for promotion they shouldn't be a
team
1.If A is to be moved as one of the bookeepers,which of the following
cannot be a possible working unit.
A.ABDEH
B.ABDGH
C.ABEFH
D.ABEGH
Ans.B
2.If C and F are moved to the new office,how many combinations are
possible
A.1
B.2
C.3
D.4
Ans.A
3.If C is sent to the new office,which member of the staff cannot go
with C
A.B
B.D
C.F
D.G
Ans.B
4.Under the guidelines developed,which of the following must go to the
new office
A.B
B.D
C.E
D.G
Ans.A
5.If D goes to the new office,which of the following is/are true
I.C cannot go
II.A cannot go
III.H must also go
A.I only
B.II only
C.I and II only
D.I and III only
Ans.D
42.After months of talent searching for an administrative assistant to
the president of the college the field of applicants has been narrowed
down to 5--A, B, C, D, E .It was announced that the finalist would be
chosen after a series of all-day group personal interviews were
held.The examining committee agreed upon the following procedure
I.The interviews will be held once a week
II.3 candidates will appear at any all-day interview session
III.Each candidate will appear at least once
IV.If it becomes necessary to call applicants for additonal
interviews, no more 1 such applicant should be asked to appear the
next week
V.Because of a detail in the written applications,it was agreed that
whenever candidate B appears, A should also be present.
VI.Because of travel difficulties it was agreed that C will appear for
only 1 interview.
1.At the first interview the following candidates appear A,B,D.Which
of the follwing combinations can be called for the interview to be
held next week.
A.BCD
B.CDE
C.ABE
D.ABC
Ans.B
2.Which of the following is a possible sequence of combinations for
interviews in 2 successive weeks
A.ABC;BDE
B.ABD;ABE
C.ADE;ABC
D.BDE;ACD
Ans.C
3.If A ,B and D appear for the interview and D is called for
additional interview the following week,which 2 candidates may be
asked to appear with D?
I. A
II B
III.C
IV.E
A.I and II
B.I and III only
C.II and III only
D.III and IV only
Ans.D
4.Which of the following correctly state(s) the procedure followed by
the search committee
I.After the second interview all applicants have appeared at least once
II.The committee sees each applicant a second time
III.If a third session,it is possible for all applicants to appear at
least twice
A.I only
B.II only
C.III only
D.Both I and II
Ans.A
43. A certain city is served by subway lines A,B and C and numbers 1 2
and 3
When it snows , morning service on B is delayed
When it rains or snows , service on A, 2 and 3 are delayed both in the
morning and afternoon
When temp. falls below 30 degrees farenheit afternoon service is
cancelled in either the A line or the 3 line,
but not both.
When the temperature rises over 90 degrees farenheit, the afternoon
service is cancelled in either the line C or the
3 line but not both.
When the service on the A line is delayed or cancelled, service on the
C line which connects the A line, is delayed.
When service on the 3 line is cancelled, service on the B line which
connects the 3 line is delayed.
Q1. On Jan 10th, with the temperature at 15 degree farenheit, it
snows all day. On how many lines will service be
affected, including both morning and afternoon.
(A) 2
(B) 3
(C) 4
(D) 5
Ans. D
Q2. On Aug 15th with the temperature at 97 degrees farenheit it begins
to rain at 1 PM. What is the minimum number
of lines on which service will be affected?
(A) 2
(B) 3
(C) 4
(D) 5
Ans. C
Q3. On which of the following occasions would service be on the
greatest number of lines disrupted.
(A) A snowy afternoon with the temperature at 45 degree farenheit
(B) A snowy morning with the temperature at 45 degree farenheit
(C) A rainy afternoon with the temperature at 45 degree farenheit
(D) A rainy afternoon with the temperature at 95 degree farenheit
Ans. B
44. In a certain society, there are two marriage groups, red and
brown. No marriage is permitted within a group. On marriage, males
become part of their wives groups; women remain in their own group.
Children belong to the same group as their parents. Widowers and
divorced males revert to the group of their birth. Marriage to more
than one person at the same time and marriage to a direct descendant
are forbidden
Q1. A brown female could have had
I. A grandfather born Red
II. A grandmother born Red
III Two grandfathers born Brown
(A) I only
(B) III only
(C) I, II and III
(D) I and II only
Ans. 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 group
Ans. A
Q3. Which of the following is not permitted under the rules 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's ex-husband
Ans. B
Q4. If widowers and divorced males retained their group they had upon
marrying which of the following would be permissible ( Assume that no
previous marriage occurred)
(A) A woman marrying her dead sister's husband
(B) A woman marrying her divorced daughter's ex-husband
(C) A widower marrying his brother's daughter
(D) A woman marrying her mother's brother who is a widower.
Ans. D
Q5. I. All G's are H's
II. All G's are J's or K's
III All J's and K's are G's
IV All L's are K's
V All N's are M's
VI No M's are G's
45. There are six steps that lead from the first to the second floor.
No two people can be on the same step
Mr. A is two steps below Mr. C
Mr. B is a step next to Mr. D
Only one step is vacant ( No one standing on that step )
Denote the first step by step 1 and second step by step 2 etc.
1. If Mr. A is on the first step, Which of the following 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 a higher step than
Mr. E which step must be vacant
(a) step 1
(b) step 2
(c) step 4
(d) step 5
(e) step 6
Ans: (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 only
Ans: (c)
4. If there were two steps between the step that A was standing and
the step that B was standing on, and A was on a higher step than D , A
must be on step
(a) 2
(b) 3
(c) 4
(d) 5
(e) 6
Ans: (c)
5. Which of the following is false
i. B&D can be both on odd-numbered steps in one configuration
ii. In a particular configuration A and C must either both an odd
numbered steps or both an even-numbered steps
iii. A person E can be on a step next to the vacant step.
(a) i only
(b) ii only
(c) iii only
(d) both i and iii
Ans: (c)
46. Six swimmers A, B, C, D, E, F compete in a race. The outcome is as
follows.
i. B does not win.
ii. Only two swimmers separate E & D
iii. A is behind D & E
iv. B is ahead of E , with one swimmer intervening
v. F is a head of D
1. Who stood fifth in the race ?
(a) A
(b) B
(c) C
(d) D
(e) E
Ans: (e)
2. How many swimmers seperate A and F ?
(a) 1
(b) 2
(c) 3
(d) 4
(e) cannot be determined
Ans: (d)
3. The swimmer between C & E is
(a) none
(b) F
(c) D
(d) B
(e) A
Ans: (a)
4. If the end of the race, swimmer D is disqualified by the Judges
then swimmer B finishes in which place
(a) 1
(b) 2
(c) 3
(d) 4
(e) 5
Ans: (b)
47. Five houses lettered A,B,C,D, & E are built in a row next to each
other. The houses are lined up in the order A,B,C,D, & E. Each of the
five houses has a colored chimney. The roof and chimney of each
housemust be painted as follows.
i. The roof must be painted either green,red ,or yellow.
ii. The chimney must be painted either white, black, or red.
iii. No house may have the same color chimney as the color of roof.
iv. No house may use any of the same colors that the every next house
uses.
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 roofs
Ans: (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 chimney
Ans: (a)
4. Which possible combinations of roof & chimney can house
I. A red roof 7 a black chimney
II. A yellow roof & a red chimney
III. A yellow roof & a black chimney
(a) I only
(b) II only
(c) III only
(d) I & II only
(e) I&II&III
Ans: (e)
48. Find x+2y
(i). x+y=10
(ii). 2x+4y=20
Ans: (b)
49. Is angle BAC is a right angle
(i) AB=2BC
(2) BC=1.5AC
Ans: (e)
50. Is x greater than y
(i) x=2k
(ii) k=2y
Ans: (e)
Related articles
- Aptitude Questions and Answers (aptitudesquestions.blogspot.com)
- 2011 bpo aptitude questions (aptitudesquestions.blogspot.com)
- 25 Paise Coins to 'Retire' (padmakumargr.wordpress.com)
- WIPRO Aptitude Placement Paper 2 (aptitudesquestions.blogspot.com)
- Aptitude Questions with answers (aptitudesquestions.blogspot.com)
- WIPRO Aptitude Placement Paper (aptitudesquestions.blogspot.com)
- puzzle aptitude questions and answers (aptitudesquestions.blogspot.com)
- aptitude test (aptitudesquestions.blogspot.com)
- Differential Aptitude Check Assists You Choose The Appropriate Occupation (pctechmojo.com)
- Tcs Aptitude Paper With Solutions (aptitudesquestions.blogspot.com)