Searching for "st"

Q:

In how many ways a committee, consisting of 5 men and 6 women can be formed from 8 men and 10 women?

A) 11670 B) 12000
C) 11760 D) 20050
 
Answer & Explanation Answer: C) 11760

Explanation:

Required number of ways= 8C5×10C6 = (8C3×10C4)= 11760.

Report Error

View Answer Report Error Discuss

Q:

The PS command prints the process status for only some of the running processes.

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

Explanation:

The PS command prints the process status for some or all of the running processes

Report Error

View Answer Workspace Report Error Discuss

Subject: Operating Systems
Exam Prep: GATE

Q:

In a group of 6 boys and 4 girls, four children are to be selected. In how many different ways can they be selected such that at least one boy should be there?

A) 209 B) 290
C) 200 D) 208
 
Answer & Explanation Answer: A) 209

Explanation:

We may have (1 boy and 3 girls) or (2 boys and 2 girls) or (3 boys and 1 girl) or (4 boys). 

 

Required number of ways = 6C1*4C3+6C2*4C2+6C3*4C1+6C4  

6C1*4C1+6C2*4C2+6C3*4C1+6C2 = 209.

Report Error

View Answer Report Error Discuss

Q:

Which among the following is not aprocess state in unix?

A) Running B) Runnable
C) Zombie D) Stopped
 
Answer & Explanation Answer: B) Runnable

Explanation:

The process states of unix are running,Zombie,stopped,Waiting.

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: GATE

Q:

From a group of 7 men and 6 women, five persons are to be selected to form a committee so that at least 3 men are there on the committee. In how many ways can it be done?

A) 564 B) 735
C) 756 D) 657
 
Answer & Explanation Answer: C) 756

Explanation:

We may have (3 men and 2 women) or (4 men and 1 woman) or (5 men only). 

 

Required number of ways= 7C3*6C2+7C4*6C1+7C5 = 756.

Report Error

View Answer Report Error Discuss

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

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

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