Questions

Q:

The quotation ' Some of born great , Some achieve greatness, and some have greatness, thrust upon them ' is atributed to

A) Bertrand Russell B) Abraham Lincoln
C) William Shakeshpare D) George Orwell
 
Answer & Explanation Answer: C) William Shakeshpare

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

1 2497
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 2497
Q:

Who invented Radar ?

Answer

Robert Watson Watt

Report Error

View answer Workspace Report Error Discuss

Subject: Inventions

1 2495
Q:

Which of the statements given below are correct?

A) Julio Granda won the 2017 World Senior Chess Championship.

B) Tan Zhongyi won the 2017 World Junior Chess Championship.

C) Russia hosted the Golf 2017 Players Championship.

 

A) Only A B) Only C
C) Both B and C D) None of these
 
Answer & Explanation Answer: A) Only A

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

0 2495
Q:

Which of the following describes loyalists?

A) They thought Patriots were too radical B) They decided to fight against the British
C) They wanted to return to Britain D) They supported British taxation
 
Answer & Explanation Answer: A) They thought Patriots were too radical

Explanation:

They thought Patriots were too radical is the statement which describes loyalists correctly.

Report Error

View Answer Report Error Discuss

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

3 2494
Q:

A sample of matter must be copper if

A) atoms in the sample react with oxygen B) the sample can conduct electricity
C) each atom in the sample has 29 protons D) the sample melts at 1768k
 
Answer & Explanation Answer: C) each atom in the sample has 29 protons

Explanation:

A sample of matter must be copper if each atom in the sample has 29 protons.

Report Error

View Answer Report Error Discuss

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

1 2494
Q:

Gasoline is useful in cars because it has

A) chemical potential energy B) electrical potential energy
C) gravitational potential energy D) kinetic energy
 
Answer & Explanation Answer: A) chemical potential energy

Explanation:

Gasoline is a colorless petroleum-derived flammable liquid that is used primarily as a fuel in spark-ignited internal combustion engines. It consists mostly of organic compounds obtained by the fractional distillation of petroleum, enhanced with a variety of additives. It is also called as Petrol. It has chemical potential energy, in combustion it is turned into light, sound, heat and kinetic energy.

Report Error

View Answer Report Error Discuss

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

2 2493
Q:

In which layer is the pressure the highest?

A) Ionosphere B) Stratosphere
C) Troposphere D) Inner core
 
Answer & Explanation Answer: D) Inner core

Explanation:

"Pressure" is the ratio of mass to area. So, for any given area, the one with more mass pressing on it will experience a higher pressure.

 

As you go more deeply into the atmosphere OR earth itself, you are putting more and more mass over you. For the same unit area therefore, the pressure, (mass/area) increases.

 

Hence, the lowest layer will always have the highest pressure i.e, inner core.

Report Error

View Answer Report Error Discuss

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

2 2493