Data Structures Quiz

Data Structures Quiz

University

30 Qs

quiz-placeholder

Similar activities

Trees, Linked Lists, Stacks and Queues

Trees, Linked Lists, Stacks and Queues

11th Grade - University

30 Qs

Technical quiz(Medium-Level)

Technical quiz(Medium-Level)

University

25 Qs

EC8393_FDS_MODEL EXAM_3_PART A

EC8393_FDS_MODEL EXAM_3_PART A

University

30 Qs

ICT 1 (H1H2)

ICT 1 (H1H2)

University

25 Qs

DATA STRUCTURES WORKSHOP DAY-1

DATA STRUCTURES WORKSHOP DAY-1

University

25 Qs

ECS 36C Quizizz

ECS 36C Quizizz

University

29 Qs

Introduction - Data Structures

Introduction - Data Structures

University

25 Qs

Data Structure & Algorithm-Quiz-1

Data Structure & Algorithm-Quiz-1

University

30 Qs

Data Structures Quiz

Data Structures Quiz

Assessment

Quiz

Computers

University

Medium

Created by

zin marYIU

Used 1+ 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?