Here is class 12 computer science Unit 1 [Type A] solutions for Sumita Arora back exercise assignment. Below includes both textual and video solutions wherever required. View all the answers in assignment for chapter 10 and for all chapters here.Watch all tutorials for chapter 10.
A stack is linear data structure in which LIFO (last in first out) principle is followed to store the data that means if insertion and deletion of the data is process on the same end known as top. Insertion operation of data is termed as push and deletion is termed as pop.Its is dynamic memory structure as it changes shape and size.
A queue is linear data structure in which FIFO (first in first out) principle is followed to store the data. Queue operates on two nodes i.e. front end and rear end. In queue insertion id done on the rear/back end while the deletion is done end front end.Its is dynamic memory structure as it changes shape and size.
In this both data structure came to real life operation. In donation camp people in stand in queue and person enter queue first will get blanket first.The blanket will be arranged in stack management in which blanket will be picked from top.
Input/output restricted queue is the data structure where restriction in insertion and deletion at specific node is imposed.
Input restricted is the queue in which deletion can be done at both end but insertion can only done at the specified node.
Output restricted is the queue in which the insertion can be done at both and the deletion can be done at specific node.
Enqueue operations is the insertion of the new element into the queue.
Dequeue operations is the deletion id the data from the queue.
Push operation is the inserting a new element at the rear end in most probably cases.
Pop operations is the deletion of element from the front end from queue.
Steal job algorithm in CPU processing of thread operation.
Clear Doubts with Computer TutorIn case you’re facing problems in understanding concepts, writing programs, solving questions, want to learn fun facts | tips | tricks or absolutely anything around computer science, feel free to join CTs learner-teacher community: students.computertutor.in
You cannot copy content of this page