Data structures

Data structures

University

9 Qs

quiz-placeholder

Similar activities

Binary Search Trees C++

Binary Search Trees C++

University

8 Qs

Quiz 1

Quiz 1

University

8 Qs

Trees

Trees

University

10 Qs

Binary Tree

Binary Tree

University

14 Qs

Trees

Trees

University

11 Qs

DS-U3-Q1

DS-U3-Q1

University

10 Qs

Binary Tree 2

Binary Tree 2

University

10 Qs

Tree Data Structure

Tree Data Structure

University

10 Qs

Data structures

Data structures

Assessment

Quiz

Computers

University

Medium

Created by

nuzo nuzo

Used 6+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

when malloc() returns NULL value, it means

memory is not allocated

memory is allocated

memory is allocated but no data entered

none of the above

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The elements of static list are stored in

successive memory locations

random memory locations

alternate memory locations

none of the above

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

This is a binary tree in which every level of the tree is completely filled except the last level

strictly binary tree

binary search tree

complete binary tree

none of the above

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The indirection operator is represented by

*

&

~

none of the above

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

In binary tree nodes with no successor are called terminal nodes

true

false

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a full binary tree?

Each node has exactly zero or two children

Each node has exactly two children

All the leaves are at the same level

Each node has exactly one or two children

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following options is not true about the Binary Search tree?

The value of the left child should be less than the root node

The value of the right child should be greater than the root node

The left and right sub trees should also be a binary search tree

None of the above

8.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is non-linear data structure?

Stacks

List

Strings

Trees

9.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

The image is a perfect binary tree

true

false