Questions

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 2583
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 2582
Q:

India's largest e-commerce player Flipkart recently bought eBay's India business, and closing a $1.4 billion fund-raising round from Tencent, eBay and Microsoft. Name the Chief Executive Officer of Flipkart.

A) Devin Wenig B) Kalyan Krishnamurthy
C) Jeff Bejos D) Satya Nadella
 
Answer & Explanation Answer: B) Kalyan Krishnamurthy

Explanation:

India's largest e-commerce player Flipkart buys eBay's India business, and closing a $1.4 billion fund-raising round from Tencent, eBay and Microsoft. Mr. Kalyan Krishnamurthy is the CEO of Flipkart.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

2 2582
Q:

What three statements make up the cell theory?

A) All living things are made up of cells. B) New cells come frome exisiting cells.
C) Cells are the basic unit of structure/function in living things. D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

The three statements make up the cell theory are::

 

1. All living things are made up of cells.

2. Cells are the basic unit of structure/function in living things.

3. New cells come frome exisiting cells.

 

These cells can vary widely, but all living things are composed of cells.

 

Report Error

View Answer Report Error Discuss

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

1 2581
Q:

Project Procurement Management - Processes

Describe the Inputs, Tools and Techniques , Outputs included in the Plan Contracting?

Answer

I. Inputs



  • Procurement management plan

  • Contract statement of work

  • Make-or-buy decisions

  • Project management plan


                 - Risk register


                 - Risk related contractual agreements


                 - Resource requirements


                 - Project schedule


                 - Activity cost estimate


                 - Cost baseline


II. Tools and Techniques



  • Standard forms

  • Expert judgment


III. Outputs



  • Procurement documents

  • Evaluation criteria

  • Contract statement of work (updates)

Report Error

View answer Workspace Report Error Discuss

0 2580
Q:

Telegrahic code was introduced by

A) Lipman B) Macmillan
C) Thomas Moore D) Cockrell
 
Answer & Explanation Answer: C) Thomas Moore

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Inventions

1 2579
Q:

What is hard disk and what is its purpose?

Answer

Hard disk is the secondary storage device, which holds the data in bulk, and it holds the data on the magnetic medium of the disk.Hard disks have a hard platter that holds the magnetic medium, the magnetic medium can be easily erased and rewritten, and a typical desktop machine will have a hard disk with a capacity of between 10 and 40 gigabytes. Data is stored onto the disk in the form of files.

Report Error

View answer Workspace Report Error Discuss

0 2579
Q:

Name the body that has recently announced a plan to promote micro-enterprises in 115 aspirational districts across the country after tying up with Common Service Centre (CSC).

A) SEBI B) RBI
C) SIDBI D) IRDAI
 
Answer & Explanation Answer: C) SIDBI

Explanation:

Small Industries and Development Bank of India (SIDBI) announced a plan to promote micro-enterprises in 115 aspirational districts across the country. It has tied up with Common Service Centre (CSC).

Report Error

View Answer Report Error Discuss

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

3 2578