data structure1

data structure1

University

11 Qs

quiz-placeholder

Similar activities

Quiz on Units of Information

Quiz on Units of Information

9th Grade - University

14 Qs

CS10337 - Lecture #2

CS10337 - Lecture #2

University

10 Qs

Posttest for UKIN

Posttest for UKIN

10th Grade - University

10 Qs

Introduction: Fight the Right Battle.

Introduction: Fight the Right Battle.

University

12 Qs

Assembly Language and MIPS Architecture Quiz

Assembly Language and MIPS Architecture Quiz

University

15 Qs

Quiz on Web Services in Education

Quiz on Web Services in Education

12th Grade - University

10 Qs

DSA (QUIZ 7) -Greedy Algorithms and Complexity Analysis

DSA (QUIZ 7) -Greedy Algorithms and Complexity Analysis

University

15 Qs

24-2 IT104 P1

24-2 IT104 P1

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?