
Cp QUIZ

Quiz
•
Computers
•
University
•
Easy
sowndarya csm
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 10 pts
In backtracking, what is pruning?
Trimming unwanted branches in the search space.
The process of selecting the best solution
reversing the steps taken
The process of finding the optimal solution.
2.
MULTIPLE CHOICE QUESTION
15 mins • 10 pts
What is the key feature of a problem that makes it suitable for a backtracking solution?
The problem has overlapping subproblems.
The problem has an optimal substructure.
The problem can be divided into smaller independent subproblems.
The problem exhibits a recursive structure and can be solved by trying out different possibilities.
3.
MULTIPLE CHOICE QUESTION
15 mins • 10 pts
The first step in the naïve greedy algorithm is?
adding flows with higher values
reversing flow if required
analysing the zero flow
calculating the maximum flow using trial and error
4.
MULTIPLE CHOICE QUESTION
15 mins • 10 pts
Which of the following algorithms is the best approach for solving Huffman codes?
greedy algorithm
exhaustive search
divide and conquer algorithm
brute force algorithm
5.
MULTIPLE CHOICE QUESTION
15 mins • 10 pts
Which bit is reserved as a parity bit in an ASCII set?
first
seventh
eighth
tenth
6.
MULTIPLE CHOICE QUESTION
15 mins • 10 pts
Which of the following is/are property/properties of a dynamic programming problem?
Optimal substructure
Overlapping subproblems
Greedy approach
Both optimal substructure and overlapping subproblems
7.
MULTIPLE CHOICE QUESTION
15 mins • 10 pts
In dynamic programming, the technique of storing the previously calculated values is called ___________
Saving value property
Storing value property
Memoization
Mapping
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Greedy Algorithms Quiz

Quiz
•
University
10 questions
DAA Unit 4 Quiz

Quiz
•
University
13 questions
Algorithms and Complexity Quiz

Quiz
•
University
10 questions
Logical Programming Paradigm Quiz

Quiz
•
University
10 questions
Algorithms Challenge

Quiz
•
University
14 questions
Traveling Salesman Quiz - Batch 1

Quiz
•
University
11 questions
Introduction to Software Engineering-1

Quiz
•
University
13 questions
time and space complexity

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

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

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University