Question
A man first travels 160 km at 24 km/hr and next 160 km
at 40 km/hr. The average speed for the first 320 km of his travelling is:Solution
Total time taken = [(160/24) + (160/40)] hrs = 32/3 hrs Average speed = 320 x (3/32) km/hr = 30 km/hr
Which tree traversal gives nodes in non-decreasing order for a BST?
In a data warehousing environment, what is the primary purpose of an OLAP (Online Analytical Processing) cube?
In a binary tree, what is the maximum number of children a node can have?
Which sorting algorithm has O(n log n) average case?
Which of the following data structures is best suited for implementing a "undo" mechanism in a text editor?
Which of the following best describes Abstraction in Object-Oriented Programming (OOP)?
What does Big O notation primarily describe?
A stack follows which principle for data access?
Which data structure uses LIFO (Last In, First Out) principle?
What is the difference between 'BFS' (Breadth-First Search) and 'DFS' (Depth-First Search) in graph traversal?