Questions

Q:

A cappella refers to

A) Literature B) Music
C) Arts D) War
 
Answer & Explanation Answer: B) Music

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2734
Q:

Sound waves cannot travel through

A) Gas B) Liquid
C) Vacuum D) Solid
 
Answer & Explanation Answer: C) Vacuum

Explanation:

Sound waves cannot travel through a Vacuum.

 

A vacuum is an area without any air, like space. So sound cannot travel through space because there is no matter for the vibrations to work in.

Report Error

View Answer Report Error Discuss

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

1 2733
Q:

_____ officially recognises Bitcoin as currency ?

A) South Korea B) China
C) Japan D) India
 
Answer & Explanation Answer: C) Japan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

2 2733
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 2733
Q:

Which payment type can help you stick to a budget?

A) Payday loans B) Cash advances
C) Debit cards D) Credit cards
 
Answer & Explanation Answer: C) Debit cards

Explanation:

There are two payment types that will help you stick to your budget.

1. Cash
2. Debit Card

The amount in the debit card is the only amount you can spend to stay within budget.

These method work because once you spend your money, you are done. You don’t have anything else to spend.

 

Credit cards, payday loans, and cash advances are all loans on future income. When you use a credit card, there is always just a little bit more you can spend. These types do not help you budget properly. In fact, these types encourage you to spend beyond your means and be out of budget.

Report Error

View Answer Report Error Discuss

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

1 2733
Q:

Which country won the Cricket World cup in 2011

A) Sri Lanka B) Australia
C) Pakistan D) India
 
Answer & Explanation Answer: D) India

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

2 2733
Q:

A master plan is devised for

A) Long-range goals B) Emergencies
C) Short-term goals D) Investments
 
Answer & Explanation Answer: A) Long-range goals

Explanation:

A master plan is devised for long-range goals.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: CAT , Bank Exams
Job Role: Bank PO , Bank Clerk , Analyst

3 2733
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 2732