Search Header Logo

PDS - 04225 Lists, Stacks and Queues - Chapter 5

Authored by Rafael Orta

Computers

University

Used 285+ times

PDS - 04225 Lists, Stacks and Queues - Chapter 5
AI

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

30 sec • 1 pt

Given a list with items 40, 888, -3, 2, what does GetLength(list) return?

4

Fails

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many nodes will ListSearch visit when searching for 54?

6

7

4

3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many nodes will ListSearch visit when searching for 48?

0

6

3

1

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What value does ListSearch return if the search key is not found?

5

1

null

6

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Each node in a doubly-linked list contains data and _____ pointer(s).

1

2

None

3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given a doubly-linked list with nodes 20, 67 and 11, node 20 is the _____.

Head

Tail

CurPointer

Next

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given a doubly-linked list with nodes 4, 7, 5, 1, node 7's previous pointer points to node _____.

4

5

1

null

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?