time and space trade off

Quiz
•
Computers
•
University
•
Medium
Afzan Adam
Used 24+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
which if this is the variety of time and space trade off strategy?
variable time decrease
input enhancement
restructuring input
memory alllocation
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When do we need to consider sacrificing the memory space?
when we need a faster result
when memory is not a problem
When we dont have a powerfull processor
When building an algorithm for a game
3.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
formula for d1 value in bad match table is d(i)=m-index-_____
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Boyer Moore-Horspool algorithm.. (choose correct statements)
uses only 1 table
shift by selecting maximum value between d1 and d2
improves the complexity of Boyer Moore's algorithm
match from left to right (off the pattern)
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Complexity of the brute force string matching algo is?
O(mn)
O(mn)
O(m+n)
O(n)
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Boyer Moore's Worse case complexity is____
O(m+n)
O(m/n)
O(n)
O(n-m)
Similar Resources on Wayground
7 questions
Complexity Analysis Station [2]

Quiz
•
University
10 questions
searching quiz

Quiz
•
University
10 questions
BCSC0006 Trees

Quiz
•
University
10 questions
TDS Lec 7&8

Quiz
•
University
10 questions
Algorithms and algorithmic Complexity

Quiz
•
University
10 questions
CSS TECH TRIVIA - MEDIUM LEVEL

Quiz
•
University
11 questions
Data Structures - Training: Quiz 1

Quiz
•
University
10 questions
Time Complexity

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade