Questions

Q:

First country to appoint Lokpal or equivalent to a Lokpal is ________.

A) Brazil B) Burma
C) Sweden D) India
 
Answer & Explanation Answer: C) Sweden

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

1 2759
Q:

Write a c program for quick sort.

Answer

#include<stdio.h>

void quicksort(int [10],int,int);

int main(){
  int x[20],size,i;

  printf("Enter size of the array: ");
  scanf("%d",&size);

  printf("Enter %d elements: ",size);
  for(i=0;i<size;i++)
    scanf("%d",&x[i]);

  quicksort(x,0,size-1);

  printf("Sorted elements: ");
  for(i=0;i<size;i++)
    printf(" %d",x[i]);

  return 0;
}

void quicksort(int x[10],int first,int last){
    int pivot,j,temp,i;

     if(first<last){
         pivot=first;
         i=first;
         j=last;

         while(i<j){
             while(x[i]<=x[pivot]&&i<last)
                 i++;
             while(x[j]>x[pivot])
                 j--;
             if(i<j){
                 temp=x[i];
                  x[i]=x[j];
                  x[j]=temp;
             }
         }

         temp=x[pivot];
         x[pivot]=x[j];
         x[j]=temp;
         quicksort(x,first,j-1);
         quicksort(x,j+1,last);

    }
}

Output:
Enter size of the array: 5
Enter 5 elements: 3 8 0 1 2
Sorted elements: 0 1 2 3 8

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2759
Q:

Which of the following is an example of chemical weathering?

A) Oxidation B) Acid rains
C) Carbonation D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

Chemical weathering is what happens when rocks are broken down and chemically altered.

Chemical weathering is the breakdown of rocks by chemical reactions. Chemical weathering involves changes in the chemical composition of the existing rock to form new rock. Some examples of chemical weathering are hydrolysis, oxidation, carbonation, dissolution, etc.

Report Error

View Answer Report Error Discuss

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

1 2759
Q:

Genes are made of 

A) Carbohydrates B) Proteins
C) Fats D) Nucleotides
 
Answer & Explanation Answer: D) Nucleotides

Explanation:

Genes : The DNA is the genetic material. The DNA is made of several nucleotides. A nucleotide means, one nitrogenous base one sugar molecule and a phosphate molecule. These nucleotides occur in sequences and several nucleotides form one Gene ( a functional mgene is called a cistron)

Report Error

View Answer Report Error Discuss

Filed Under: Biology

7 2758
Q:

How many Nucleotides make up a Codon?

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

Explanation:

3 Nucleotides make up a Codon. 

The nucleotide triplet that encodes an amino acid is called a codon.

Each group of three nucleotides encodes one amino acid.

Report Error

View Answer Report Error Discuss

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

6 2758
Q:

If there is a lock on an adjacent key, an insert will fail if the isolation level is set to what?

A) committed read B) repeatable read
C) share read D) indexed read
 
Answer & Explanation Answer: B) repeatable read

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: IBM Certification

1 2758
Q:

What are the Various Register in 8085?

Answer

Accumulator register, Temporary register, Instruction register, Stack Pointer, Program Counter are the various registers in 8085

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2758
Q:

As an infant, the ability to produce antibodies is

A) about 80% of that of an adult B) nonexistent
C) limited D) the same as an adult
 
Answer & Explanation Answer: C) limited

Explanation:

As an infant, the ability to produce antibodies is limited.

Report Error

View Answer Report Error Discuss

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

0 2757