In this page we have given CBSE Board Class 12 Computer Science with Python Book Chapter Stacks and Queries in List MCQ Question and Answer. All the questions below are important for our CBSE Champs.
- Board – CBSE.
- Class – 12
- Subject- Computer Science with Python.
- Topic- MCQ.
- Number of MCQ- 21.
1.) The abbreviation of LIFO is
a) Line In and First Out
b) Last In and First Out
c) Late In and Fast Out
d) None of these
Ans – b.) Last In and First Out
2.) The structure whose elements are accessed according to the LIFO principle.
a.) Class
b.) Inheritance
c.) Stack
d.) Traversal
Ans – c.) Stack
3.) In stack, the one end where the insertion and deletion of element takes place.
a.) Top of the stack
b.) Middle of the stack
c.) Bottom of the stack
d.) All of these
Ans – a.) Top of the stack
4.) The process of adding the new elements to the stack list is to be termed as
a) upload operation
b) update operation
c) push operation
d) installation
Ans – c) push operation
5.) An empty stack is initialized with an invalid ……………………….
a) class
b) variable
c) keyword
d) subscript
Ans – d) subscript
6.) The process of removing the existing elements from the stack list
a.) pop operation
b.) push operation
c.) Traversal
d.) dump operation
Ans – a.) pop operation
7.) When the value of top is -1, then the stack is empty, such situation is termed as …………
a) over flow
b) under flow
c) below flow
d) above flow
Ans – b) under flow
8.) The top is decremented by one if an element is ……………………. from the list
a.) Initialized
b.) added
c.) deleted
d.) updated.
Ans – c.) deleted
9.) It is the moving through the elements of the stack.
a.) Traversal
b.) push operation
c) Inheritance
d) Sorting
Ans – a.) Traversal
10.) The combination of variables, constants and operators.
a.) Impression
b.) Expression
c.) Depression
d.) None of these
Ans – b.) Expression
11.) The type of notation, in which the operator is placed in between the operands.
a.) Infix Expression
b.) Post Expression
c.) Prefix Expression
d.) Proforma Expression
Ans – a.) Infix Expression
12.) In this type of notation, the operator is placed after the operands.
a.) Infix Expression
b.) Post Expression
c.) Prefix Expression
d.) Proforma Expression
Ans – b.) Post Expression
13.) The type of notation, in which the operator is placed before the operands
a.) Infix Expression
b.) Post Expression
c.) Prefix Expression
d.) Sub-script Expression
Ans – c.) Prefix Expression
14.) It is the container of elements, which are inserted and removed according to the (FIFO) principle.
a.) Traversal
b.) Queue
c.) Expression
d.) All of these
Ans – b.) Queue
15.) FIFO stands for
a.) Fill In and Fill Out
b.) Fast In Fast Out
c.) First In First Out
d.) For In From Out
Ans – c.) First In First Out
16.) Addition of element is termed as
a.) Insert operation
b.) Add operation
c.) Fill operation
d.) Enter operation
Ans – a.) Insert operation
17.) Removal of element is termed as
a.) Delete operation
b) Remove operation
c) Clear operation
d) Del Operation
Ans – a.) Delete operation
18.) The two operations in the queue are performed from different ends, we need to maintain both access points which are known as ……………………. and …………………..
a.) ABOVE BELOW
b) TOP BOTTOM
c) UP DOWN
d) FRONT REAR
Ans – d) FRONT REAR
19.) ………………………. is used for delete operation whereas ……………… is used for insert operation.
a) ADD REMOVE
b) INSERT DELETE
c) ENTER CLEAR
d) FRONT REAR
Ans – d) FRONT REAR
20.) Although the principle operations I n queue are Insert and Delete, but as a learner, we need to know the contents of queue at any point of time. To handle such requirement we will add …………….. in operation in our program.
a.) class
b.) traversal
c.) variable
d.) operators
Ans – b.) traversal
21.) In Python, we make use of ……………… and …………… functions fordeletion of elements at the front and addition of elements at the rear.
a.) add () remove ()
b.) del () append ()
c.) Insert () clear ()
d.) All of these
Ans – b.) del () append ()
Hope above Chapter Stacks and Queries in List MCQ will help You. For any doubts please contact us. Our Computer Science Teacher will help You.