Questions

Q:

In the following code in which order the functions would be called?

a = ( f1 ( 23,14 ) * f2 ( 12/4) ) + f3() ;

Answer

The order may vary from compiler to compiler.


Here the multiplication will happen before the addition , but in which order the functions would be called is undefined. In an arithmetic expression the parentheses tell the compiler which operands go with which operators but do not force the compiler to evaluate everything within the parentheses first.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2139
Q:

What is a binary semaphore?

Answer

A binary semaphore is one, which takes only 0 and 1 as values. They are used to implement mutual exclusion and synchronize concurrent processes.


 

Report Error

View answer Workspace Report Error Discuss

0 2139
Q:

Activation of the receptors by stimuli is called

A) Perception B) Habituation
C) Adaptation D) Sensation
 
Answer & Explanation Answer: D) Sensation

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2139
Q:

Medical study of skin and its diseases is called

A) Oncology B) Tracheology
C) Dermatology D) Gynecology
 
Answer & Explanation Answer: A) Oncology

Explanation:

The medicinal branch of science that deals with the study of skin, hair and nails, their structure, functions and its diseases is called as Dermatology and the person who specializes in that is called as Dermatologist.

Report Error

View Answer Report Error Discuss

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

2 2139
Q:

Which Indian state has the maximum number of Lok Sabha constituencies?

A) Uttar Pradesh B) Madhya Pradesh
C) Andhra Pradesh D) Gujarat
 
Answer & Explanation Answer: A) Uttar Pradesh

Explanation:

Indian state that has the maximum number of Lok Sabha constituencies is Uttar Pradesh with 80 Lok sabha seats.

Report Error

View Answer Report Error Discuss

3 2139
Q:

In the following question, a sentence has been given in Direct/Indirect speech. Out of the four alternatives suggested, select the one which best expresses the same sentence in Indirect/Direct speech.
The principal said, "Be quiet, girls."

A) The principal called the girls and ordered them to be quiet. B) The principal commanded the girls that they be quiet.
C) The principal urged the girls to be quiet. D) The principal said that the girls should be quiet.
 
Answer & Explanation Answer: C) The principal urged the girls to be quiet.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2139
Q:

Who was the Emperor of Russia during Russia revolution ?

A) Nicholas I B) Nicholas II
C) Alexander I D) Alexander II
 
Answer & Explanation Answer: B) Nicholas II

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World History

1 2138
Q:

The federalist papers were written by which future President?

A) John Adams B) Alexander Hamilton
C) James Madison D) John Jay
 
Answer & Explanation Answer: C) James Madison

Explanation:

James Madison was the one who became President in the future after writing The federalist papers. Alexander Hamilton, James Madison and John Jay were the three who wrote The federalist papers. 

Report Error

View Answer Report Error Discuss

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

3 2138