
Data structure using C

Quiz
•
Computers
•
University
•
Medium
p saldhana
Used 10+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a tree in data structures?
a) A linear data structure
A hierarchical, non-linear data structure
A type of array
A type of queue
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In a tree, what is the first node called?
a) Leaf
b) Parent
c) Root
d) Child
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many root nodes can a tree have?
a) One
b) Two
c) Unlimited
d) Zero
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The connection between two nodes in a tree is called?
a) Leaf
b) Edge
c) Parent
d) Sibling
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A node with no child is known as?
a) Root node
b) Parent node
c) Leaf node
d) Internal node
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What is a Binary Search Tree (BST)?
a) A tree where left children are always greater than the root
b) A tree where right children are always smaller than the root
c) A tree where left children are smaller and right children are greater than the root
d) A tree with only one child per node
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which traversal method visits the root node first?
a) Inorder
b) Postorder
c) Preorder
d) Level order
8.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a forest in a tree structure?
a) A single tree
b) A set of disjoint trees
c) A type of leaf node
d) A connected graph
9.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The total number of edges in the longest path from a node to a leaf is called?
a) Depth
b) Height
c) Degree
d) Level
Similar Resources on Wayground
14 questions
CIS 1103 Week 7_8 CLO3 (Part 2)

Quiz
•
University
13 questions
Graph Traversal Algorithms Quiz

Quiz
•
12th Grade - University
10 questions
Trees

Quiz
•
University
10 questions
BACS3323 Chapter 6 - Decision Making - Lecture

Quiz
•
University
11 questions
Binary Search Trees

Quiz
•
University
9 questions
Data structures

Quiz
•
University
8 questions
FOS Ch.1 PArt 4 (QUIZ 4)

Quiz
•
University
10 questions
Quiz despre B+ Tree

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