
HAPPY DSA

Quiz
•
Information Technology (IT)
•
University
•
Hard
PAVITHRA G
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following data structures is used in the implementation of a recursive function?
A) Queue
B) Stack
C) Linked List
D) Tree
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is the time complexity of accessing an element in an array of size n?
A) O(1)
B) O(n)
C) O(logn)
D) O(n^2)
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following algorithms is used for sorting an array in place?
D) Heap Sort
C) Bubble Sort
B) Quick Sort
A) Merge Sort
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the space complexity of a recursive function that uses a stack for its execution?
B) O(n)
A) O(1)
D) O(n^2)
C) O(logn)
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following data structures allows for the implementation of a LIFO (Last In First Out) principle?
B) Stack
D) Linked List
A) Queue
C) Array
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the average time complexity of a binary search algorithm on a sorted array?
A) O(n)
D) O(1)
C) O(n logn)
B) O(logn)
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following data structures is best suited for implementing a priority queue?
B) Stack
A) Array
D) Linked List
C) Heap
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
DATA MINING ASSESSMENT

Quiz
•
University
15 questions
четам ба😎

Quiz
•
University
15 questions
Quiz on Recursion and Algorithms

Quiz
•
University
15 questions
Data Structures Quiz

Quiz
•
University
17 questions
LA 1A 2024 - QUIZ P15

Quiz
•
University
24 questions
Quiz on Searching and Sorting Algorithms

Quiz
•
University
18 questions
JAVA-Day4

Quiz
•
University
15 questions
Recurrence Relations and Algorithms Quiz

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade