Do you have any idea what the data structure is? Data structure is a method that applies the appropriate structure and syntax to store and organize information. This quiz asks you what an array is, how to delete an item from an array which loop is correct, how to identify the underflow condition for a stack, and how to identify See morethe correct set of statements. This great quiz will assist you with learning about data structure.
For(i=pos;i>=1;i--) { A[i] = A[i+1]; }
For(i=pos ; i
For(i=N; i>=pos;i--) { A[i] = A[i+1]; }
For(i=N; i>=pos;i--) { A[i+1] = A[i] }
For(i=N; i
Rate this question:
For(i=N;i>=pos;i--) { a[i] = a[i+1]; }
For(i=pos;i
For(i=pos;i
For(i=pos-1;i
None
Rate this question:
Same
10,10, 20, 20, 30, 40
10,0 20, 0, 30, 40
10,30, 20, 0, 0, 40
40, 30 ,10, 0, 0, 0
Rate this question:
LIFO
FIFO
BOTH A and B
None
Rate this question:
Decrements by one
Increments by one
Stays there itself
Its always a 0
None
Rate this question:
If( top < 1)
If(top > 1)
If(top > N)
If( top < N)
None
Rate this question:
If(REAR > N)
If(REAR < = FRONT)
If(REAR < 0)
If(FRONT > REAR)
NONE
Rate this question:
Q[REAR] = item; REAR ++;
Item = Q[FRONT]; FRONT++;
Item = Q[REAR]; FRONT ++;
Item = Q[FRONT]; REAR ++;
NONE
Rate this question:
top++; S[top] = Item;
Item = S[top]; top--;
S[item] = Top; item ++;
S[top] = item; top++;
None
Rate this question:
Stack
Queues
Both Stack and Queues
Arrays
None
Rate this question:
Stacks
Queues
Both Stacks and Queues
Arrays
None
Rate this question:
Polished Notations
Storing return addresses of function calls
Reversing a String
Recursion
All of the Above
Rate this question:
ABCD+*/
AB*/CD+
ABC*D/+
ABCD*+/
A+B*C/D
Rate this question:
/*+ABCD
+/*DCBA
+/*BCDA
ABCD+*/
/*+BDCA
Rate this question:
70
80
150
0
1500
Rate this question:
ABC! AND OR
AB AND C! OR
ABC! AND OR
A AND B !C OR
NONE
Rate this question:
Fast
Time consuming
Needs a sorted array
Does not needs a sorted array
ALL
Rate this question:
Fast
Time consuming
Needs a sorted array
Does not needs a sorted array
ALL
Rate this question:
Top = mid + 1;
Top = mid - 1;
Bot = mid + 1;
Bot = mid - 1;
None
Rate this question:
Quiz Review Timeline (Updated): Mar 22, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.