Question
Working 2 hours per day, R1 alone can complete a work
in 6 days. Working 5 hours per day, R2 alone can complete the same work in 4 days. Working 3 hours per day, in how many days both R1 and R2 together can complete the same work?Solution
Total hours are taken by R1 = 2 x 6 = 12 hours Total hours taken by R2 = 5 x 4 = 20 hours Let, m = time taken in hours by R1 and R2 ⇒ 1/12 + 1/20 = 1/m 8m = 60 m = 60/8 hours Time taken in days if R1 and R2 works 3 hours a day = 60/(8 x 3) = 60/24 = 2.5 days
What will be the output of the code
int main(){
int x= 10;
int y=10;
int s=-(-x-y)
cout<
return 0;
}
In a virtual memory system, what is a "page fault"?
Which type of transistor is less susceptible to thermal runaway?
What is the unit of electric current?
Which transport layer protocol provides connection-oriented, reliable, and ordered delivery of data packets between applications?
The result of SQL select statement is?
What is an ER diagram used for?
Which routing protocol is commonly used within an autonomous system (AS) to determine the best path for data packets?
Which distribution is used to model the number of successful outcomes in a fixed number of independent Bernoulli trials?
Which component in the MVC architecture communicates directly with the database?