
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
20 questions
Desvendando Estruturas de Dados

Quiz
•
University
15 questions
Quiz về Kiểu Dữ Liệu List và Set (1)

Quiz
•
7th Grade - University
15 questions
Session 12 + 13 + 14: Searching and Sorting Algorithms

Quiz
•
University
22 questions
Unit-8 (QB64) Year-6

Quiz
•
6th Grade - University
18 questions
Autômato - Identificação de Funcionamento - Programação - 9ano

Quiz
•
9th Grade - University
15 questions
DSA (QUIZ 3) - Recursion

Quiz
•
University
15 questions
LATIHAN 1 - Hardware

Quiz
•
1st Grade - University
19 questions
Introprog 6. Tutorium

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University