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

How do you detect if two 8-bit signals are same?

Answer

Pass input to XOR and give their outputs to OR gate, if your output is 0 both 8-bit signals are same.


OR


Pass input to XNOR and give their outputs to AND gate, if your output is 1 both 8-bit signals are same. 

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

1 2642
Q:

Which agency publishes the food code?

A) FDA B) FOI
C) FDO D) All of the above
 
Answer & Explanation Answer: A) FDA

Explanation:

FDA - Food and Drug Administration publishes the food code, a model that assists food control jurisdictions at all levels of government by providing them with a scientifically sound technical and legal basis for regulating the retail and food service segment of the industry which includes restaurents, grocerry stores, ...

Report Error

View Answer Report Error Discuss

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

0 2641
Q:

Megahertz is a measurement of

A) Frequency B) Speed
C) Wavelength D) Capacity
 
Answer & Explanation Answer: A) Frequency

Explanation:

Megahertz is used to measure wave frequencies, as well as the speed of microprocessors. One MHz represents one million cycles per second. The speed of microprocessors, called the clock speed.

frequency_measurement1532346951.png image

Report Error

View Answer Report Error Discuss

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

2 2641
Q:

Instruments for measuring Solar Radiation?

A) Ammeter B) Pyranometer
C) Dynamometer D) Anemometer
 
Answer & Explanation Answer: B) Pyranometer

Explanation:

Solar radiation instruments may be produced to measure different types of solar energy. When sunlight encounters the Earth's atmosphere, some of it is absorbed or scattered by water vapor, aerosols, clouds, and other air molecules. The radiation which penetrates to the Earth's surface is termed direct solar radiation.

 

A thermopile pyranometer is a type of actinometer used for measuring solar radiation on a planar surface and it is designed to measure the solar radiation flux density (W/m2) from the hemisphere above within a wavelength range 0.3 μm to 3 μm.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

6 2640
Q:

Which of the following animals have teeth in their stomach?

A) Frogs B) Crabs
C) Snakes D) Cockroach
 
Answer & Explanation Answer: B) Crabs

Explanation:
Report Error

View Answer Report Error Discuss

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

21 2640
Q:

A customer is repeatedly using abusive language, but he has a valid point; what would you do?

Answer



Reply I agree with Your answer and I am so sorry you've got been disappointed. Let's find a solution to work this out. statement let's thrusting you and the person as a group working together to solve the issue.


 

Report Error

View answer Workspace Report Error Discuss

1 2640
Q:

The Savannas of Orinoco Basin are termed as 

A) pampas B) steppes
C) prairies D) llanos
 
Answer & Explanation Answer: D) llanos

Explanation:

llanos is a tropical grassland while the remaining three are temperature grasslands

Report Error

View Answer Report Error Discuss

Filed Under: World Geography

1 2640