Searching for "number"

Q:

On dividing 2272 as well as 875 by 3-digit number N,we get the same remainder.The sum of the digits of N is:

A) 13 B) 12
C) 11 D) 10
 
Answer & Explanation Answer: D) 10

Explanation:

(2272-875) = 1397, is exactly divisible by N.

Now , 1397 = 11 x 127

The required 3-digit number is 127,the sum of digits is 10.

Report Error

View Answer Report Error Discuss

Filed Under: Numbers

Q:

If the number 517?324 is completely divisible by 3,then the smallest whole number in place of ? will be:

A) 2 B) 1
C) 3 D) 7
 
Answer & Explanation Answer: A) 2

Explanation:

Sum of digits = (5 + 1 + 7 + x + 3 + 2 + 4) = ( 22 + x ), which must be divisible by 3.

When x=2. [(22 + 2) = 24 is divisible by 3]

So, the answer is 2

Report Error

View Answer Report Error Discuss

Filed Under: Numbers

Q:

If 60% of 35 of a number is 36, then the number is

A) 86 B) 94
C) 100 D) 115
 
Answer & Explanation Answer: C) 100

Explanation:

Let the number be x.Then

 

60% of 35of x=36.

 

=> 60100*35*x=36

 

=> 9x25=36 => x=25*369=100

 

Required number is 100.

Report Error

View Answer Report Error Discuss

Filed Under: Numbers

Q:

A number when divided by 296 leaves 75 as remainder.When the same number is divided by 37,the remainder will be:

A) 1 B) 3
C) 5 D) 2
 
Answer & Explanation Answer: A) 1

Explanation:

Let the Number be Y.

Then  Y = 296 q + 75

= (37 x 8)q +( 37 x 2) + 1

= 37 (8q + 2) + 1

Thus, when the number is divided by 37, the remainder is 1

Report Error

View Answer Report Error Discuss

Filed Under: Numbers

Q:

The sum of all two digit numbers divisible by 5 is

A) 945 B) 678
C) 439 D) 568
 
Answer & Explanation Answer: A) 945

Explanation:

Required numbers are 10,15,20,25,...,95
This is an A.P. in which a=10,d=5 and l=95.
Let the number of terms in it be n.Then t=95
So a+(n-1)d=95.
10+(n-1)*5=95,then n=18.
Required sum=n/2(a+l)=18/2(10+95)=945.

Report Error

View Answer Report Error Discuss

Filed Under: Numbers

Q:

I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?

Answer PHP Interpreter treats numbers beginning with 0 as octal. Look at the similar PHP interview questions for more numeric problems.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

Q:

How do I find out the number of parameters passed into function?

Answer func_num_args() function returns the number of parameters passed in.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP