
DAA - CSE A
Authored by Dr.L.Josephine Dept
Computers
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
16 questions
Gerência do Processador
Quiz
•
University
20 questions
Infrastructure (Network)
Quiz
•
University
20 questions
Computación 1ro y 2do básico
Quiz
•
1st Grade - University
15 questions
IT 209
Quiz
•
University
20 questions
PHP First Internal Practical Viva
Quiz
•
University
15 questions
Assessment 08
Quiz
•
University
15 questions
Monday Week#2
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade