Questions

Q:

The depth of a complete binary tree is given by

A) Dn = log 2 (n+1) B) Dn = log 1/2 (n+1)
C) Dn = log (n+1) D) Dn = log 2 (n-1)
 
Answer & Explanation Answer: A) Dn = log 2 (n+1)

Explanation:

A complete binary tree is a binary tree where all the levels have maximum number of nodes except possibly the last level.

 

The depth of complete binary tree of n nodes will be Dn=log 2 (n+1) where Dn is the height or depth of the tree and n is the number of nodes.

Report Error

View Answer Report Error Discuss

9 4812
Q:

Write a quick script for launching a new activity within your application.

Answer

An explicit intent explicitly defines the activity the developer wishes to start. 


Script code :


Intent myIntent = new Intent(this, MyNewActivity.class);


startActivity(myIntent);

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

15 4812
Q:

Which of the following is the name Pierre Cardin associated with?

A) Painting B) Sports
C) Fashion Designing D) Music
 
Answer & Explanation Answer: C) Fashion Designing

Explanation:

It belongs to the field of Fashion Designing

Report Error

View Answer Report Error Discuss

Filed Under: Indian Culture

73 4811
Q:

'Minamata' disease was caused by ?

A) Lead B) Mercury
C) Cadmium D) Zinc
 
Answer & Explanation Answer: B) Mercury

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , CAT
Job Role: Bank Clerk

11 4810
Q:

Russian revolutionary, who founded the Communist Party was

A) Karl Marx B) Stalin
C) Lenin D) Trotsky
 
Answer & Explanation Answer: C) Lenin

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World History

5 4810
Q:

What is seismic zone extending at an angle of about 45 degrees from the base of an ocean trench, down through lithosphere to the asthenosphere known as

A) Appleton layer B) Benioff zone
C) Conard discontinuity D) Convergence zone
 
Answer & Explanation Answer: B) Benioff zone

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

1 4810
Q:

Which of the following is a project to develop watersheds in India

A) DRDO B) CARE
C) AVARD D) NWDPRA
 
Answer & Explanation Answer: D) NWDPRA

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

5 4809
Q:

 A proxy server is used for which of the following?

A) To provide security against unauthorized users B) To process client requests for Web pages
C) To process client requests for database access D) To provide TCP/IP
 
Answer & Explanation Answer: A) To provide security against unauthorized users

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

5 4808