Search Header Logo

Array, Linked list, Stack and Queue

Authored by Aziah Binti Abdollah undefined

Computers

University

Used 3+ times

Array, Linked list, Stack and Queue
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following was used for traversal in topological sort

pre-order

post-order

in-order

level order

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

______ will point to the first node in linked list

head

link

node

pointer

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In doubly linked list, each node contains a pointer to _______

the previous node

to the next node

both previous and next node

none of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

______ is one of the advantages using linked list compared to array.

Easy to resize

Cache friendly

Constant time to access elements

All of them

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

______ is the correct time complexity for searching an element in a linked list

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

_____ and _____ are the two nodes in a circular linked list.

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Generate the postfix form from the following infix expression

(2-3+4)*(5+6*7)

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?

Discover more resources for Computers