Questions

Q:

Who is the new president and CEO of Nokia?

Answer

Rajeev Suri

Report Error

View answer Workspace Report Error Discuss

2 2756
Q:

Refractive Index of glass with respect to water is

A) 4/3 B) 9/8
C) 2/3 D) 8/9
 
Answer & Explanation Answer: D) 8/9

Explanation:

Refractive Index of glass with respect to water can be calculated by 

(Refractive Index of glass with respect to air) × (1/Refractive Index of water with respect to air)

 

We know that,

Refractive Index of glass with respect to air = 4/3

Refractive index of water with respect to air = 3/2

 

Hence, Refractive Index of glass with respect to water = (4/3) x (2/3) = 8/9.

Report Error

View Answer Report Error Discuss

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

4 2755
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 2755
Q:

Which statement regarding the era of Reconstruction is FALSE?

A) the 14th Amendment made African-Americans citizens of the U.S. B) the 13th Amendment outlawed slavery in all American states
C) federal law was changed to abolish slavery in states where it still existed D) state laws and customs upheld the constitutional amendments
 
Answer & Explanation Answer: D) state laws and customs upheld the constitutional amendments

Explanation:
Report Error

View Answer Report Error Discuss

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

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

What is one example of a closed economy?

A) Brazil B) China
C) Pakistan D) India
 
Answer & Explanation Answer: A) Brazil

Explanation:

Brazil is one example of a closed economy in the given options. 

A closed economy is one that has no trade activity with outside economies. A closed economy is self-sufficient, which means no imports come into the country and no exports leave the country. A closed economy's intent is to provide domestic consumers with everything they need from within the country's borders.

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 2754
Q:

Select the correct statement about the ureters.

A) The ureter is innervated by parasympathetic nerve endings only. B) Ureters contain sphincters at the entrance to the bladder to prevent the backflow of urine.
C) The epithelium is stratified squamous like the skin, which allows a great deal of stretch. D) The ureters are capable of peristalsis like that of the gastrointestinal tract.
 
Answer & Explanation Answer: D) The ureters are capable of peristalsis like that of the gastrointestinal tract.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE
Job Role: Analyst

2 2754
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 2754