
Cp QUIZ
Authored by sowndarya csm
Computers
University
Used 1+ 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
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
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
GIS Unit III
Quiz
•
University
15 questions
Computer and Other Human Inventions
Quiz
•
University
15 questions
Robotics Prelim
Quiz
•
University
10 questions
Constrain Satisfaction Problem (CSP)
Quiz
•
University
10 questions
UTILITY PROGRAM
Quiz
•
University
10 questions
Data Warehouse - Foundations
Quiz
•
University
13 questions
Digital Technology Office 365 - 29May2020
Quiz
•
University - Professi...
7 questions
Data mining-Clustering-1
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