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 2513
Q:

What are the various types of CPU registers in a regular operating system design ?

Answer

 Stack Pointer
 Index Registers
 Accumulators
 General Purpose Registers

Report Error

View answer Workspace Report Error Discuss

3 2513
Q:

Abu Simbel is located in which country?

A) South Africa B) Iran
C) Iraq D) Egypt
 
Answer & Explanation Answer: D) Egypt

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Places

4 2512
Q:

Where was India's first F1 circuit built?

A) Jaipur B) Coimbatore
C) Noida D) Chennai
 
Answer & Explanation Answer: C) Noida

Explanation:

Fi circuit refers to Formula One, is the highest class of open-wheeled auto racing defined by FIA, motorsport's world governing body.

 

The Buddh International Circuit is an Indian motor racing circuit in Greater Noida, Uttar Pradesh was India's first F1 circuit.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

5 2512
Q:

Which of the following is an Organic Molecule?

A) Nitrogen gas B) Ammonia
C) Fructose D) Water
 
Answer & Explanation Answer: C) Fructose

Explanation:

Fructose is an Organic molecule among the given options.

  

Organic Molecules :

An organic molecule is one which contains carbon, although not all compounds that contain carbon are organic molecules. Noticeable exceptions are carbon monoxide (CO), carbon dioxide (CO2), carbonates (e.g. calcium carbonate), carbides (e.g. calcium carbide) and cyanides (e.g. sodium cyanide). Pure carbon compounds such as diamond and graphite are also not organic compounds. Organic molecules can range in size from simple molecules to complex structures containing thousands of atoms.

 

Although carbon is present in all organic compounds, other elements such as hydrogen (H), oxygen(O), nitrogen (N), sulfur (S) and phosphorus (P) are also common in these molecules.

 

In simple, Molecules needed for life that have carbon are called Organic Molecules.

Report Error

View Answer Report Error Discuss

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

1 2511
Q:

Man has _____ pairs of salivary glands

A) 3 B) 4
C) 6 D) 8
 
Answer & Explanation Answer: A) 3

Explanation:

Salivary glands of man are 3 pairs = 6. They are one pair of parotid glands, one pair of sub-maxillary or sub-mandibular glands and one pair of sub-lingual glands.

Report Error

View Answer Report Error Discuss

Filed Under: Biology

3 2511
Q:

A gland below the bladder and surrounding the urethra is

A) prostate B) seminal vesicle
C) bartholin D) vas deferens
 
Answer & Explanation Answer: A) prostate

Explanation:

                               prostategland1531291431.jpg image

A gland surrounding the neck of the bladder in male mammals and releasing a fluid component of semen is Prostate gland which is below the bladder and surrounding the urethra.

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE
Job Role: Analyst

3 2510
Q:

_________ is a specialized server that enables the client to share application and data across the network.

A) Mass Server B) File server
C) Data Server D) Host Server
 
Answer & Explanation Answer: B) File server

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: AIEEE , Bank Exams
Job Role: Bank Clerk

18 2510