Wednesday, December 28, 2011

Basic Interview questions on Operating System

Sample questions on Operating System. A must read for B.E/B.Tech/M.C.A students appearing for interviews of

Saturday, December 24, 2011

Calculating Meeting point of two Trains in same Direction

A train travelling at 25 km/hr leaves Kolkata at 10 a.m. and another train travelling 35 km/hr leaves at 3 p.m. from Kolkata in same direction.
They will be together at a distance of: ??

Shortcut Formula:

Relation between Speed Ratio with Time Ratio

Two persons, say P and Q, move in opposite direction after starting at the same time. P takes x hrs to reach starting point of Q, and Q takes y hrs to reach P's starting point. Then 

DotNet Overview and Questions

A sample set of dotNet questions for every interviewee giving dotNet specific interviews. Get the sample interview paper here.

SQL questions for Interview

Sample SQL questions to be attempted in technical interviews. A must read for the engineering/computer application students appearing for IT interviews.

Friday, December 23, 2011

Average related to Speed

If a person travels three equal distances at a speed of x km/hr, y km/hr and z km/hr.
Then average speed during the whole journey is given by

Average age related problems

Consider, average age of 10 boys is 15. When another boy is included the average age becomes 16. find the new boy's age.

Shortcut formula:

Candidate pass/fail problem

Suppose average marks obtained by 80 student is 40.
Average marks of passed candidates is 45 and that of failed candidates is 15.
Calculate no. of candidates who have passed or failed?

Shortcut Formula:

Wednesday, December 21, 2011

Software Testing Questions

Software testing related sample topics for interview.  

Interview Questions on Networking

Sample Interview questions on Networking topics.  

Linux Questions

Sample set of questions on Linux for interviews and other exams. 

Saturday, December 17, 2011

PHP Questions

Get PHP interview questions.

Csharp Sample Questions

Download Csharp Sample Questions.

C Aptitude Questions Sample Set 3

Sample interview questions for C.

Friday, December 16, 2011

Java Sample Questions

Java sample interview questions.

Thursday, December 15, 2011

C Sample Questions - Sample Set 2

Sample and interview questions for C language.

C Question Bank- Ebook

  • Best book to brush C concepts before Interview.
  • Contains Questions asked in interviews of International Companies.
  • All the questions are neatly answered  with examples.
  • Contains tested & working code samples — not just Theory.
  • Light weight ebook, contains 50 pages only.  

Interview questions for C - Sample Set 1

Suggestions and interview questions for C language.

Population Calculation

Suppose the original population of a city is P. If the annual rate of increase/decrease is constant say r%. then the population in n years will be:  

One quantity is how much % of other

If two values are p% and q% more than a third value, then the first is

Sunday, November 27, 2011

Output & Errors

void main()
{
  char s[ ]="man";
  int i;
  for( i=0 ; s[ i ] ; i++ )
   printf("\n%c %c %c %c" , s[ i ], *(s + i), *(i + s), i[s]);
}

Output & Errors

void main()
{
  int const *p=100;
  printf("%d" , ++(*p));
}

Successive increase in quantity by certain percentage.

Suppose X units of an item is available. p% is added to it first. Then q% of the increased quantity is added. Again r% of the increased quantity is added.

If the current amount becomes Y unit then, initial amount X is calculated using the following relation:

Wednesday, November 23, 2011

If A is p% of C and B is q% of C, then A is...

If A is p% of C and B is q% of C, then A is

Sunday, November 20, 2011

X is increased by p% and later decreased by q% then net change...

If any value X is first increased by p% and later decreased by q% then the net increase or decrease is given by:

X is increased by p% and later decreased by p% then net change...

If a value say X is increased by p% and later decreased by p% then the net change is always a decrease in percentage, which is given by:

If A is p% less than B, then B is.....

If A is p% less than B, then B is

If A is p% more than B, then B is.....

If A is p% more than B, then B is (100 × p / (100 + p))% less than A.

Sunday, November 13, 2011

Relation Between L.C.M. and H.C.F.

  • Product of Two Numbers = Product of their L.C.M. and H.C.F.

H.C.F. and L.C.M. of Fractions

  • H.C.F. = (H.C.F. of Numerators) / (L.C.M. of Denominators)

Least Common Multiple (L.C.M)

The least number which is exactly divisible by each one of the given numbers.

Least Commmon Multiple(L.C.M) can be calculated by any of the following methods:

Saturday, November 12, 2011

Highest Common Factor(H.C.F.) / Greatest Common Divisor (G.C.D.)

H.C.F of two or more numbers is the greatest number that can exactly divide each one of the number. It is also known as Greatest Common Divisor (G.C.D.).

Example:
       Consider the two numbers 4,16.
       The numbers that can divide 4 and 16 are 2,4.
       Here 4 is the highest number that can exactly divide both 4 and 16 , so 4 is the HCF of 4,16.

H.C.F can be calculated by any of the following methods:

G.P. Series

A series is in Geometric Progression (G.P.), if it has the following form:

a, ar, ar2, ar3,ar4 ....
where a=First term and r=Common ratio.


Some useful derivations from A.P. Series:

A.P. Series

A series is in Arithmetic Progression (A.P.), if it has the following form:
a, a+d, a+2d, a+3d, ....
where a=First term and d=Common difference.


Some useful derivations from A.P. Series:

Series (Natural Numbers)

Addition of Natural numbers.
  • (1 + 2 + 3 + 4 + ..... + n) =n(n + 1) / 2
Addition of Square of Natural numbers.

Thursday, November 10, 2011

Divisibility by 11

if the difference between the sum of the digits at odd places and the the sum of the digits at even places is either 0 or any number divisible by 11.

Example:
  • 49245317 is divisible by 11 since (4+2+5+1)-(9+4+3+7)=-11 which is divisible by 11.
  • 125943 is not divisible.

Divisibility by 10

When the unit digit is 0, the number is divisible by 10.

Example:
  • 13450 is divisible.
  • 98457 is not.

Divisibility by 9

Only when the sum of the digits is divisible by 9.

Example:
  • 45936 is divisible since 4+5+9+3+6=27 is divisible by 9
  • 45901 is not since 4+5+9+0+1=19 is not divisible by 9.

Divisibility by 8

A number is divisible by 8 if the number formed by hundred's ten's and one's place of the number is divisible by 8.

Example:
  • 12398344 is divisible by 8 since the last three digits 344 is divisible by 8.
  • 290125 is not divisible by 8 since the last three digits 125 is not divisible by 8.

Divisibility by 4

Number is divisible by 4 if the sum of its lat two digit is divisible by 4.

Example:
  • 125756 is divisible by 4 since the last two digit 56 is divisible by 4. 
  • 12345 is not divisible by 4 since 45 is not divisible by 4.

Divisibility by 5

Only when theunit digit is 0 or 5.

Example:
  • 5, 10, 25, 50, 100, 205, 1005 etc are divisible by 5.

Wednesday, November 09, 2011

Divisibility by 3

Only when the sum of the digits is divisible by 3.

Example:
  • 24579 is divisible by 3. Since 2+4+5+7+9=27 which is divisible by 3.
  • 13001 is not divisible by 3. Since 1+3+0+0+1=5 which is not divisible by 3.

Divisibility by 2

Only if unit digit of number is any of: 0, 2, 4, 6, 8.

Example: 
  • 12, 102, 696 etc are all divisible by 2, whereas 35, 181 etc are not.