Question
5 positive numbers are written on a piece of paper. Sum
of first 3 numbers is 60 and ratio of the 4th and the 5th number is 2:3. If difference between the 4th and the 5th number is 12, then find the average of all the numbers.Solution
Given, 4th number:5th number = 2:3 Let, 4th number = 2x 5th number = 3x So, 3x β 2x = 12 Or, x = 12 Required average = {(60 + 12 Γ 2 + 12 Γ 3)/5} = (120/5) = 24
Which data structure is used in BFS traversal of graphs?
Which of the following is NOT a type of graph representation?
Which OSI model layer is responsible for reliable delivery of data between devices?
What is the time complexity of searching for an element in a sorted array using binary search?
In asymmetric encryption, which of the following statements is correct?
Which testing type evaluates internal code logic and control flow?
A stack follows which principle for data access?
What is the worst-case time complexity for inserting an element into a hash table that uses separate chaining for collision resolution?
Which of the following phases in the Software Development Life Cycle (SDLC) ensures that the final product meets the agreed-upon requirements and specif...
Which type of database key is a candidate key that has not been chosen as the primary key?