DEMO

DEMO

University

5 Qs

quiz-placeholder

Similar activities

TEMA Standards Quiz

TEMA Standards Quiz

University

10 Qs

Section 4.2.5. Separation of Dissolved Liquids PART 2

Section 4.2.5. Separation of Dissolved Liquids PART 2

University

10 Qs

Stack Data Structure Quiz

Stack Data Structure Quiz

University

10 Qs

Exploring the 8086 Microprocessor

Exploring the 8086 Microprocessor

University

10 Qs

Science of Speed

Science of Speed

5th Grade - University

10 Qs

Unit 2: Microcontrollers

Unit 2: Microcontrollers

University

10 Qs

TUTORIAL 4-BEARING_Part A

TUTORIAL 4-BEARING_Part A

University

10 Qs

Aircraft Doors - FA Yr. 1

Aircraft Doors - FA Yr. 1

12th Grade - University

10 Qs

DEMO

DEMO

Assessment

Quiz

Engineering

University

Medium

Created by

Dr. Samuka Mohanty

Used 1+ times

FREE Resource

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)