
Data Structures2
Authored by Ashok Kumar
Computers
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
For a given graph G having v vertices and e edges which is connected and has no cycles, which of the following statements is true?
v=e
v = e+1
v + 1 = e
v = e-1
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
For the tree below, write the pre-order traversal.
2, 7, 2, 6, 5, 11, 5, 9, 4
2, 7, 5, 2, 6, 9, 5, 11, 4
2, 5, 11, 6, 7, 4, 9, 5, 2
2, 7, 5, 6, 11, 2, 5, 4, 9
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which is the most appropriate data structure for reversing a word?
queue
stack
tree
graph
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How many stacks are required for reversing a word algorithm?
one
two
three
four
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In a max-heap, element with the greatest key is always in the which node?
Leaf node
First node of left sub tree
root node
First node of right sub tree
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Heap exhibits the property of a binary tree?
True
False
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Heap can be used as ________________
Priority queue
Stack
A decreasing order array
Normal Array
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
10 questions
C++ Array Quiz
Quiz
•
University
15 questions
Computer Applications in Banking and Finance Quiz
Quiz
•
University
10 questions
Node.js
Quiz
•
University
10 questions
PHP Introduction - Assignment 1
Quiz
•
University
10 questions
margaret hamilton
Quiz
•
University
9 questions
BASIC HTML
Quiz
•
University
10 questions
Initial Assessment - Cybersecurity Awareness
Quiz
•
9th Grade - Professio...
10 questions
Software Testing
Quiz
•
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade