Questions

Q:

main()

{

fork();

 

printf(“Hello World!”);

}

Output for the above unix program is

A) Hello World! B) Hello World!Hello World!
C) Hello World D) None
 
Answer & Explanation Answer: B) Hello World!Hello World!

Explanation:

The fork creates a child that is a duplicate of the parent process. The child begins from the fork().All the statements after the call to fork() will be executed twice.(once by the parent process and other by child). The statement before fork() is executed only by the parent process

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: GRE

1 21045
Q:

Read the passage carefully and choose the best answer to each question out of the four alternatives.


The flora and fauna of Cubbon Park captures our attention more than anything else. But when you take time to look closely at the statue, you will marvel at its sheer grandeur. Sculpted by Sir Thomas Brock, the 11 feet high marble statue is larger than life. It brings out the personality of Queen Victoria, who had been the Monarch of Great Britain from 1837 till 1901, depicting a rather proud, stern person with pronounced features.

In 1906, the statue was unveiled in the city by George Frederick Ernest Albert, Prince of Wales and Duke of Cornwall and York, making it stand in all its glory in its 111th year. Even though there is a wealth of history to the statue, and it was made to appear imposing, the busy Bengalureans would probably refer to it as just another landmark. As the workers are busy in discussion on the instructions given to them, life continues as usual in the Park.


Queen Victoria ruled Great Britain for how many years?

A) 64 years B) 34 years
C) 54 years D) 44 years
 
Answer & Explanation Answer: A) 64 years

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 21037
Q:

Improve the given sentence if necessary.

The teacher as well as his wife were invited.

A) was invited  B) were also invited
C) were being invited D) No improvement
 
Answer & Explanation Answer: A) was invited 

Explanation:

‘Were’ needs to be replaced with ‘was’ to make the sentence grammatically correct. This is because, ‘If the subjects are joined by as well as, with, along with, together with, and not, in addition to, but, besides, except, rather than, accompanied by, like, unlike, no less than, nothing but, led by, headed by, guided by, controlled by,governed by,etc.. Then the verb will agree with the first subject. Thus, the correct formation would be, ‘The teacher as well as his wife was invited’.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 21034
Q:

Fedaration cup,World cup, Allwyn international trophy and challenge cup are awarded to winners of

A) Tennis B) Volleyball
C) Basketball D) Cricket
 
Answer & Explanation Answer: B) Volleyball

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

163 21032
Q:

Which commission made the recommendations which formed the basis for the Punjab Reorganisation Act which created the states Punjab and Haryana

A) Dhar Commission B) Dass Commission
C) Shah Commission D) Mahajan Commission
 
Answer & Explanation Answer: C) Shah Commission

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

39 21016
Q:

Rearrange the parts of the sentence in correct order.

 

P: It affords us a glimpse into acts, events, ideas, characters of the past, thus helping us to know more about those centuries gone by.
Q: It is almost as if such acts and ideas were meant to occur over and over again in different centuries though in a slightly different manner each time.
R: History is a record of past, especially in connection with human race.
S: When we trace history right from its beginning to the recent times, we cannot fail to notice that some events and characters have shown a repetitive quality.

A) RQSP B) RPSQ
C) SQRP D) SPQR
 
Answer & Explanation Answer: B) RPSQ

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 20994
Q:

A number of cats got together and decided to kill between them 999919 rats. Every cat killed an equal number of rats. Each cat killed more rats than there were cats. How many rats do you think that each cat killed ?

A) 1009 B) 991
C) 2000 D) 1000
 
Answer & Explanation Answer: A) 1009

Explanation:

Given total number of rats = 999919

 

999919 = 1000000 - 81 = 10002 - 92 = (1000+9)(1000-9) = 1009 x 991.
Since there were more rats than there were cats, 991 cats killed 1009 rats each.

Report Error

View Answer Report Error Discuss

Filed Under: Math Puzzles
Exam Prep: GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk

47 20968
Q:

Who said, "Inflation is unjust but deflation is inexpedient. Of the two, deflation is worse "?

A) J.M Keynes B) Amartya Sen
C) J.G Gurlay D) J.N Bhagwati
 
Answer & Explanation Answer: A) J.M Keynes

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

149 20963