data structure1

data structure1

University

11 Qs

quiz-placeholder

Similar activities

Week4_S2

Week4_S2

University

10 Qs

W4 session 1 knowledge check

W4 session 1 knowledge check

University

10 Qs

Session 02

Session 02

University

15 Qs

DSA (QUIZ 3) - Recursion

DSA (QUIZ 3) - Recursion

University

15 Qs

Unit6-7_การเรียงลำดับข้อมูลและโครงสร้างข้อมูลแบบต้นไม้

Unit6-7_การเรียงลำดับข้อมูลและโครงสร้างข้อมูลแบบต้นไม้

University

10 Qs

4C's

4C's

University

10 Qs

KOM4013 (Chapter 2)

KOM4013 (Chapter 2)

University

11 Qs

Machine Learning Quiz

Machine Learning Quiz

University

10 Qs

data structure1

data structure1

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

lin zhang

Used 1+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?