
DAA Quiz 1
Quiz
•
Professional Development
•
University
•
Practice Problem
•
Medium
manasa DS
Used 19+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is an algorithm?
What is an algorithm?
a) A step-by-step recipe for cooking
b) A sequence of operations to solve a problem
c) A physical machine to perform calculations
d) A programming language
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT a property of an algorithm?
Which of the following is NOT a property of an algorithm?
a) Finiteness
b) Uniqueness
c) Input
d) Output
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which method of algorithm specification uses human language to describe the steps of an algorithm?
Which method of algorithm specification uses human language to describe the steps of an algorithm?
a) Flowchart
b) Pseudo code convention
c) UML diagram
d) Natural language
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the Big-Oh notation (O) express for an algorithm?
What does the Big-Oh notation (O) express for an algorithm?
a) Upper bound of time complexity
b) Lower bound of time complexity
c) Exact time complexity value
d) Average time complexity
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which sorting algorithm repeatedly selects the minimum element from the unsorted part of the array and places it at the beginning?
a) Insertion sort
b) Selection sort
c) Merge sort
d) Bubble sort
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The Rabin-Karp string matching algorithm is based on:
a) Dynamic programming
b) Divide and conquer
c) Hashing
d) Backtracking
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the given options provides the increasing order of asymptotic complexity of functions f1, f2, f3 and f4?
f1(n) = 2^n
f2(n) = n^(3/2)
f3(n) = nLogn
f4(n) = n^(Logn)
f3, f2, f4, f1
f3, f2, f1, f4
f2, f3, f1, f4
f2, f3, f4, f1
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
25 questions
CH Semana 4
Quiz
•
University
25 questions
Le cours du français
Quiz
•
8th Grade - Professio...
25 questions
PLC & SCADA Module-1 Quiz
Quiz
•
University
30 questions
Kaigo Bab 5
Quiz
•
University
25 questions
STEP 4 (GFK)
Quiz
•
4th Grade - Professio...
25 questions
planeacion estrategica Foda
Quiz
•
University
25 questions
Poder y Autoridad
Quiz
•
University
25 questions
Errores comunes en gestión de Almacenes
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Professional Development
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University
