Question
Which of the following operations on a data structure
refers to the removal of an element from the front of a queue?Solution
The operation Dequeue refers to the removal of an element from the front of a queue. A queue follows the FIFO (First In, First Out) principle, meaning the first element inserted into the queue will be the first one to be removed. Dequeue is the term used to describe this removal process. The incorrect options: Pop : This refers to the removal of an element from the top of a stack, which follows the LIFO (Last In, First Out) principle. Push : This is the operation of adding an element to the top of a stack, not removing it from a queue. Peek : This operation retrieves the front element of a data structure without removing it. Enqueue : This refers to the operation of adding an element to the rear of a queue, not removing it.
Ratio of length to width of a rectangular field is 2:3. If the perimeter of the field is 380 metres, then find the area (in m2) of the field.
Which one among the following is the smallest?
The cost of fencing a rectangular garden at Rs. 10/metre is Rs. 1000. If the ratio of the length to breadth is 3:2, find the area of the garden.
1.5 cm of rain has fallen on a square km of length 80% of the water was stored in a tank of dimensions 160 m × 15m. Find the increase in the water leve...
The cost of fencing a rectangular field at the rate of Rs. 7/metre is Rs. 350. If the length of the field is 11 metres more than its breadth, then find ...
The total surface area of a cube is given as 486 cm². What is the volume of the cube?
The area of the rectangular field is 480 m² and its perimeter is 88 m. Find how much percent less the breadth of the field is compared to the length of...
Length and breadth of a rectangle are in the ratio 5:4. If the perimeter of the rectangle is 52 cm more than the length of the rectangle, then find the ...
A village having a population of 8000 requires 200 litres of water per head per day. It has a tank measuring 40 m `xx` 30 m `xx` 12 m. The water of this...
A cylinder has a height of 14 cm and a radius of 7 cm. Find the total surface area.