Data Structures Quiz

Data Structures Quiz

University

30 Qs

quiz-placeholder

Similar activities

Data Structures: Placement Preparations

Data Structures: Placement Preparations

University

25 Qs

Batch 1 Quiz - DSA Lab

Batch 1 Quiz - DSA Lab

University

25 Qs

Data Structure & Algorithm-Quiz-1

Data Structure & Algorithm-Quiz-1

University

30 Qs

Trees, Linked Lists, Stacks and Queues

Trees, Linked Lists, Stacks and Queues

11th Grade - University

30 Qs

Data Structures and  Its Applications

Data Structures and Its Applications

University

30 Qs

EC8393_FDS_MODEL EXAM_3_PART A

EC8393_FDS_MODEL EXAM_3_PART A

University

30 Qs

Binary Trees and Traversals Quiz

Binary Trees and Traversals Quiz

University

30 Qs

Data Structures Midterm Exam WRI

Data Structures Midterm Exam WRI

University

27 Qs

Data Structures Quiz

Data Structures Quiz

Assessment

Quiz

Computers

University

Medium

Created by

zin marYIU

Used 2+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a tree in data structures?

A linear data structure

A hierarchical data structure

A non-linear data structure

Both b and c

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a binary search tree (BST), which traversal gives elements in sorted order?

Preorder

Postorder

Inorder

Level-order

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which tree data structure is best suited for hierarchical representation?

Binary Tree

B-Tree

Heap

Trie

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a binary tree, how many children can a node have at most?

1

2

3

Any number

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a graph in data structures?

A tree-like structure

A collection of nodes connected by edges

A linear data structure

A stack-based structure

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a directed graph and an undirected graph?

Directed graphs have weights on edges, while undirected graphs do not

Directed graphs have edges with a direction, while undirected graphs do not

Directed graphs cannot have cycles

Undirected graphs require more memory

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A graph without cycles is called a:

Complete graph

Connected graph

Acyclic graph

Weighted 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?