Data structures PGDCA

Data structures PGDCA

University

20 Qs

quiz-placeholder

Similar activities

Searching and Sorting

Searching and Sorting

University - Professional Development

15 Qs

Technical Assessment

Technical Assessment

University

20 Qs

Sorting in Data Structures

Sorting in Data Structures

University

15 Qs

Sorting algorithms (Y11)

Sorting algorithms (Y11)

8th Grade - University

20 Qs

DSA quiz

DSA quiz

University

20 Qs

DAA quiz2

DAA quiz2

University

15 Qs

Code Chef Python

Code Chef Python

University

15 Qs

UAS Algoritma Lanjut

UAS Algoritma Lanjut

University

15 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?