
DSA_placement

Quiz
•
Computers
•
Professional Development
•
Hard
Ramesh Sahoo
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about linked list implementation of stack?
In push operation, if new nodes are inserted at the beginning of linked list, then in pop operation, nodes must be removed from end.
In push operation, if new nodes are inserted at the end, then in pop operation, nodes must be removed from the beginning.
Both of the above
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following is an application of Stack Data Structure?
Managing function calls
The stock span problem
Arithmetic expression evaluation
All of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The five items: A, B, C, D, and E are pushed in a stack, one after other starting from A. The stack is popped four items and each element is inserted in a queue. The two elements are deleted from the queue and pushed back on the stack. Now one item is popped from the stack. The popped item is
A
B
C
D
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose a circular queue of capacity (n – 1) elements is implemented with an array of n elements. Assume that the insertion and deletion operation are carried out using REAR and FRONT as array index variables, respectively. Initially, REAR = FRONT = 0. The conditions to detect queue full and queue empty are
Full: (REAR+1) mod n == FRONT, empty: REAR == FRONT
Full: (REAR+1) mod n == FRONT, empty: (FRONT+1) mod n == REAR
Full: REAR == FRONT, empty: (REAR+1) mod n == FRONT
Full: (FRONT+1) mod n == REAR, empty: REAR == FRONT
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following points is/are not true about Linked List data structure when it is compared with an array?
Random access is not allowed in a typical implementation of Linked Lists
Access of elements in linked list takes less time than compared to arrays
Arrays have better cache locality that can make them better in terms of performance
It is easy to insert and delete elements in Linked List
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which algorithm is used in the top tree data structure?
y
a) Backtracking
b) Divide and Conquer
c) Branch
greedy
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the most widely used external memory data structure?
B-tree
red-black tree
AVL Tree
both avl and red black tree
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Algorithm Quiz

Quiz
•
Professional Development
20 questions
Part 1.6

Quiz
•
Professional Development
20 questions
Python Proficiency for College Students

Quiz
•
Professional Development
14 questions
DSA + System design - 14

Quiz
•
Professional Development
15 questions
Cloud Security

Quiz
•
Professional Development
20 questions
Project Selection and Management Quiz

Quiz
•
Professional Development
15 questions
IoT Quiz

Quiz
•
Professional Development
15 questions
DS TRaining Day 2

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development