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 20990
Q:

Read each sentence to find out whether there is any error in any part

Sita(a) with all her sisters(b) were here(c). No error.(d)

A) a B) b
C) c D) d
 
Answer & Explanation Answer: C) c

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 sentence would be, ‘Sita with all her sisters was here’.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 20987
Q:

Select the synonym of

incursion

A) hurt B) retreat
C) aggression D) cut
 
Answer & Explanation Answer: C) aggression

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

5 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 20954
Q:

Who is the Chairman of the Chiefs of Staff Committee?

 

A) The Chief of Army Staff B) The Chief of Naval Staff
C) The Chief of Air Staff D) The member who has been the longest on the Committee
 
Answer & Explanation Answer: D) The member who has been the longest on the Committee

Explanation:

The senior most member of the Chiefs of Staff Committee (COSC) is appointed as its Chairman. Admiral Sunil Lanba is the current and the 23rd Chief of the Naval Staff of the Indian Navy.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 20945
Q:

Which was the 1st non test playing country to beat India in an international match

A) Canada B) Sri Lanka
C) Zimbabwe D) East Africa
 
Answer & Explanation Answer: B) Sri Lanka

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

96 20940
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 20938
Q:

Improve the bracketed part of the sentence.

 

When he arrived at the party, he (had been dressed) in a black suit.

 

A) dressed B) had dressed
C) was dressed D) no improvement
 
Answer & Explanation Answer: C) was dressed

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 20937