Search Header Logo

CPS02-Day2-NWC -Set01

Authored by CCC info@ccc.training

English

Professional Development

Used 1+ times

CPS02-Day2-NWC -Set01
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a splay operation?

moving parent node to down of child
moving a node to root
moving root to leaf
removing leaf node

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following options is an application of splay trees?

cache Implementation
networks
send values
receive values

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What are splay trees?

self adjusting binary search trees
self adjusting binary trees
a tree with strings
a tree with probability distributions

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following property of splay tree is correct?

it holds probability usage of the respective sub trees
any sequence of j operations starting from an empty tree with h nodes at most, takes O(jlogh) time complexity
sequence of operations with h nodes can take O(logh) time complexity
splay trees are unstable trees

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Why to prefer splay trees?

easier to program
space efficiency
easier to program and faster access to recently accessed items
quick searching

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When we have red-black trees and AVL trees that can perform most of operations in logarithmic times, then what is the need for splay trees?

no there is no special usage
In real time it is estimated that 80% access is only to 20% data, hence most used ones must be easily available
redblack and avl are not upto mark
they are just another type of self balancing binary search trees

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Is it true that splay trees have O(logn) amortized complexity?

true
false

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?