Questions

Q:

Which statement best describes the relationship between science and technology?

A) Technology is a branch of science. B) Advances in science can lead to new technology.
C) Without technology there is no science. D) Technology is not related to science.
 
Answer & Explanation Answer: B) Advances in science can lead to new technology.

Explanation:

The aim of science is to get an understanding of the natural world, while the aim of technology is to use that understanding to improve people's lives. 

 

Hence, Advances in science can lead to new technology.

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

3 2376
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 2376
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 2376
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 2376
Q:

Which describes how Africa was divided into countries?

A) Ethnic groups were each given their own country B) Artificial political unity was attempted
C) Boundaries were made according to language similarities D) Nomadic peoples were given control of their lands
 
Answer & Explanation Answer: A) Ethnic groups were each given their own country

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2375
Q:

Who said that lines of 'the ballot is stronger than bullet'?

A) Mahatma Gandhi B) Adolf Hitler
C) Abraham Lincolon D) Nelson Mandela
 
Answer & Explanation Answer: C) Abraham Lincolon

Explanation:

Abraham Lincolon was an American statesman and lawyer who served as the 16th President of the United States from March 1861 until his assassination in April 1865.

Who_said_that_lines_of_the_ballot_is_stronger_than_bullet1549088894.jpg image

Lincoln led the United States through the American Civil War—its bloodiest war and perhaps its greatest moral, constitutional, and political crisis.

Report Error

View Answer Report Error Discuss

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

2 2375
Q:

Buenos Aires largest shopping mall is called

A) Alto Palermo B) Santa Fe
C) Coronel Diaz D) Abasto
 
Answer & Explanation Answer: D) Abasto

Explanation:

Abasto Shopping is the largest mall in the capital city of Argentina, Buenos Aires with over 230 shops, movie theaters and an enormous food court.

Report Error

View Answer Report Error Discuss

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

1 2375
Q:

What molecule carries genetic information?

A) RNA B) DNA
C) Proteins D) Nucleotides
 
Answer & Explanation Answer: B) DNA

Explanation:

The nucleus of a cell contains chromosomes, which carry genetic information in a long molecule called DNA.

Genes are regions of DNA that carry the code to control a particular cell activity or the production of a particular protein.

Report Error

View Answer Report Error Discuss

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

1 2375