Questions

Q:

Improve the following code using typedef.

struct node

{

      int data1;  float data2;

       struct node *left;

       struct node *right;

};

struct node *ptr;

ptr = (struct node *) malloc (sizeof (struct node) ); 

Answer

typedef struct node * treeptr


typedef struct node


{


         int data1;


         float data2;


         treeptr *left;


         treeptr *right;


}treenode;


treeptr ptr;


ptr = ( treeptr ) malloc ( sizeof ( treenode ) );

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2900
Q:

What is one map unit equivalent to

A) 1% recombination frequency B) the distance between a pair of homologous chromosomes
C) Both A & B D) 1 nanometer of distance between two genes
 
Answer & Explanation Answer: A) 1% recombination frequency

Explanation:

The distance between two genes is measured with a unit called map unit. One map unit is equivalent to 1% recombination frequency.

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

3 2900
Q:

"The Law of Kepler" is related with which among the following ?

A) Planetary Motion B) Law of Conservation of energy
C) Law of Gravitation D) None
 
Answer & Explanation Answer: A) Planetary Motion

Explanation:

Kepler's laws of planetary motion are three scientific laws describing the motion of planets around the Sun.

  • Kepler’s three laws of planetary motion can be stated as follows:

(1) All planets move about the Sun in elliptical orbits, having the Sun as one of the foci.

(2) A radius vector joining any planet to the Sun sweeps out equal areas in equal lengths of time.

(3) The squares of the sidereal periods (of revolution) of the planets are directly proportional to the cubes of their mean distances from the Sun.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO , Network Engineer

14 2900
Q:

What does microprocessor speed of a computer depends on?

A) bandwidth B) clock speed
C) number of instructions D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

The computers microprocessor speed depends on all the factors like clock speed, bandwidth and the number of instructions it processes.

Report Error

View Answer Report Error Discuss

2 2900
Q:

The Hooke's law is valid for

A) only proportional region of the stress strain curve B) entire stress strain curve
C) entire elastic region of the stress strain curve D) elastic as well as plastic region of the stress strain curve
 
Answer & Explanation Answer: A) only proportional region of the stress strain curve

Explanation:

Hooke's law states that within the elastic limit, stress developed is directly proportional to the strain produced in a body.Hooke’s law is valid only in the linear part of stress-strain curve. Hence, statement 1 is correct.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

2 2900
Q:

Titan industries has rolled out its own Swiss made premium watches in India under the brand Name of 

A) Insignia B) Xylys
C) Bvlgeri D) Titan Sens
 
Answer & Explanation Answer: B) Xylys

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

5 2899
Q:

Which among the following crop is a major Rabi Crop of India?

A) Bitter gourd B) Cotton
C) Turmeric D) Barley
 
Answer & Explanation Answer: D) Barley

Explanation:

A major Rabi Crop of India is wheat and barley in second place.

Report Error

View Answer Report Error Discuss

8 2899
Q:

Which of  the  following  statements  about the social base of the Arya Samaj in British India is/are correct?1.It  was  located  mainly in  Punjab  and western Uttar Pradesh.2.It    mainly    comprised    the    trading castes.3.It  was  much  more  limited  than  that  of the Brahmo Samaj.

Select  the  correct  answer  using  the  code given below.

A) 1 and 2 only B) 2 and 3 only
C) 1 only D) 1, 2 and 3
 
Answer & Explanation Answer: C) 1 only

Explanation:

Arya Samaj was an Indian religious movement  based   on   Vedas  and was     founded     by     Dayananda Saraswati on April 7, 1875 and was based in Punjab and western Uttar Pradesh     states     like,     Aligarh, Varanasi, etc.  It  was  against  caste system  and  supported  equality  of men   and   women,moreover   it mainly    comprised    the    trading castes;    while    Brahmo    Samaj, founded  by  Raja  Rammohan  Roy, was limited because it was popular only   among   elite   and   educated society.

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

1 2898