Search Header Logo

ALGORITHMS

Authored by UpW UpW

Computers

Professional Development

Used 1+ times

ALGORITHMS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

WORD CLOUD QUESTION

10 sec • 1 pt

Are stacks FIFO or FILO?

Answer explanation

FILO

2.

WORD CLOUD QUESTION

10 sec • Ungraded

What is the significance of the back pointer in the array representation of a queue?

Answer explanation

Holds the location of the next available space in the queue

3.

WORD CLOUD QUESTION

10 sec • Ungraded

Which function returns the item at the front of a queue without removing it?

Answer explanation

Peek

4.

WORD CLOUD QUESTION

10 sec • Ungraded

What is the purpose of the front pointer in the array representation of a queue?

Answer explanation

Points to the space containing the first item in the queue

5.

WORD CLOUD QUESTION

10 sec • Ungraded

What value is the top pointer initialised to in the array representation of a stack?

Answer explanation

-1

6.

WORD CLOUD QUESTION

45 sec • Ungraded

Give pseudocode for the two functions which add new elements to stacks and queues

Answer explanation

Media Image

7.

WORD CLOUD QUESTION

10 sec • Ungraded

What two pieces of information allow you to analyse an algorithm?

Answer explanation

● Time Complexity

● Space Complexity

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?