Questions

Q:

How many balls?

Number of balls in the figure...

balls1523099634.jpg image

Answer

You have to actually count all the balls in the pyramid.
Simple way is to count the balls in each level.


So lower most level lets say 1st level has 4 x 4 balls; i.e. 16 balls
Similarly 2nd level has 3 x 3 balls; i.e. 9 balls.
3rd level has 2 x 2 balls; i.e. 4 balls.
The top most level has just 1 ball.


So the total number of balls is 16+9+4+1 = 30.


 


So the image has 30 Balls in all.

Report Error

View answer Workspace Report Error Discuss

11 7327
Q:

Point out the error in the following program.

main()

{

    char mybuf[] = "Zanzibar" ;

    char yourbuf[] = " Zienckewiz";

    char * const ptr = mybuf;

     *ptr = 'a';

     ptr = yourbuf;

}

Answer

ptr pointer is constant. In ptr = yourbuf the program is trying to modify it, hence an error.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

5 7321
Q:

Which Indian Community celebrates the Khordad sal

A) Sikh B) Jain
C) Hindu D) Parsi
 
Answer & Explanation Answer: D) Parsi

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Culture

124 7320
Q:

Which new England colony was established by the separatists?

 

A) Bermuda B) Akrotiri
C) Plymouth D) Cayman
 
Answer & Explanation Answer: C) Plymouth

Explanation:

In the year 1620, Plymouth colony was established by separatists.

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

0 7319
Q:

When development in economy takes place, the share of tertiary sector in National Income

A) first falls and the rises B) first rises and then falls
C) keeps on increasing D) remains constant
 
Answer & Explanation Answer: C) keeps on increasing

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

4 7319
Q:

Which of the following States is a member of the ' Seven Sisters '

A) West Bengal B) Orissa
C) Tripura D) Bihar
 
Answer & Explanation Answer: C) Tripura

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

8 7317
Q:

What is math.floor(3.6)?

A) 6 B) 3
C) 3.5 D) 0.6
 
Answer & Explanation Answer: B) 3

Explanation:

The Math.floor() function in JavaScript is used to round off the number passed as parameter to its nearest integer in Downward direction of rounding i.g towards the lesser value.

 

Hence, math.floor(3.6) = 3.

Report Error

View Answer Report Error Discuss

5 7317
Q:

Boost and Crocin brands are owned by which company?

A) GalaxoSmithKline B) Pfizer
C) Henz D) ParasPharma
 
Answer & Explanation Answer: A) GalaxoSmithKline

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

21 7313