GATE Questions

Q:

Explain fork() system call?

Answer

The `fork()’ used to create a new process from an existing process. The new process is called the child process, and the existing process is called the parent. We can tell which is which by checking the return value from `fork()’. The parent gets the child’s pid returned to him, but the child gets 0 returned to him.

Report Error

View answer Workspace Report Error Discuss

Subject: Operating Systems Exam Prep: GATE

2 7095
Q:

If Laxmi is taller than Ramya but shorter than Susmitha and Ramya is as tall as Hema but taller than Avanthi, then Hema is :

A) shorter than Ramya B) taller than Avanthi
C) taller than susmitha D) shorter than Laxmi
 
Answer & Explanation Answer: D) shorter than Laxmi

Explanation:

As given, we have:

Susmitha > Laxmi > Ramya; Ramya = Hema, Ramya > Avanthi

Thus the sequence of heights becomes:

Susmitha > Laxmi > Ramya = Hema > Avanthi

Clearly, Hema is shorter than Laxmi.

Report Error

View Answer Report Error Discuss

Filed Under: Logical Sequence of Words
Exam Prep: Bank Exams , CAT , GATE , GRE
Job Role: Bank Clerk , Bank PO

14 7089
Q:

A merchant commences with a certain capital and gains annually at the rate of 30 per cent. At the end of 2 years he has worth Rs 10,000. What was the original capital? 

A) Rs. 4987 B) Rs. 5148
C) Rs. 5917 D) Rs. 6254
 
Answer & Explanation Answer: C) Rs. 5917

Explanation:

Let the Original capital amount be Rs. P

Given after 2 years the amount is Rs. 10000

Rate of interest = 30%

According to the question,

P x 130100 x 130100 = 10000=> P = 1000000169 = 5917

Therefore, the capital amount P = Rs. 5917

Report Error

View Answer Report Error Discuss

Filed Under: Percentage
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

6 7088
Q:

What is so delicate that even mentioning it breaks it?

Answer

Silence is what is so delicate that even mentioning it breaks it.

Report Error

View answer Workspace Report Error Discuss

8 7072
Q:

A take twice as much time as B or thrice as much time to finish a piece of work. Working together, they can finish the work in 2 days. B can do the work alone in  ?

A) 8 hrs B) 12 hrs
C) 6 hrs D) 4 hrs
 
Answer & Explanation Answer: C) 6 hrs

Explanation:

Suppose A, B and C take x, x/2 and x/3 respectively to finish the work. 

Then, (1/x + 2/x + 3/x) = 1/2 

=> 6/x = 1/2      => x = 12 

So, B takes 6 hours to finish the work.

Report Error

View Answer Report Error Discuss

Filed Under: Time and Work
Exam Prep: GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk

4 7068
Q:

Find the ODD number ?

odd1502270940.jpg image

A) 42 B) 142
C) 119 D) 21
 
Answer & Explanation Answer: B) 142

Explanation:

Except 142 all are divisible by number '7'.

Report Error

View Answer Report Error Discuss

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

15 7065
Q:

Gammaxene, D.D.T. & Bleaching powder are important compounds of

A) Nitrogen B) Phosphorus
C) Chlorine D) Sulphur
 
Answer & Explanation Answer: C) Chlorine

Explanation:

Gammaxene, D.D.T. & Bleaching powder are important compounds of Chlorine.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

5 7065
Q:

What are the sides of the dna ladder made of

A) nitrates and sugars B) sugars and hydrates
C) sugars and phosphates D) phosphates and nitrates
 
Answer & Explanation Answer: C) sugars and phosphates

Explanation:

DNA is a double-stranded molecule twisted into a helix. The shape of DNA is a double helix, which is like a twisted ladder. The sides of the ladder are made of alternating sugar and phosphate molecules. Deoxyribose, which is a pentose, and a phosphate group are the two molecules together form the two sides of the DNA. The rungs of the ladder are pairs of 4 types of nitrogen bases.

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 , IT Trainer

5 7060