Data structures PGDCA

Data structures PGDCA

University

20 Qs

quiz-placeholder

Similar activities

Heaps

Heaps

University

15 Qs

Data Structures and Algorithms Quiz

Data Structures and Algorithms Quiz

University

17 Qs

Heap Sort - Data Structures

Heap Sort - Data Structures

University

15 Qs

AlgoMania Quiz

AlgoMania Quiz

University

15 Qs

Heap and Search Tree

Heap and Search Tree

University

15 Qs

Heap

Heap

University

15 Qs

Sort

Sort

University - Professional Development

15 Qs

DS- UNIT-1

DS- UNIT-1

University

20 Qs

Data structures PGDCA

Data structures PGDCA

Assessment

Quiz

Computers

University

Medium

Created by

sathya priya

Used 5+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a property of a set?

 

Ordered

Mutable

Does not allow duplicates

All the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code?

print((1,2,3)+(‘a’,’b’,’c’))

(1, 2, 3, 'a', 'b', 'c')

((1, 2, 3),('a', 'b', 'c'))

(1,’a’,2,’b’,3,’c’)

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A ___ is a subgraph of a graph G that includes all the vertices of G and is also a tree.

Binary tree

Binary Search Tree

Spanning tree

AVL tree

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hashing is the technique that uses mathematical functions to sort ___ data in a speedy and organized fashion.

Incoming

Outgoing

Stored

Both A and B

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The worst-case occur in linear search algorithm when …….

Item is somewhere in the middle of the array

Item is not in the array at all

Item is the last element in the array

Item is the last element in the array or item is not there at all

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The complexity of bubble sort algorithm is …..

O(n)

O(logn)

O(n2)

O(n logn)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Partition and exchange sort is ……..

quick sort

tree sort

heap sort

bubble sort

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?