
Data Structure - II BCA B - 21.7.25

Quiz
•
Computers
•
University
•
Hard
GINAVANEE A
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
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?
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 ?
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?
Push onto stack
Discard it
Pop two operands from stack, apply operator, push result
Push operands only
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
data structures1

Quiz
•
University
15 questions
Assesmen Kognitif (XI)

Quiz
•
11th Grade - University
14 questions
Data Structure

Quiz
•
University
15 questions
Stack??

Quiz
•
University
20 questions
Data Structure

Quiz
•
University
10 questions
Quiz on Stacks and Data Structures 2

Quiz
•
University
15 questions
Stack

Quiz
•
University
15 questions
ROTC Make-up Quiz

Quiz
•
University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
12 questions
Civil War

Quiz
•
8th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
19 questions
Primary v. Secondary Sources

Quiz
•
6th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
20 questions
Disney Trivia

Quiz
•
University