Questions

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 2889
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 2888
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 2888
Q:

Yoga city in India?

A) Varanasi B) Allahabad
C) Rishikesh D) Amritsar
 
Answer & Explanation Answer: C) Rishikesh

Explanation:

Rishikesh is a city in India’s northern state of Uttarakhand. As the city is renowned as a center for studying yoga and meditation it is called as Yoga city in India.

 

Yoga_city_in_india_-_Rishikesh1561462362.jpg image

Report Error

View Answer Report Error Discuss

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

16 2888
Q:

Laconic most nearly means

A) Talkative B) Wordy
C) Brief D) Long
 
Answer & Explanation Answer: C) Brief

Explanation:

Laconic means using only few words in his/her speech or while talking.

In the given options, talkative, wordy and long are all opposite to laconic and brief is the only word which is similar in meaning of laconic.

Report Error

View Answer Report Error Discuss

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

1 2888
Q:

Where is a hub specified in the OSI model?

A) Data link layer B) Session layer
C) Application Layer D) Physical layer
 
Answer & Explanation Answer: D) Physical layer

Explanation:

Hubs are specified or operate at Layer1 i.e, the physical layer in the OSI model. Hubs regenerate electrical signals. A hub sends data packets (frames) to all devices on a network, regardless of any MAC addresses contained in the data packet.

Report Error

View Answer Report Error Discuss

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

0 2886
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 2886
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 2886