Questions

Q:

What are three characteristics of the agricultural revolution?

A) Farmers learned to control water through wells and canals B) New tools made it possible for more crops to be grown
C) Crop rotation was invented, making it harder on soil D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:
Report Error

View Answer Report Error Discuss

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

6 2835
Q:

Write a c program to create dos command type.

Answer

#include
int main( int count,char * argv[] ) {
    int i;
    FILE *ptr;
    char *str;
    char ch;
    if( count == 1) {


         printf( "The syntax of the command is incorrect.\n" );
    }
    for( i=1;i<cout;i++ ){
         ptr=fopen(argv[i],"r");
         if(ptr==NULL){
             printf("The system cannot find the file specified.");
             if(count>2)
                 printf("\nError occurred while procesing : %s.\n",argv[i]);
         }
         else {
             if(count>2) {
                 printf("%s\n\n",argv[i]);
             }
             while((ch=getc(ptr))!=-1)
                 printf("%c",ch);
         }
         fclose(ptr);
    }
    return 0;
}


 


Save the above file as open.c, compile and execute the go to command mode (current working directory) and write: open xy.c (xy.c any file present in that directory)
To run the open command in all directories and drive you will have to give the path of current working directory in command mode. Write:
C:tc\bin>PATH c:\tc\bin
Now press enter key. Now your open command will work in all directory and drive.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2834
Q:

Which one of the following National Highways is the longest

A) NH-2 B) NH-7
C) NH-8 D) NH-15
 
Answer & Explanation Answer: B) NH-7

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

4 2834
Q:

The concept of carbon credit originated from

A) G-8 Summit, Hciligendamm B) Earth Summit, Rio de Janeiro
C) Montreal Protocol D) Kyoto Protocol
 
Answer & Explanation Answer: D) Kyoto Protocol

Explanation:

The concept of carbon credit for manufacturers originated with the Kyoto Agreement (Protocol) of 1997.

Report Error

View Answer Report Error Discuss

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

7 2834
Q:

The act of formally approving something is known as

A) Ratification B) Delegation
C) Arbitration D) Representation
 
Answer & Explanation Answer: A) Ratification

Explanation:

The act of formally approving something is known as Ratification.

Report Error

View Answer Report Error Discuss

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

1 2833
Q:

How do you get more retailers / customers for your business? What are the steps you would take?

Answer

Applicant should answer that being in a wholesale market, he/she would plan and direct advertising and promotional activities to attract more retailer suppliers. Promotional activities like posters, contests, coupons, give-away to create extra interest in the purchase of a product or services from customers or retailers.

Report Error

View answer Workspace Report Error Discuss

Subject: Retail

1 2833
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 2832
Q:

What is the main component of biogas and natural gas?

A) Carbon dioxide B) Butane
C) Hydrogen Sulphide D) Methane
 
Answer & Explanation Answer: D) Methane

Explanation:

Methane is the main component of biogas and natural gas.

Report Error

View Answer Report Error Discuss

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

5 2832