Questions

Q:

In a vacuum, all electromagnetic waves have the same

A) Velocity B) Wavelenth
C) Frequency D) All the above
 
Answer & Explanation Answer: A) Velocity

Explanation:

When traveling in a vacuum, electronic waves from the electromagnetic spectrum all travel at the same speed. Velocity is speed with direction, so they would all travel at the same velocity, realtively speaking. But frequency and wavelength are quite different.

Report Error

View Answer Report Error Discuss

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

8 4092
Q:

'Pencillin' which is used as an antibiotic is obtained from 

A) Bacteria B) Fungi
C) Algae D) Lichens
 
Answer & Explanation Answer: B) Fungi

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science

16 4092
Q:

How would you use qsort() function to sort an array of structures?

Answer

#include "string.h"


#include "stdlib.h"


struct stud


{


       int rollno;


       int marks;


       char name[30];


};


int sort_m (struct stud *, struct stud *);


int sort_name (struct stud *, struct stud *);


int sort_marks (struct stud *, struct stud *);


 


main()


{


static struct stud ss[] = {


                                            { 15, 96, "Akshay" },


                                            { 2, 97, "Madhuri" },


                                            { 8, 85, "Aishvarya" },


                                            { 10, 80, "Sushmita" }


                                   };


int x,w;


clrscr();


w = sizeof (struct stud);


 


printf ('\nIn order of roll numbers:");


qsort (ss, 4, w, sort_rn);


for(x=0; x<4;x++)


     printf ("\n%d%s%d", ss[x].rollno, ss[x].name,ss[x].marks);


 


printf("\n\nIn order of names:");


qsort(ss, 4, sort_name);


 


for (x=0; x<4;x++)


      printf("\n%d%s%d",ss[x].rollno, ss[x].name,ss[x].marks);


printf("\n\nIn order of marks:");


qsort(ss,4,w,sort_marks);


 


for (x=0;x<4;x++)


      printf ("\n%d%s%d",ss[x].rollno,ss[x].name,ss[x].marks);


}


int sort_rn (struct stud *t1, struct stud *t2)


{


     return (t1->rollno-t2->rollno);


}


 


int sort_name (struct stud *t1, struct stud *t2)


{


     return (strcmp(t1->name,t2->name));


}


int sort_marks (struct stud *t1, struct stud *t2)


{


     return (t2->marks-t1->marks);


}


 


 


 

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 4091
Q:

Which interrupts is not level-sensitive in 8085?

Answer

TST 7.5 is a raising edge-triggering interrupt.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

2 4090
Q:

On which of the following dates is the Navy Day celebrated in India ?

A) October 8 B) February 1
C) January 15 D) December 4
 
Answer & Explanation Answer: D) December 4

Explanation:

On December 4, 1971, the Indian Navy successfully executed Operation Trident, which was a devastating attack on Pakistan Naval Headquarters in Karachi. The operation, which marked the first use of anti-ship missiles in the region, did irreparable damage to the Karachi port during the 1971 Indo-Pak war. To commemorate this, December 4 is celebrated as the Indian Navy Day.

Every year to celebrate the achievements and role of the naval force to the country we clebrate Navy Day. The Indian Navy is the marine branch of the Indian Armed Forces and is led by the President of India as Commander-in-Chief.

Report Error

View Answer Report Error Discuss

Filed Under: Important Days and Years
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk

3 4090
Q:

Number of moles of solute present in 1 litre of solution is

A) Normality B) Molarity
C) Molality D) Formality
 
Answer & Explanation Answer: B) Molarity

Explanation:

Moles of solute present in 1 litre or 1000ml of solution is called molarity

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

5 4090
Q:

A person who builds houses

A) Architect B) Builder
C) Bricklayer D) Contractor
 
Answer & Explanation Answer: B) Builder

Explanation:

A person who builds houses or buildings is known as builder.

Report Error

View Answer Report Error Discuss

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

1 4090
Q:

The largest producer of fruits in the Anglo-American Region is _____

A) New - England Region B) Greak Lakes Region
C) California D) Application Region
 
Answer & Explanation Answer: C) California

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

0 4089