
data structure1

Quiz
•
Information Technology (IT)
•
University
•
Medium

lin zhang
Used 1+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Almost all programming languages start arrays at ___
index 0
index 1
index 2
the null character
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int nums[ ] =
{2, 3, 5, 8, 9, 11};
How would you access the fourth element in nums
nums[8]
nums[3]
nums(4)
nums(3)
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Example of linear data structure except
array
tree
queue
stack
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The number of edges from the node to the deepest leaf is called ___ of the tree.
Height
Depth
Length
Width
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the maximum number of children that a node can have in a binary tree?
3
1
4
2
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
To perform level-order traversal on a binary tree, which of the
following data structure will be required?
Hash table
Queue
Binary search tree
Stack
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
To represent hierarchical relationship between elements, which data structure is suitable?
Dequeue
Priority
Tree
Graph
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Power BI Quiz (Beginner Level)

Quiz
•
University
15 questions
Recurrence Relations and Algorithms Quiz

Quiz
•
University
8 questions
advanced data structures algorithm& anlaysis

Quiz
•
University
15 questions
DSA (QUIZ 3) - Recursion

Quiz
•
University
12 questions
Binary Search

Quiz
•
University
10 questions
Berpikir Komputasional - Struktur Data

Quiz
•
9th Grade - University
9 questions
Binary, Decimal, Hexadecimal Knowledge

Quiz
•
7th Grade - University
15 questions
DSA (QUIZ 2) Stacks and Queues Quiz

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade