
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
Recurrence Relations and Algorithms Quiz
Quiz
•
University
10 questions
Berpikir Komputasional - Struktur Data
Quiz
•
9th Grade - University
15 questions
Operating System
Quiz
•
University
16 questions
G 10- Understanding System Software
Quiz
•
10th Grade - University
15 questions
3.1(a)(b) - Lecture
Quiz
•
University
13 questions
Problem Solving and Programming Design
Quiz
•
University
12 questions
Binary Search
Quiz
•
University
10 questions
Red-Black Tree Quiz
Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games
Quiz
•
6th - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition
Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12
Lesson
•
11th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors
Interactive video
•
4th Grade - University
15 questions
Properties of Equality
Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*
Quiz
•
10th Grade - University
21 questions
Advise vs. Advice
Quiz
•
6th Grade - University
12 questions
Reading a ruler!
Quiz
•
9th Grade - University
