Data structure using C

Data structure using C

University

9 Qs

quiz-placeholder

Similar activities

Chapter 2: Input Device

Chapter 2: Input Device

12th Grade - University

12 Qs

Jarkom

Jarkom

1st Grade - Professional Development

11 Qs

Hệ Điều Hành Của Máy Tính

Hệ Điều Hành Của Máy Tính

10th Grade - University

10 Qs

C++ Array Quiz

C++ Array Quiz

University

10 Qs

Tutorium1

Tutorium1

University

10 Qs

Computer Basics 2 - CESA

Computer Basics 2 - CESA

7th Grade - University

10 Qs

Node.js

Node.js

University

10 Qs

Software Testing

Software Testing

University

10 Qs

Data structure using C

Data structure using C

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

p saldhana

Used 10+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a tree in data structures?

a) A linear data structure

A hierarchical, non-linear data structure

A type of array

A type of queue

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In a tree, what is the first node called?

a) Leaf

b) Parent

c) Root

d) Child

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How many root nodes can a tree have?

a) One

b) Two

c) Unlimited

d) Zero

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The connection between two nodes in a tree is called?

a) Leaf

b) Edge

c) Parent

d) Sibling

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

A node with no child is known as?


a) Root node

b) Parent node

c) Leaf node

d) Internal node

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What is a Binary Search Tree (BST)?

a) A tree where left children are always greater than the root

b) A tree where right children are always smaller than the root

c) A tree where left children are smaller and right children are greater than the root

d) A tree with only one child per node

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which traversal method visits the root node first?

a) Inorder

b) Postorder

c) Preorder

d) Level order

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers