Search Header Logo

DEMO

Authored by Dr. Samuka Mohanty

Engineering

University

Used 1+ times

DEMO
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pushing an element into stack already having five elements and stack size of 5, then stack becomes ___________

Overflow

Crash

Underflow

User flow

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of the postfix expression 6 3 2 4 + – *?

18

-18

20

-20

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?

ABCD

DCBA

ABDC

CDBA

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A LINEAR queue, if implemented using an array of size MAX_SIZE, gets full when?

Rear = MAX_SIZE – 1

Front = (rear + 1) mod MAX_SIZE

Front = rear + 1

Rear = front

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of inserting at the end in dynamic arrays?

O(1)

O(n)

O(logn)

Either O(1) or O(n)

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?