Questions

Q:

Which energy source generates radioactive waste?

A) Nuclear power B) Thermal power
C) Hydel power D) All of the above
 
Answer & Explanation Answer: A) Nuclear power

Explanation:

which_energy_source_generates_radioactive_waste1543400097.jpg image

Nuclear power energy source generates radioactive waste.

Report Error

View Answer Report Error Discuss

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

4 2380
Q:

A computer port is used to

A) Donwload files B) Communicate with other computer peripherals
C) Communicate with hard disks D) All of the above
 
Answer & Explanation Answer: B) Communicate with other computer peripherals

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2380
Q:

Write a c program for merge sort.

Answer

#include
#define MAX 50

void mergeSort(int arr[],int low,int mid,int high);
void partition(int arr[],int low,int high);

int main(){
  
    int merge[MAX],i,n;

    printf("Enter the total number of elements: ");
    scanf("%d",&n);

    printf("Enter the elements which to be sort: ");
    for(i=0;i<n;i++){
         scanf("%d",&merge[i]);
    }

    partition(merge,0,n-1);

    printf("After merge sorting elements are: ");
    for(i=0;i<n;i++){
         printf("%d ",merge[i]);
    }

   return 0;
}

void partition(int arr[],int low,int high){

    int mid;

    if(low<high){
         mid=(low+high)/2;
         partition(arr,low,mid);
         partition(arr,mid+1,high);
         mergeSort(arr,low,mid,high);
    }
}

void mergeSort(int arr[],int low,int mid,int high){

    int i,m,k,l,temp[MAX];

    l=low;
    i=low;
    m=mid+1;

    while((l<=mid)&&(m<=high)){

         if(arr[l]<=arr[m]){
             temp[i]=arr[l];
             l++;
         }
         else{
             temp[i]=arr[m];
             m++;
         }
         i++;
    }

    if(l>mid){
         for(k=m;k<=high;k++){
             temp[i]=arr[k];
             i++;
         }
    }
    else{
         for(k=l;k<=mid;k++){
             temp[i]=arr[k];
             i++;
         }
    }
  
    for(k=low;k<=high;k++){
         arr[k]=temp[k];
    }
}


Sample output:

Enter the total number of elements: 5
Enter the elements which to be sort: 2 5 0 9 1
After merge sorting elements are: 0 1 2 5 9

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2380
Q:

Which of the following is a healthy blood pressure level?

A) 120/80 B) 140/90
C) 135/75 D) 130/70
 
Answer & Explanation Answer: A) 120/80

Explanation:

A normal reading would be any blood pressure below 120/80 mm Hg and above 90/60 mm Hg in an adult. If you're in the normal range, no medical intervention is needed.

However, you should maintain a healthy lifestyle and healthy weight to help prevent hypertension from developing.

Report Error

View Answer Report Error Discuss

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

4 2379
Q:

What is XPath?

Answer

XPath is an expressions to select a xml node in an XML document.


It allows the navigation on the XML document to the straight to the element where we need to reach and access the attributes.


 

Report Error

View answer Workspace Report Error Discuss

1 2378
Q:

The Kargil War was between India and Pakistan took place in

A) 2001 B) 1983
C) 1999 D) 1989
 
Answer & Explanation Answer: C) 1999

Explanation:

The KargilWar was between India and Pakistan took place between May and July in 1999.

Report Error

View Answer Report Error Discuss

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

19 2377
Q:

What would be the output of the following program?

/* sample.c */

main ( int argc, char **argv )

{

     argc = argc - (argc -1);

     printf ("%s", argv[argc - 1]);

}

Answer

C: \SAMPLE.EXE

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2377
Q:

The International Human Rights Convention adopted by the United Nations in 1990 relates to

A) Children B) Dasabled
C) Stateless Persons D) Migrant workers
 
Answer & Explanation Answer: A) Children

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

2 2377