wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Pre Quiz CIE Activity-01- Flipped Classroom

Total questions: 8

Worksheet time: 6mins

Name
Class
Date
1.

Only one end that is used in stack is called

a)

front

b)

rear

c)

top

d)

index

2.

The result of illegal attempt to remove an element from empty stack is called

a)

stack overflow

b)

stack underflow

c)

stack exception

d)

none of the above

3.

The result of illegal attempt to add an element from capacity complete stack is called

a)

stack overflow

b)

Stack underflow

c)

Stack exception

d)

Error in Stack

4.

In the stack the data item placed on the stack first is 

a)

The first element to be removed

b)

The Last element to be removed

c)

Placed at -1 index

d)

Given an index zero

5.

Following stack operations are performed on an initially empty stack:

push(5); push(1); push(4); push(3); pop( ); push(2); pop( ); pop( ); push(8); push(7); pop(
);
What is the value stored in top of the stack after the above operations?

a)

7

b)

8

c)

5

d)

1

6.

Which of the following statement about stack data structure is NOT correct?

a)

a) Linked List are used for implementing Stacks

b)

b) Top of the Stack always contain the new node

c)

c) Stack deletes first element inserted at first

d)

d) Null link is present in the last node at the bottom of the stack

7.

Consider the linked list implementation of a stack. Which of the following node is considered as Top of the stack?

a)

a) First node

b)

b) Last node

c)

c) Any Node

d)

d)Middle Node

8.

The following postfix expression with single digit operands is evaluated using stack:

823^/23*+51*- 

The elements of the stack after the / is evaluated are 

a)

6, 1

b)

1

c)

2

d)

1, 2