1) Increasing the RAM of a computer typically improves performance because Virtual memory increases Larger RAMs are faster Fewer page faults occur Fewer segmentation faults occur Answer: 3Explanation:Virtual memory of computer does not depend upon main memory. However, it is not straight wrong but not the best answer. With more RAM we can afford larger […]
MCQ on Tree | Binary Tree | Binary Search Tree | AVL Tree
1) A Binary Tree can have Can have 2 children Can have 1 children Can have 0 children All Answer: 4Explanation: Binary tree can have at most 2 children. 2) Height of Height of a binary tree is MAX( Height of left Subtree, Height of right subtree)+1 MAX( Height of left Subtree, Height of right […]
MCQ on Stack | Queue | Array | Linked List Data Structures
1) Elements can be retrieved by index in …………….? linked lists linear arrays both of above none of above Answer: 2 2) Efficiency of an algorithm is measured by Time and Capacity complexity Time and Space complexity Speed and Space complexity Speed and Capacity complexity Answer: 2 3) Which sorting algorithm is the slowest […]