DSA Quiz 4th Semster CE

DSA Quiz 4th Semster CE

University

40 Qs

quiz-placeholder

Similar activities

Questionnaire DRCVC

Questionnaire DRCVC

9th Grade - University

35 Qs

Hangeul Tunggal dan Kosakata

Hangeul Tunggal dan Kosakata

University

35 Qs

Test GK- F1- K27- Lần 2

Test GK- F1- K27- Lần 2

University

40 Qs

Data Structure & Algorithm Quiz1

Data Structure & Algorithm Quiz1

University - Professional Development

43 Qs

H-5 PAS GENAP informatika X-E s/d X-L

H-5 PAS GENAP informatika X-E s/d X-L

12th Grade - University

40 Qs

1D2- Preliminary Exam

1D2- Preliminary Exam

University

37 Qs

Image Processing

Image Processing

University

40 Qs

co khi dien luc 1- chuong 6( KN VỀ MÁY NÉN KHÍ)

co khi dien luc 1- chuong 6( KN VỀ MÁY NÉN KHÍ)

University

41 Qs

DSA Quiz 4th Semster CE

DSA Quiz 4th Semster CE

Assessment

Quiz

Other

University

Hard

Created by

Gp BrighUp

Used 9+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of inserting an element into a stack implemented using an array?

O(1)

O(n)

O(log n)

O(n^2)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure is used for breadth-first traversal of a graph?

Stack

Queue

Array

Linked List

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst-case time complexity of the quicksort algorithm?

. O(n)

O(n log n)

O(n^2)

O(log n)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a binary search tree, which traversal gives the nodes in ascending order?

Preorder

Inorder

Postorder

Level order

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of hashing in data structures?

Sorting elements

Searching elements

Inserting elements

Deletion of elements

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm has the best average-case time complexity?

Bubble Sort

Merge Sort

Insertion Sort

Selection Sort

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure uses LIFO (Last In, First Out) ordering?

Queue

Stack

Linked List

Tree

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?