Questions

Q:

'Sphinx' is associated with which of the following civilizations?

A) Egyptian Civilization B) Arab Civilization
C) Chinese Civilization D) Roman Civilization
 
Answer & Explanation Answer: A) Egyptian Civilization

Explanation:

The 'sphinx' is a mythological animal with the body of a lion and the head of man. Each Sphinx was carved out of a single solid stone.

Report Error

View Answer Report Error Discuss

Filed Under: World History

0 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 2885
Q:

A and B entered into a partnership with Rs.800 and Rs.1600 respectively. From 9th months onward they each decided to invest Rs.100 more on starting of each month. If total annual profit is Rs.7700 then find the profit share of A.

A) Rs.2550 B) Rs.3200
C) Rs.2650 D) Rs.2450
 
Answer & Explanation Answer: C) Rs.2650

Explanation:

A : B = (800 × 8+ 900+ 1000+ 1100+ 1200): (1600 × 8+ 1700+ 1800+ 1900+ 2000)
A : B = 53 : 101
Profit of A ⇒ 7700 ×53/154 = 2650 Rs.

Report Error

View Answer Report Error Discuss

0 2885
Q:

'agdrne' correct word is

 

A) Redgan B) Dengar
C) Garden D) Regdan
 
Answer & Explanation Answer: C) Garden

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Missing letters puzzles
Exam Prep: Bank Exams

18 2885
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 2884
Q:

Who of the following is not a recepient of 2011 Nobel Peace prize

A) Hu Jintao B) Leymah Gbowee
C) Ellen Johnson Sirleaf D) Tawakkol Karman
 
Answer & Explanation Answer: A) Hu Jintao

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards

0 2884
Q:

Granite is an example of which type of rock?

A) Sedimentary B) Igneous
C) Metamorphic D) None of the above
 
Answer & Explanation Answer: B) Igneous

Explanation:

We know that, there are three main types of rocks. They are

1. Metamorphic

2. Sedimentary (and)

3. Igneous

 

Granite_is_an_example_of1561703734.jpg image

 

Granite is an example of igneous type of rock. These type of rocks are formed through the cooling and solidification of magma and lava.

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

4 2884
Q:

Where is the Forest Reserve Institute of India located

A) Bhopal B) Dehradum
C) Lucknow D) Delhi
 
Answer & Explanation Answer: B) Dehradum

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

7 2883