GATE Questions

Q:

What is a shell?

Answer

A shell is an interactive user interface to an operating system services that allows an user to enter commands as character strings or through a graphical user interface. The shell converts them to system calls to the OS or forks off a process to execute the command. System call results and other information from the OS are presented to the user through an interactive interface. Commonly used shells are sh,csh,ks etc.

Report Error

View answer Workspace Report Error Discuss

Subject: Operating Systems Exam Prep: GATE

1 382
Q:

There are three rooms in a Hotel: one single, one double and one for four persons. How many ways are there to house seven persons in these rooms ?

A) 105 B) 7! x 6!
C) 7!/5! D) 420
 
Answer & Explanation Answer: A) 105

Explanation:

Choose 1 person for the single room & from the remaining choose 2 for the double room & from the remaining choose 4 people for the four person room,

Then, 7C1 x 6C2 x 4C4
     = 7 x  x 1
     = 7 x 15 = 105.
Report Error

View Answer Workspace Report Error Discuss

4 375
Q:

K and L start a business jointly. K invests Rs.16000 for 8 months and L remains in the business for 4 months. Out of the total profit L claims 2/7th share. How much money is contributed by L?

A) Rs. 13,204 B) Rs. 14,521
C) Rs. 12,800 D) Rs. 15,000
 
Answer & Explanation Answer: C) Rs. 12,800

Explanation:

Given share of L is 2/7 th of profit. Then, their profits are divided in to 5:2 ratio.
Ratio of K and L is

x = Rs. 12,800.

Report Error

View Answer Workspace Report Error Discuss

3 371
Q:

What was the day of the week on 17th June, 1998 ?

A) Monday B) Tuesday
C) Wednesday D) Friday
 
Answer & Explanation Answer: C) Wednesday

Explanation:

17th June, 1998 = (1997 years + Period from 1.1.1998 to 17.6.1998)
Odd days in 1600 years = 0
Odd days in 300 years = 1
97 years has 24 leap years + 73 ordinary years.
Number of odd days in 97 years ( 24 x 2 + 73) = 121 = 2 odd days.
Jan. Feb. March. April. May. June.
(31 + 28 + 31 + 30 + 31 + 17) = 168 days
168 days = 24 weeks = 0 odd day.
Total number of odd days = (0 + 1 + 2 + 0) = 3.
Given day is Wednesday.

Report Error

View Answer Workspace Report Error Discuss

6 367
Q:

"Good Samaritan Policy" has been launched by which state / union territory government?

A) Delhi B) Karnataka
C) Telangana D) Gujarath
 
Answer & Explanation Answer: A) Delhi

Explanation:

The Delhi government has recently approved 'Good Samaritan Policy' under which monetary incentive of Rs 2,000 and appreciation certificate will be given to people who help road accident victims in the national capital. The scheme is intended to encourage people to take accident victims in emergency situation to hospitals so that someone’s life could be saved.

Report Error

View Answer Workspace Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams , CAT , GATE , GRE
Job Role: Bank Clerk , Bank PO

4 348