
ADA QUIZZZZZ 2nd Time
Authored by shama s
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1 What does time complexity measure in an algorithm?
1 What does time complexity measure in an algorithm?
A . Number of operations executed
B . Amount of memory used
C . Number of lines of code
D . Input size
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2 Which of the following best describes space complexity?
A . The amount of time an algorithm takes to run
B . The amount of memory an algorithm requires to execute
C . The number of inputs an algorithm can handle
D . The number of times an algorithm loops
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3 Quick sort is an example of a sorting algorithm based on which strategy?
A . Dynamic programming
B . Greedy approach
C . Divide and conquer
D . Backtracking
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4 What is the worst-case time complexity of quick sort?
A . O(n)
B . O(n log n)
C . O(n^2)
D . O(log n)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5 Which of the following is/are property/properties of a dynamic programming problem?
A . Optimal substructure
B . Overlapping subproblems
C . Greedy approach
D . Both optimal substructure and overlapping subproblems
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6 What are the constraints of the 0/1 Knapsack Problem?
A . Items` weights and values are negative.
B . Knapsack`s capacity is unlimited.
C . Each item can only be chosen once, and the total weight must not exceed the knapsack`s capacity.
D . Each item can be chosen multiple times.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7 What is the primary objective of the All Pairs Shortest Path problem in graph theory?
A . To find the shortest path from one specific vertex to another.
B . To find the shortest path between every pair of vertices in a graph.
C . To detect negative weight cycles in a graph.
D . To find the longest possible path in a graph.
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
15 questions
Object Oriented Programming Assessment 1
Quiz
•
University
10 questions
QUIZ GAME
Quiz
•
University
10 questions
computer Networks
Quiz
•
University
15 questions
PICMAKER
Quiz
•
University
15 questions
Vistacreate
Quiz
•
University
10 questions
Industry 4.0 Unit 1
Quiz
•
University
10 questions
Scratch
Quiz
•
KG - Professional Dev...
9 questions
Structured/Traditional SDM
Quiz
•
University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
14 questions
Ch.3_TEACHER-led
Quiz
•
University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University