
DAA - CSE A

Quiz
•
Computers
•
University
•
Hard
Dr.L.Josephine Dept
Used 6+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is used for solving the N Queens Problem?
Greedy Algorithm
Dynamic Programming
Backtacking
Sorting
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following sorting algorithms provide the best time complexity in the worst-case scenario?
Merge Sort
Quick Sort
Bubble Sort
Selection Sort
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a Divide and Conquer algorithm?
Bubble Sort
Selection Sort
Heap Sort
Merge Sort
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following data structure is used to perform recursion?
Stack
Queue
Array
Linked List
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of the following code snippet in C++?
void solve() {
string s = "scaler";
int n = s.size();
for(int i = 0; i < n; i++)
{ s = s + s[i]; }
cout << s << endl; }
O(n)
O(n^2)
O(1)
O(log n)
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the time complexity of the binary search algorithm?
O(n)
O(1)
O(log2n)
O(n^2)
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The worst-case time complexity of Quicksort is?
O(n)
O(n^2)
O(nlogn)
O(1)
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Efficient Code Mastery

Quiz
•
University
20 questions
Pemikiran Komputasional untuk Siswa Kelas 9

Quiz
•
9th Grade - University
18 questions
Lecture 2b: Solving Search Problems - Parte2

Quiz
•
University
20 questions
2.3.1 Graph Traversal & Path Finding Algorithms

Quiz
•
12th Grade - University
20 questions
Exploring Trees and Graph Algorithms

Quiz
•
University
23 questions
Search_N_Sort

Quiz
•
University
20 questions
TEST-1

Quiz
•
University
20 questions
Linux Talan Inside Quiz

Quiz
•
University - Professi...
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University