
Data Structure - II BCA B - 21.7.25
Authored by GINAVANEE A
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The elements in an array are stored in:
The elements in an array are stored in:
Random memory locations
Contiguous memory locations
Linked manner
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
void solve() {
stack<int> s;
s.push(10);
s.push(20);
s.push(30);
for(int i = 1; i <= 3; i++)
{ cout << s.top() << “ “;
s.pop();
}
}
10,20,30
30
10
30,20,10
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a linear data structure?
Array
AVL Tree
Binary Tree
Graphs
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When a pop() operation is called on an empty queue, what is the condition called?
Overflow
Underflow
Syntax Error
Garbage Value
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is correct about stack and queue?
Which of the following is correct about stack and queue?
Stack is LIFO, Queue is FIFO
Both are FIFO
Both are LIFO
Both are random access structures
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the postfix form of: (A + B * C) / D ?
What is the postfix form of: (A + B * C) / D ?
A + B C * / D
A B C + * D /
A B * C + D /
A B C * + D /
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In postfix expression evaluation, what happens when an operator is read?
In postfix expression evaluation, what happens when an operator is read?
Push onto stack
Discard it
Pop two operands from stack, apply operator, push result
Push operands only
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
14 questions
Cuestionario sobre Lenguajes de Programación
Quiz
•
7th Grade - University
13 questions
GIT COURSE
Quiz
•
University
10 questions
Kuis 3 - ASD (B)
Quiz
•
University
15 questions
Integrative Programming PRELIM
Quiz
•
University
16 questions
CCNA 1 - ITN v7 - Módulo 12
Quiz
•
University
12 questions
R variable Data Type and Flow Control Quiz
Quiz
•
University
20 questions
DWII - Avaliação Número 1
Quiz
•
University
20 questions
QUIZ BAB 4: SISTEM OPERASI
Quiz
•
8th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade