Searching for "or"

Q:

In how many different ways can the letters of the word 'LEADING' be arranged in such a way that the vowels always come together?

A) 720 B) 520
C) 700 D) 750
 
Answer & Explanation Answer: A) 720

Explanation:

The word 'LEADING' has 7 different letters.

When the vowels EAI are always together, they can be supposed to form one letter.

Then, we have to arrange the letters LNDG (EAI).

Now, 5 (4 + 1) letters can be arranged in 5! = 120 ways.

The vowels (EAI) can be arranged among themselves in 3! = 6 ways.

Required number of ways = (120 x 6) = 720.

Report Error

View Answer Report Error Discuss

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:

Who is the author of the book The Discovery of India ?

A) Kalhan B) Jawaharlal Nehru
C) Ashapurna Devi D) None
 
Answer & Explanation Answer: B) Jawaharlal Nehru

Explanation:

Jawaharlal Nehru is the author of the book The Discovery of India

Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

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

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

Q:

Which among the following are not the children of Swapper or Scheduler?

A) Process Dispatcher B) Vhand
C) Dbflush D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

Process Dispatcher,Vhand,Dbflush are the children of Scheduler

Report Error

View Answer Report Error Discuss

Filed Under: Operating Systems
Exam Prep: GATE