GATE Questions

Q:

Which among the following is a system call used for process management

A) fork() B) exec()
C) getppid() D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

All the above listed are the System calls for process management

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: GATE
Job Role: Software Architect

0 4889
Q:

There are 3 sections with 5 questions each. If four questions are selected from each section, the chance of getting different questions is ?

A) 1000 B) 625
C) 525 D) 125
 
Answer & Explanation Answer: D) 125

Explanation:

Methods for selecting 4 questions out of 5 in the first section = 5 x 4 x 3 x 2 x 1/4 x 3 x 2 x 1 = 5. Similarly for other 2 sections also i.e 5 and 5


So total methods = 5 x 5 x 5 = 125.

Report Error

View Answer Report Error Discuss

Filed Under: Permutations and Combinations
Exam Prep: GRE , GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk

4 4888
Q:

Find the odd man out 1 4 9 16 22 36?

A) 9 B) 16
C) 22 D) 36
 
Answer & Explanation Answer: C) 22

Explanation:

In the given series 1 4 9 16 22 36

1 = 1 x 1 

4 = 2 x 2

9 = 3 x 3

16 = 4 x 4

25 = 5 x 5 (Not 22)

36 = 6 x 6

 

Hence, the odd man in the series is 22.

Report Error

View Answer Report Error Discuss

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

13 4880
Q:

Two boxes contain 4 and 16 balls respectively. Two balls in the first box and four in the second, are black. If a box is chosen randomly and two balls are drawn at random from it, what is the
probability that at least one ball is black if the ball is not replaced?

A) 11/20 B) 43/120
C) 77/120 D) 9/20
 
Answer & Explanation Answer: C) 77/120

Explanation:

At least one black can be chosen in two ways from each box:
Now, probability of choosing at least one black ball from first box 

= 1/2 × [ (2C1× 2C1)/4C2 + 2C2/ 4C2 ]= 5/12

Probability of choosing at least one black ball from 2nd box
= 1/2 × [(4C1×12C1)/16C2 + 4C2/ 16C2] = 9/40

Final probability

= 5/12 + 9/40 = (50 + 27)/120 = 77/120

Report Error

View Answer Report Error Discuss

4 4880
Q:

Find the lowest common multiple of 24, 36 and 40?

A) 360 B) 420
C) 240 D) 120
 
Answer & Explanation Answer: A) 360

Explanation:

To find the LCM of 24, 36 and 40

24 = 2 x 2 x 2 x 3

36 = 2 x 2 x 3 x 3

40 = 2 x 2 x 2 x 5 

Now, LCM of 24, 36 and 40 = 2 x 2 x 2 x 3 x 3 x 5

= 8 x 9 x 5

= 72 x 5

= 360

Report Error

View Answer Report Error Discuss

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

19 4876
Q:

getppid() system call is used to bias the existing priority of a process 

A) TRUE B) FALSE
Answer & Explanation Answer: B) FALSE

Explanation:

It is used to get parent process identifier

Report Error

View Answer Workspace Report Error Discuss

Subject: Operating Systems
Exam Prep: GATE

1 4876
Q:

Out of 3 girls and 6 boys a group of three members is to be formed in such a way that at least one member is a girl. In how many different ways can it be done?

A) 64 B) 84
C) 56 D) 20
 
Answer & Explanation Answer: A) 64

Explanation:

Total number of possible ways = 9C3 = 84 ways

Required atleast one girl in the group of three = total possible ways - ways in which none is girl

None of the members in the group is girl = 6C3 = 20

 

Therefore, number of ways that at least one member is a girl in the group of three

= 84 - 20

= 64 ways.

Report Error

View Answer Report Error Discuss

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

14 4874
Q:

Simple interest on a certain sum at 7% per annum for 4 years is Rs. 2415. What will be the compound interest on the same principal at 4% per annum in two years?

A) Rs. 704 B) Rs. 854
C) Rs. 893 D) Rs. 914
 
Answer & Explanation Answer: A) Rs. 704

Explanation:

We know that,

S.I. = PTR100 P = S.I x 100T x RAnd also,C.I = P1 + R100n- 1

From given data, P = Rs. 8625

Now, C.I  = 86251+41002-1= 862526252-1= 8625676625-1= 8625 x 51625C.I = Rs. 703.80

Report Error

View Answer Report Error Discuss

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

11 4873