Questions

Q:

If the following program (myprog) is run from the command line as 

myprog 1 2 3 

what would be the output?

main(int argc, char *argv[])

{

    int i, j = 0;

    for (i = 0; i < argc ; i++)

           j = j + atoi ( argv[i]);

    printf ("%d", j);

}

A) 123 B) 6
C) Error D) "123"
 
Answer & Explanation Answer: B) 6

Explanation:

When atoi() tries to convert argv[0] to a number it cannot do so (argv[0] being a file name) and hence returns a zero.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

2 13157
Q:

What Is The Study Of Cells Called

A) Cellogysm B) Cytology
C) Cell Biology D) Both B & C
 
Answer & Explanation Answer: D) Both B & C

Explanation:

The branch of biology that studies the different structures and functions of the cell is called Cell Biology or Cytology.

 
Cell biology (formerly called Cytology), is a Greek word: kytos, "vessel" is a branch of biology that studies the different structures and functions of the cell and focuses mainly on the idea of the cell as the basic unit of life.


The cell (from Latin cella, meaning "small room") is the basic



        • Structural,
        • Functional (and) 
        • Biological unit of all known living organisms. 




A cell is the smallest unit of life that can replicate independently, and cells are often called the "building blocks of life". 

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: TOEFL , CAT , AIEEE
Job Role: Analyst

40 13156
Q:

Select the antonym of

 

violation

 

A) abuse B) obedience
C) felony D) crime
 
Answer & Explanation Answer: B) obedience

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 13139
Q:

Rearrange the parts of the sentence in correct order.

Some modern anthropologists hold that

P : but also human behaviour

Q : biological evolution has shaped

R : not only human morphology

A) QRP B) RQP
C) PQR D) PRQ
 
Answer & Explanation Answer: A) QRP

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 13137
Q:

The all India Census was

1.first attempted in 1872

2.regularly undertaken since 1881

3.always undertakenas a five-year exercise

 

Select the correct answer using the code given below.

A) 1 only B) 2 and 3 only
C) 1 and 2 only D) 1, 2 and 3
 
Answer & Explanation Answer: C) 1 and 2 only

Explanation:

While it has been conducted every 10 years, beginning in 1872, the first completecensus was taken in the year 1881. Post 1949, it has been conducted by the Registrar General and Census Commissioner of India under the Ministry of Home Affairs, Government of India.

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

3 13133
Q:

The properties of several unknown solids were measured. Choose the correct option.

 

 

 

A) A, C B) A, C, D
C) B, D D) A, B, C, D
 
Answer & Explanation Answer: D) A, B, C, D

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 13123
Q:

Crack the Detectives code and Find the criminal's Name ?

17629868_1256539077786527_1613927902568118890_n1500008133.jpg image

A) Bill B) John
C) Todd D) None
 
Answer & Explanation Answer: A) Bill

Explanation:

Bill.

From the detectives code 0415 7140 7718

Each 4 digits may represent one name

Here 7718 mirror image represent BILL.

Report Error

View Answer Report Error Discuss

Filed Under: Logic Puzzles

49 13122
Q:

Which subatomic particle has a negative charge?

 

A) Neutron B) Proton
C) Ion D) Electron
 
Answer & Explanation Answer: D) Electron

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

1 13092