
Assignment Quiz-2

Quiz
•
Computers
•
University
•
Easy
Mr. Joseph
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Which of the following data structures can be used for parentheses matching?
n-ary tree
Queue
Priority Stack
Stack
2.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What is an AVL tree?
a tree which is balanced and is a height balanced tree
a tree with three children
a tree with atmost 3 children
a tree which is unbalanced and is a height balanced tree
3.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Which of the following statements about a binary search tree (BST) is FALSE?
In a BST, the left subtree of a node contains only nodes with keys less than the node's key
A BST can have duplicate values stored in its nodes.
In a BST, the right subtree of a node contains only nodes with keys greater than the node's key.
The inorder traversal of a BST visits the nodes in ascending order based on their keys
4.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Minimum number of fields in each node of a doubly linked list is ________________
Three
Four
Two
None
5.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
A binary tree in which all its levels except
the last, have maximum numbers of nodes, and all the nodes in the last level have only one child it will be its left child. Name the tree.
Threaded tree
M-way search tree
Full binary tree
Complete binary tree
6.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
In binary trees, which traversal visits the left subtree, then the root, and finally the right subtree recursively?
Preorder traversal
Postorder traversal
Level order traversal
Inorder traversal
7.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Consider a singly linked list with nodes containing integers. Which operation typically has a time complexity of O(1) for both insertion and deletion?
Insertion at the beginning of the list
Deletion from the middle of the list
Deletion from the end of the list
Insertion at the end of the list
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
2.3.1 Graph Traversal & Path Finding Algorithms

Quiz
•
12th Grade - University
15 questions
GIS Unit III

Quiz
•
University
17 questions
Demo DS-A ASHV Quiz

Quiz
•
University
15 questions
Stack??

Quiz
•
University
20 questions
Latihan Informatika Kelas 9

Quiz
•
9th Grade - University
20 questions
js_edu_wrap_up

Quiz
•
1st Grade - Professio...
18 questions
Data Science & Big Data

Quiz
•
University - Professi...
22 questions
SE - Test for Reporting Team

Quiz
•
University
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
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University