Search
Question: What is the primary advantage of using a stack?Options: FIFO orderLIFO orderDynamic resizi..
Question: Which of the following is a disadvantage of using a linked list over an array?Options: Dyn..
Question: What is the primary advantage of using a doubly linked list over a singly linked list?Opti..
Question: Which data structure would you use to implement a queue?Options: ArrayLinked ListStackBoth..
Question: What is a common application of arrays in programming?Options: Dynamic memory allocationIm..
Question: Which of the following operations is not efficient in a linked list?Options: Insertion at ..
Question: Which data structure is more memory efficient for storing a list of elements with frequent..
Question: What is the main disadvantage of using an array compared to a linked list?Options: Arrays ..
Question: In which scenario would you prefer a linked list over an array?Options: When you need fast..
Question: Which of the following is a common application of linked lists?Options: Implementing stack..
Question: What is the space complexity of a linked list with n nodes?Options: O(1)O(n)O(n log n)O(n^..
Question: Which data structure uses FIFO (First In First Out) principle?Options: StackQueueArrayLink..
Question: What is the time complexity of inserting an element at the end of a singly linked list?Opt..
Question: In a stack, which operation is performed in constant time?Options: PushPopPeekAll of the a..
Question: What is the worst-case time complexity of searching for an element in a sorted array using..
Question: Which sorting algorithm is generally considered the most efficient for large datasets?Opti..
Question: In a doubly linked list, how many pointers does each node contain?Options: OneTwoThreeFour..
Question: A 3 kg object is lifted to a height of 4 m. What is the work done against gravity? (g = 9...
Question: If a person does 500 J of work in 5 seconds, what is their power output?Options: 100 W50 W..
Question: A 15 kg object is moving at a speed of 4 m/s. What is its kinetic energy?Options: 120 J240..
Question: If a machine does 3000 J of work in 10 seconds, what is its power output?Options: 300 W150..
Question: A car accelerates from rest to a speed of 20 m/s. If its mass is 1000 kg, what is the kine..
Question: If a 2 kg object is lifted to a height of 3 m, what is the potential energy gained by the ..
Question: Which of the following processes involves the transfer of heat through the movement of flu..
Question: In a circular linked list, what is the main characteristic?Options: Last node points to nu..
Question: What is the time complexity of merging two sorted arrays?Options: O(n)O(n log n)O(log n)O(..
Question: Which of the following is a disadvantage of using arrays?Options: Fixed sizeRandom accessE..
Question: Which data structure is more memory efficient for storing a list of elements?Options: Arra..
Question: What is the worst-case time complexity for searching an element in an unsorted array?Optio..
Question: In a singly linked list, how do you delete a node given only access to that node?Options: ..