NEW
Font size
WorksheetsData Structure
Total questions: 60
Worksheet time: 45mins
Stack uses __________ data structure as the element that was inserted last is the first one to be taken out.
LIPO
FIFO
LIFO
FIPO
Full
form of LIFO is ____________
Last
Inside First Outside
Last
Innner First Outer
Last In
First Out
Last
Impact First Out
Every stack has a variable _________ associated with it.
TOP
BOT
POT
none of
above
_________
operation adds an element to the top of the stack.
pop
push
peep
all of
the above
_________
operation removes the element from the top of the stack.
push
pop
update
none of
the above
_________
operation returns the value of the topmost element of the stack.
push
pop
peep
update
_________
operation changes the value of element given by user of the stack.
push
pop
peep
update
A
function calls itself is called ___________.
function
recursion
position
none of
above
A queue is a _________ data structure in which each element that was inserted first is the first one to be taken out.
FITO
FIFO
FISO
FIVO
The elements in a queue are added at one end called ________.
front
rear
near
none of
above
In the postfix notation, as the name suggests the operator is placed ________ the operands.
before
after
both a
and c
none of
above
In the prefix notation, as the name suggests the operator is placed ________ the operands.
before
after
both a
and c
none of
above
The elements in a queue are removed at one end called ________.
front
rear
near
none of
above
In the _______ queue, the first index comes
right after the last index.
linear
queue
circular
queue
priority
queue
none of
above
________ is visualized as vertical collections.
stack
queue
circular
queue
none of
above
Collection of dinner plates at a wedding reception is an example of __________.
stack
queue
circular
queue
none of
above
In pop operation of stack if TOP=NULL then stack is __________.
full
empty
half
all of
above
In push operation of stack if TOP=MAX-1 then stack is _________.
full
empty
half
all of
above
In __________ notation, the operator is placed between the operands.
infix
prefix
postfix
none of
above
(A+B) is example of which of the following notation.
infix
prefix
postfix
none of
above
In Singly Linked List Left part of the node which contains _________ may include a simple data type, an array or a structure.
data
node
address
none of
above
In Singly Linked List Right part of the node which contains _________.
data
address
of a next node
node
none of
above
In Singly linked list last node address part contains _________.
NULL
FULL
data
none of
above
every node contains a pointer to another node which is of the same type, it is called a ____________ data type.
simple
primitive
self
referential
none of
above
A linked list contains a pointer variable called __________,which stores address of first node in the list.
LAST
START
MIDDLE
all of
above
If START=__________ then it means that the singly linked list is empty and contains no nodes.
FULL
NULL
START
none of
above
Linked lists are _________.
static
dynamic
both
none of
above
In _____________ Linked list the node that contains the address of the first node is actually the last node of the linked list.
singly
doubly
circular
none of
above
Generally _________ is used to store large amount of data.
array
linked
list
both a
and b
none of
above
If START=NULL in linked list then we need to write __________ Message.
Overflow
Underflow
both
none of
above
_________ of a node is the number of edges arriving at that node.
in-degree
out-degree
inout-degree
none of above
_________ of a node is the number of edges leaving that node.
in-degree
out-degree
inout-degree
none of above
If the tree is not empty, then the first node is called ________.
leaf
internal node
root
none of above
_________ is any node with an out-degree of zero.
root
internal node
parent
leaf
A node that is not a root or a leaf is known as __________ node because it is found in the middle portion of a tree.
root
leaf
internal node
tree
A node is a __________ if it has successor nodes - that is, if it has an out-degree greater than zero.
child
parent
siblings
none of above
A node with a predecessor is a ______ . It has an in-degree of one.
child
parent
siblings
none of above
Two or more nodes with the same parent are _______.
child
parent
siblings
none of above
An _________ is any node in the path from root to the node.
Ancestor
Descendent
tree
none of above
A binary tree in which every node other than leaf nodes has two children is called ________.
full binary tree
complete binary tree
half binary tree
complete half binary tree
People have used the word ________ to mean computer information that is transmitted or stored.
Beta
Data
Database
None of above
_____________ specifies how we enter data into our programs and what type of data we enter.
data type
data
datum
datum
void is __________ data type.
primary
derived
user defined
none of above
int is __________ data type.
user defined
derived
primary
all of above
Array is ___________ data type.
user defined
primary
derived
all of above
Pointer is __________ data type
derived
primary
user defined
none of above
In ____________ data structure, the data items are arranged in a linear sequence.
linear
non linear
homogeneous
all of above
In ___________ data structures all elements may or may not be of same type.
linear
linear
homogeneous
non- homogeneous
In ___________ data structure data items are not in sequence.
non linear
linear
non-homogeneous
all of above
____________data structures are those whose sizes and structures associated memory locations are fixed at compile time.
linear
homogeneous
static
dynamic
Any two nodes which are connected by an edge in a graph are called _________ nodes.
Adjacent
Proper
Node
None of above
A graph in which every edge is directed is called a __________.
directed graph
indirected graph
directindirect graph
none of above
A graph in which every edge is undirected is called __________.
directed graph
undirected graph
both a and b
none of above
A graph in which some of the edges are directed and some are undirected is called ________.
directed graph
undirected graph
mixed graph
none of above
. An edge of a graph which joins a node to itself is called ________.
node
loop
tree
none of above
Distinct edges which connect the same end points are called _________ edges.
parallel
level
both a and b
none of above
. A graph in which weights are assigned to every edge is called _________ graph.
Weighted
Null
Multi
none of above
In a graph, a node which is not adjacent to any other node is called _______ node
multi
single
isolated
none of above
The no. of edges appearing in the sequence of a path is called the _______of the path.
length
width
height
none of above
The path is a __________ if it begins and ends at the same vertex.
wheel
circuit
length
none of above
