time and space trade off

time and space trade off

University

6 Qs

quiz-placeholder

Similar activities

Semiconductores

Semiconductores

University

10 Qs

UX Design

UX Design

University

10 Qs

Metodología XP

Metodología XP

University

10 Qs

CSE_Chap1

CSE_Chap1

University

10 Qs

Herencia y Paquetes

Herencia y Paquetes

University

10 Qs

Parcial 1, Primera serie

Parcial 1, Primera serie

6th Grade - University

10 Qs

Aprendeu ou disfarçou?

Aprendeu ou disfarçou?

12th Grade - Professional Development

10 Qs

Linkedlist

Linkedlist

University

10 Qs

time and space trade off

time and space trade off

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Afzan Adam

Used 24+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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)