Data Structures2

Data Structures2

University

11 Qs

quiz-placeholder

Similar activities

VITAP Quiz-1

VITAP Quiz-1

University

10 Qs

Firewall and Network Security

Firewall and Network Security

University

15 Qs

2.4 - 2.6

2.4 - 2.6

University

15 Qs

Week 4

Week 4

University

15 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

Software Engineering :TEST 2

Software Engineering :TEST 2

University

10 Qs

ADVACOMT-Quiz No.1 (final term)

ADVACOMT-Quiz No.1 (final term)

University

15 Qs

Web-II-Loop and Function

Web-II-Loop and Function

University

10 Qs

Data Structures2

Data Structures2

Assessment

Quiz

Computers

University

Medium

Created by

Ashok Kumar

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

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

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

For a given graph G having v vertices and e edges which is connected and has no cycles, which of the following statements is true?

v=e

v = e+1

v + 1 = e

v = e-1

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

For the tree below, write the pre-order traversal.

2, 7, 2, 6, 5, 11, 5, 9, 4

2, 7, 5, 2, 6, 9, 5, 11, 4

2, 5, 11, 6, 7, 4, 9, 5, 2

2, 7, 5, 6, 11, 2, 5, 4, 9

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is the most appropriate data structure for reversing a word?

queue

stack

tree

graph

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many stacks are required for reversing a word algorithm?

one

two

three

four

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In a max-heap, element with the greatest key is always in the which node?

Leaf node

First node of left sub tree

root node

First node of right sub tree

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Heap exhibits the property of a binary tree?

True

False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Heap can be used as ________________

Priority queue

Stack

A decreasing order array

Normal Array

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?