Questions

Q:

Write a c program for insertion sort.

Answer

#include<stdio.h>
int main(){

  int i,j,s,temp,a[20];

  printf("Enter total elements: ");
  scanf("%d",&s);

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

  for(i=1;i<s;i++){
      temp=a[i];
      j=i-1;
      while((temp<a[j])&&(j>=0)){
      a[j+1]=a[j];
          j=j-1;
      }
      a[j+1]=temp;
  }

  printf("After sorting: ");
  for(i=0;i<s;i++)
      printf(" %d",a[i]);

  return 0;
}

Output:
Enter total elements: 5
Enter 5 elements: 3 7 9 0 2
After sorting:  0 2 3 7 9

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2869
Q:

Who is the author of the book 'Panchashati Galpo'?

A) Atin Bandyopadhyay B) Samaresh Basu
C) Moti Nandi D) Buddhadeb Guha
 
Answer & Explanation Answer: A) Atin Bandyopadhyay

Explanation:

The author of the book 'Panchashati Galpo' is Atin Bandyopadhyay or Atin Banerjee. He was a writer of Bengali literature.

Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

3 2868
Q:

Iveco, Part of the Fiat group, holds 15 per cent stake in an Indian automobile company. The  company in the question is 

A) AShok Leyland B) Hindustan Motors
C) Tata Motors D) Eitcher
 
Answer & Explanation Answer: A) AShok Leyland

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

7 2868
Q:

Which among the following countries , occupies the largest chunk of the Sunderbans Delta?

A) Bangladesh B) Burma
C) India D) Thailand
 
Answer & Explanation Answer: A) Bangladesh

Explanation:

Sunderbans is the name given to the dense impenetrable  tidal/ mangrove forest of Ganges-Brahmaputra delta because of abundant sundari trees found here.

Report Error

View Answer Report Error Discuss

Filed Under: World Geography

1 2868
Q:

Monitoring and Controlling Process Group

What are the Project Management Processes included in Monitoring and Controlling Process Group?

Answer


    • Monitor and Control Project Work

    • Integrated Change Control

    • Scope Verification

    • Scope Control

    • Schedule Control

    • Cost Control

    • Perform Quality Control

    • Manage Project Team

    • Performance Reporting

    • Manage Stakeholders

    • Risk Monitoring and Control

    • Contract Administration


Report Error

View answer Workspace Report Error Discuss

0 2868
Q:

What is the term used in tennis when the score is 40-40?

A) Ace B) Led
C) Deuce D) Tie
 
Answer & Explanation Answer: C) Deuce

Explanation:

When both sides have won the same number of points then: when each side has won one, or two, points, the score is described as "15-all" and "30-all" (or "15-up" and "30-up"), respectively.

However, if each player has won three points, the score is called as "deuce", not "40–all". From that point on in the game, whenever the score is tied, it is described as "deuce", regardless of how many points have been played.

Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration , IT Trainer

4 2867
Q:

Refer the below data table and answer the following question.

Between 10pm to 6am, a fitness band records the following data. How long was the user dreaming or was awake ?

 

A) 4.9 hours B) 5.9 hours
C) 6.4 hours D) 6.9 hours
 
Answer & Explanation Answer: C) 6.4 hours

Explanation:
Report Error

View Answer Report Error Discuss

0 2867
Q:

Search engines that search other search engines are called

A) Megasearch engine B) Metasearch engine
C) Betasearch engine D) Gigasearch engine
 
Answer & Explanation Answer: A) Megasearch engine

Explanation:

A search engine is a information retrieval program that constantly collects information on the Web, following links in Web sites and reading Web pages. The search results are presented in a list format and are called as hits.

A metasearch engine is a search tool that uses another search engine's data to produce its own results from the Internet. These engines take input from a user and simultaneously send out queries to third party search engines for results. It searches other search engines rather than individual Web sites.

 

Examples of Metasearch engine includes - Dogpile, Zoo, Yabado, Metager, etc...

 

Search_engines_that_search_other_search_engines_are_called1561526716.png image

 

Report Error

View Answer Report Error Discuss

4 2866